/src/scnlib/src/scn/impl.h
Line | Count | Source (jump to first uncovered line) |
1 | | // Copyright 2017 Elias Kosunen |
2 | | // |
3 | | // Licensed under the Apache License, Version 2.0 (the "License"); |
4 | | // you may not use this file except in compliance with the License. |
5 | | // You may obtain a copy of the License at |
6 | | // |
7 | | // https://www.apache.org/licenses/LICENSE-2.0 |
8 | | // |
9 | | // Unless required by applicable law or agreed to in writing, software |
10 | | // distributed under the License is distributed on an "AS IS" BASIS, |
11 | | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
12 | | // See the License for the specific language governing permissions and |
13 | | // limitations under the License. |
14 | | // |
15 | | // This file is a part of scnlib: |
16 | | // https://github.com/eliaskosunen/scnlib |
17 | | |
18 | | #pragma once |
19 | | |
20 | | // Transitively includes <scn/scan.h> |
21 | | #include <scn/regex.h> |
22 | | #include <scn/xchar.h> |
23 | | |
24 | | #include <algorithm> |
25 | | #include <clocale> |
26 | | #include <cmath> |
27 | | #include <cwchar> |
28 | | #include <functional> |
29 | | #include <vector> |
30 | | |
31 | | #if SCN_HAS_BITOPS |
32 | | #include <bit> |
33 | | #elif SCN_MSVC |
34 | | #include <IntSafe.h> |
35 | | #include <intrin.h> |
36 | | #elif SCN_POSIX && !SCN_GCC_COMPAT |
37 | | |
38 | | SCN_CLANG_PUSH |
39 | | SCN_CLANG_IGNORE("-Wreserved-id-macro") |
40 | | #define _XOPEN_SOURCE 700 |
41 | | SCN_CLANG_POP |
42 | | |
43 | | #include <strings.h> |
44 | | #endif |
45 | | |
46 | | #if SCN_REGEX_BACKEND == SCN_REGEX_BACKEND_STD |
47 | | #include <regex> |
48 | | #if SCN_REGEX_BOOST_USE_ICU |
49 | | #error "Can't use the ICU with std::regex" |
50 | | #endif |
51 | | #elif SCN_REGEX_BACKEND == SCN_REGEX_BACKEND_BOOST |
52 | | #include <boost/regex.hpp> |
53 | | #if SCN_REGEX_BOOST_USE_ICU |
54 | | #include <boost/regex/icu.hpp> |
55 | | #endif |
56 | | #elif SCN_REGEX_BACKEND == SCN_REGEX_BACKEND_RE2 |
57 | | #include <re2/re2.h> |
58 | | #endif |
59 | | |
60 | | namespace scn { |
61 | | SCN_BEGIN_NAMESPACE |
62 | | |
63 | | ///////////////////////////////////////////////////////////////// |
64 | | // Private ranges stuff |
65 | | ///////////////////////////////////////////////////////////////// |
66 | | |
67 | | namespace ranges { |
68 | | |
69 | | template <typename R> |
70 | | using const_iterator_t = iterator_t<std::add_const_t<R>>; |
71 | | |
72 | | // Like std::ranges::distance, utilizing .position if available |
73 | | namespace detail::distance_ { |
74 | | struct fn { |
75 | | private: |
76 | | template <typename I, typename S> |
77 | | static constexpr auto impl(I i, S s, priority_tag<1>) |
78 | | -> decltype(s.position() - i.position()) |
79 | | { |
80 | | return s.position() - i.position(); |
81 | | } |
82 | | |
83 | | template <typename I, typename S> |
84 | | static constexpr auto impl(I i, S s, priority_tag<0>) |
85 | | -> std::enable_if_t<sized_sentinel_for<S, I>, iter_difference_t<I>> |
86 | 61.8k | { |
87 | 61.8k | return s - i; |
88 | 61.8k | } std::__1::enable_if<sized_sentinel_for<char const*, char const*>, scn::v3::ranges::incrementable_traits<char const*>::difference_type>::type scn::v3::ranges::detail::distance_::fn::impl<char const*, char const*>(char const*, char const*, scn::v3::detail::priority_tag<0ul>) Line | Count | Source | 86 | 58.1k | { | 87 | 58.1k | return s - i; | 88 | 58.1k | } |
std::__1::enable_if<sized_sentinel_for<wchar_t const*, wchar_t const*>, scn::v3::ranges::incrementable_traits<wchar_t const*>::difference_type>::type scn::v3::ranges::detail::distance_::fn::impl<wchar_t const*, wchar_t const*>(wchar_t const*, wchar_t const*, scn::v3::detail::priority_tag<0ul>) Line | Count | Source | 86 | 3.67k | { | 87 | 3.67k | return s - i; | 88 | 3.67k | } |
Unexecuted instantiation: std::__1::enable_if<sized_sentinel_for<std::__1::__wrap_iter<char*>, std::__1::__wrap_iter<char*> >, scn::v3::ranges::incrementable_traits<std::__1::__wrap_iter<char*> >::difference_type>::type scn::v3::ranges::detail::distance_::fn::impl<std::__1::__wrap_iter<char*>, std::__1::__wrap_iter<char*> >(std::__1::__wrap_iter<char*>, std::__1::__wrap_iter<char*>, scn::v3::detail::priority_tag<0ul>) Unexecuted instantiation: std::__1::enable_if<sized_sentinel_for<std::__1::__wrap_iter<wchar_t*>, std::__1::__wrap_iter<wchar_t*> >, scn::v3::ranges::incrementable_traits<std::__1::__wrap_iter<wchar_t*> >::difference_type>::type scn::v3::ranges::detail::distance_::fn::impl<std::__1::__wrap_iter<wchar_t*>, std::__1::__wrap_iter<wchar_t*> >(std::__1::__wrap_iter<wchar_t*>, std::__1::__wrap_iter<wchar_t*>, scn::v3::detail::priority_tag<0ul>) |
89 | | |
90 | | template <typename I, typename S> |
91 | | static constexpr auto impl(I i, S s, priority_tag<0>) |
92 | | -> std::enable_if_t<!sized_sentinel_for<S, I>, iter_difference_t<I>> |
93 | 0 | { |
94 | 0 | iter_difference_t<I> counter{0}; |
95 | 0 | while (i != s) { |
96 | 0 | ++i; |
97 | 0 | ++counter; |
98 | 0 | } |
99 | 0 | return counter; |
100 | 0 | } Unexecuted instantiation: std::__1::enable_if<!(sized_sentinel_for<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >), scn::v3::ranges::incrementable_traits<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::difference_type>::type scn::v3::ranges::detail::distance_::fn::impl<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::detail::priority_tag<0ul>) Unexecuted instantiation: std::__1::enable_if<!(sized_sentinel_for<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::detail::basic_scan_buffer<char>::forward_iterator>), scn::v3::ranges::incrementable_traits<scn::v3::detail::basic_scan_buffer<char>::forward_iterator>::difference_type>::type scn::v3::ranges::detail::distance_::fn::impl<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::detail::basic_scan_buffer<char>::forward_iterator>(scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::detail::priority_tag<0ul>) Unexecuted instantiation: std::__1::enable_if<!(sized_sentinel_for<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> >), scn::v3::ranges::incrementable_traits<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> >::difference_type>::type scn::v3::ranges::detail::distance_::fn::impl<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> >(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::detail::priority_tag<0ul>) Unexecuted instantiation: std::__1::enable_if<!(sized_sentinel_for<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >), scn::v3::ranges::incrementable_traits<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::difference_type>::type scn::v3::ranges::detail::distance_::fn::impl<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::detail::priority_tag<0ul>) Unexecuted instantiation: std::__1::enable_if<!(sized_sentinel_for<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator>), scn::v3::ranges::incrementable_traits<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator>::difference_type>::type scn::v3::ranges::detail::distance_::fn::impl<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator>(scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::detail::priority_tag<0ul>) Unexecuted instantiation: std::__1::enable_if<!(sized_sentinel_for<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> >), scn::v3::ranges::incrementable_traits<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> >::difference_type>::type scn::v3::ranges::detail::distance_::fn::impl<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> >(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::detail::priority_tag<0ul>) |
101 | | |
102 | | public: |
103 | | template <typename I, typename S> |
104 | | constexpr auto operator()(I first, S last) const |
105 | | -> std::enable_if_t<input_or_output_iterator<I> && sentinel_for<S, I>, |
106 | | iter_difference_t<I>> |
107 | 61.8k | { |
108 | 61.8k | return fn::impl(std::move(first), std::move(last), priority_tag<0>{}); |
109 | 61.8k | } std::__1::enable_if<(input_or_output_iterator<char const*>)&&(sentinel_for<char const*, char const*>), scn::v3::ranges::incrementable_traits<char const*>::difference_type>::type scn::v3::ranges::detail::distance_::fn::operator()<char const*, char const*>(char const*, char const*) const Line | Count | Source | 107 | 58.1k | { | 108 | 58.1k | return fn::impl(std::move(first), std::move(last), priority_tag<0>{}); | 109 | 58.1k | } |
std::__1::enable_if<(input_or_output_iterator<wchar_t const*>)&&(sentinel_for<wchar_t const*, wchar_t const*>), scn::v3::ranges::incrementable_traits<wchar_t const*>::difference_type>::type scn::v3::ranges::detail::distance_::fn::operator()<wchar_t const*, wchar_t const*>(wchar_t const*, wchar_t const*) const Line | Count | Source | 107 | 3.67k | { | 108 | 3.67k | return fn::impl(std::move(first), std::move(last), priority_tag<0>{}); | 109 | 3.67k | } |
Unexecuted instantiation: std::__1::enable_if<(input_or_output_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >)&&(sentinel_for<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >), scn::v3::ranges::incrementable_traits<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::difference_type>::type scn::v3::ranges::detail::distance_::fn::operator()<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>) const Unexecuted instantiation: std::__1::enable_if<(input_or_output_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator>)&&(sentinel_for<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::detail::basic_scan_buffer<char>::forward_iterator>), scn::v3::ranges::incrementable_traits<scn::v3::detail::basic_scan_buffer<char>::forward_iterator>::difference_type>::type scn::v3::ranges::detail::distance_::fn::operator()<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::detail::basic_scan_buffer<char>::forward_iterator>(scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::detail::basic_scan_buffer<char>::forward_iterator) const Unexecuted instantiation: std::__1::enable_if<(input_or_output_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> >)&&(sentinel_for<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> >), scn::v3::ranges::incrementable_traits<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> >::difference_type>::type scn::v3::ranges::detail::distance_::fn::operator()<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> >(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>) const Unexecuted instantiation: std::__1::enable_if<(input_or_output_iterator<std::__1::__wrap_iter<char*> >)&&(sentinel_for<std::__1::__wrap_iter<char*>, std::__1::__wrap_iter<char*> >), scn::v3::ranges::incrementable_traits<std::__1::__wrap_iter<char*> >::difference_type>::type scn::v3::ranges::detail::distance_::fn::operator()<std::__1::__wrap_iter<char*>, std::__1::__wrap_iter<char*> >(std::__1::__wrap_iter<char*>, std::__1::__wrap_iter<char*>) const Unexecuted instantiation: std::__1::enable_if<(input_or_output_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >)&&(sentinel_for<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >), scn::v3::ranges::incrementable_traits<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::difference_type>::type scn::v3::ranges::detail::distance_::fn::operator()<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>) const Unexecuted instantiation: std::__1::enable_if<(input_or_output_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator>)&&(sentinel_for<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator>), scn::v3::ranges::incrementable_traits<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator>::difference_type>::type scn::v3::ranges::detail::distance_::fn::operator()<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator>(scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator) const Unexecuted instantiation: std::__1::enable_if<(input_or_output_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> >)&&(sentinel_for<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> >), scn::v3::ranges::incrementable_traits<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> >::difference_type>::type scn::v3::ranges::detail::distance_::fn::operator()<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> >(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>) const Unexecuted instantiation: std::__1::enable_if<(input_or_output_iterator<std::__1::__wrap_iter<wchar_t*> >)&&(sentinel_for<std::__1::__wrap_iter<wchar_t*>, std::__1::__wrap_iter<wchar_t*> >), scn::v3::ranges::incrementable_traits<std::__1::__wrap_iter<wchar_t*> >::difference_type>::type scn::v3::ranges::detail::distance_::fn::operator()<std::__1::__wrap_iter<wchar_t*>, std::__1::__wrap_iter<wchar_t*> >(std::__1::__wrap_iter<wchar_t*>, std::__1::__wrap_iter<wchar_t*>) const |
110 | | }; |
111 | | } // namespace detail::distance_ |
112 | | |
113 | | inline constexpr auto distance = detail::distance_::fn{}; |
114 | | |
115 | | namespace detail { |
116 | | template <typename I, typename = void> |
117 | | struct has_batch_advance : std::false_type {}; |
118 | | template <typename I> |
119 | | struct has_batch_advance<I, |
120 | | std::void_t<decltype(SCN_DECLVAL(I&).batch_advance( |
121 | | SCN_DECLVAL(std::ptrdiff_t)))>> : std::true_type { |
122 | | }; |
123 | | } // namespace detail |
124 | | |
125 | | // std::advance, utilizing .batch_advance if available |
126 | | namespace detail::advance_ { |
127 | | struct fn { |
128 | | private: |
129 | | template <typename T> |
130 | | static constexpr T abs(T t) |
131 | 75.1k | { |
132 | 75.1k | if (t < T{0}) { |
133 | 0 | return -t; |
134 | 0 | } |
135 | 75.1k | return t; |
136 | 75.1k | } |
137 | | |
138 | | template <typename I> |
139 | | static constexpr auto impl(I& i, iter_difference_t<I> n, priority_tag<1>) |
140 | | -> std::enable_if_t<has_batch_advance<I>::value> |
141 | | { |
142 | | i.batch_advance(n); |
143 | | } |
144 | | |
145 | | template <typename I> |
146 | | static constexpr auto impl_i_n(I& i, |
147 | | iter_difference_t<I> n, |
148 | | priority_tag<0>) |
149 | | -> std::enable_if_t<random_access_iterator<I>> |
150 | 88.9k | { |
151 | 88.9k | i += n; |
152 | 88.9k | } std::__1::enable_if<random_access_iterator<char const*>, void>::type scn::v3::ranges::detail::advance_::fn::impl_i_n<char const*>(char const*&, scn::v3::ranges::incrementable_traits<char const*>::difference_type, scn::v3::detail::priority_tag<0ul>) Line | Count | Source | 150 | 83.1k | { | 151 | 83.1k | i += n; | 152 | 83.1k | } |
std::__1::enable_if<random_access_iterator<wchar_t const*>, void>::type scn::v3::ranges::detail::advance_::fn::impl_i_n<wchar_t const*>(wchar_t const*&, scn::v3::ranges::incrementable_traits<wchar_t const*>::difference_type, scn::v3::detail::priority_tag<0ul>) Line | Count | Source | 150 | 5.84k | { | 151 | 5.84k | i += n; | 152 | 5.84k | } |
|
153 | | |
154 | | template <typename I> |
155 | | static constexpr auto impl_i_n(I& i, |
156 | | iter_difference_t<I> n, |
157 | | priority_tag<0>) |
158 | | -> std::enable_if_t<bidirectional_iterator<I> && |
159 | | !random_access_iterator<I>> |
160 | 3.07k | { |
161 | 3.07k | constexpr auto zero = iter_difference_t<I>{0}; |
162 | | |
163 | 3.07k | if (n > zero) { |
164 | 0 | while (n-- > zero) { |
165 | 0 | ++i; |
166 | 0 | } |
167 | 0 | } |
168 | 3.07k | else { |
169 | 3.07k | while (n++ < zero) { |
170 | 0 | --i; |
171 | 0 | } |
172 | 3.07k | } |
173 | 3.07k | } std::__1::enable_if<(bidirectional_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> >)&&(!(random_access_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> >)), void>::type scn::v3::ranges::detail::advance_::fn::impl_i_n<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> >(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>&, scn::v3::ranges::incrementable_traits<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> >::difference_type, scn::v3::detail::priority_tag<0ul>) Line | Count | Source | 160 | 1.18k | { | 161 | 1.18k | constexpr auto zero = iter_difference_t<I>{0}; | 162 | | | 163 | 1.18k | if (n > zero) { | 164 | 0 | while (n-- > zero) { | 165 | 0 | ++i; | 166 | 0 | } | 167 | 0 | } | 168 | 1.18k | else { | 169 | 1.18k | while (n++ < zero) { | 170 | 0 | --i; | 171 | 0 | } | 172 | 1.18k | } | 173 | 1.18k | } |
Unexecuted instantiation: std::__1::enable_if<(bidirectional_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> > >)&&(!(random_access_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> > >)), void>::type scn::v3::ranges::detail::advance_::fn::impl_i_n<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> > >(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> >&, scn::v3::ranges::incrementable_traits<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> > >::difference_type, scn::v3::detail::priority_tag<0ul>) Unexecuted instantiation: std::__1::enable_if<(bidirectional_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> >)&&(!(random_access_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> >)), void>::type scn::v3::ranges::detail::advance_::fn::impl_i_n<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> >(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>&, scn::v3::ranges::incrementable_traits<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> >::difference_type, scn::v3::detail::priority_tag<0ul>) Unexecuted instantiation: std::__1::enable_if<(bidirectional_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> > >)&&(!(random_access_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> > >)), void>::type scn::v3::ranges::detail::advance_::fn::impl_i_n<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> > >(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> >&, scn::v3::ranges::incrementable_traits<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> > >::difference_type, scn::v3::detail::priority_tag<0ul>) std::__1::enable_if<(bidirectional_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> > >)&&(!(random_access_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> > >)), void>::type scn::v3::ranges::detail::advance_::fn::impl_i_n<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> > >(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> >&, scn::v3::ranges::incrementable_traits<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> > >::difference_type, scn::v3::detail::priority_tag<0ul>) Line | Count | Source | 160 | 1.89k | { | 161 | 1.89k | constexpr auto zero = iter_difference_t<I>{0}; | 162 | | | 163 | 1.89k | if (n > zero) { | 164 | 0 | while (n-- > zero) { | 165 | 0 | ++i; | 166 | 0 | } | 167 | 0 | } | 168 | 1.89k | else { | 169 | 1.89k | while (n++ < zero) { | 170 | 0 | --i; | 171 | 0 | } | 172 | 1.89k | } | 173 | 1.89k | } |
Unexecuted instantiation: std::__1::enable_if<(bidirectional_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> > >)&&(!(random_access_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> > >)), void>::type scn::v3::ranges::detail::advance_::fn::impl_i_n<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> > >(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> >&, scn::v3::ranges::incrementable_traits<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> > >::difference_type, scn::v3::detail::priority_tag<0ul>) |
174 | | |
175 | | template <typename I> |
176 | | static constexpr auto impl_i_n(I& i, |
177 | | iter_difference_t<I> n, |
178 | | priority_tag<0>) |
179 | | -> std::enable_if_t<!bidirectional_iterator<I>> |
180 | 0 | { |
181 | 0 | while (n-- > iter_difference_t<I>{0}) { |
182 | 0 | ++i; |
183 | 0 | } |
184 | 0 | } Unexecuted instantiation: std::__1::enable_if<!(bidirectional_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >), void>::type scn::v3::ranges::detail::advance_::fn::impl_i_n<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>&, scn::v3::ranges::incrementable_traits<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::difference_type, scn::v3::detail::priority_tag<0ul>) Unexecuted instantiation: std::__1::enable_if<!(bidirectional_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> > >), void>::type scn::v3::ranges::detail::advance_::fn::impl_i_n<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> > >(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> >&, scn::v3::ranges::incrementable_traits<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> > >::difference_type, scn::v3::detail::priority_tag<0ul>) Unexecuted instantiation: std::__1::enable_if<!(bidirectional_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator>), void>::type scn::v3::ranges::detail::advance_::fn::impl_i_n<scn::v3::detail::basic_scan_buffer<char>::forward_iterator>(scn::v3::detail::basic_scan_buffer<char>::forward_iterator&, scn::v3::ranges::incrementable_traits<scn::v3::detail::basic_scan_buffer<char>::forward_iterator>::difference_type, scn::v3::detail::priority_tag<0ul>) Unexecuted instantiation: std::__1::enable_if<!(bidirectional_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >), void>::type scn::v3::ranges::detail::advance_::fn::impl_i_n<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>&, scn::v3::ranges::incrementable_traits<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::difference_type, scn::v3::detail::priority_tag<0ul>) Unexecuted instantiation: std::__1::enable_if<!(bidirectional_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> > >), void>::type scn::v3::ranges::detail::advance_::fn::impl_i_n<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> > >(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> >&, scn::v3::ranges::incrementable_traits<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> > >::difference_type, scn::v3::detail::priority_tag<0ul>) Unexecuted instantiation: std::__1::enable_if<!(bidirectional_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator>), void>::type scn::v3::ranges::detail::advance_::fn::impl_i_n<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator>(scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator&, scn::v3::ranges::incrementable_traits<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator>::difference_type, scn::v3::detail::priority_tag<0ul>) |
185 | | |
186 | | template <typename I, typename S> |
187 | | static constexpr auto impl_i_s(I& i, S bound, priority_tag<2>) |
188 | | -> std::enable_if_t<std::is_assignable_v<I&, S>> |
189 | 1.74k | { |
190 | 1.74k | i = std::move(bound); |
191 | 1.74k | } _ZN3scn2v36ranges6detail8advance_2fn8impl_i_sIPKcS7_EENSt3__19enable_ifIXsr3stdE15is_assignable_vIRT_T0_EEvE4typeESB_SC_NS0_6detail12priority_tagILm2EEE Line | Count | Source | 189 | 956 | { | 190 | 956 | i = std::move(bound); | 191 | 956 | } |
_ZN3scn2v36ranges6detail8advance_2fn8impl_i_sIPKwS7_EENSt3__19enable_ifIXsr3stdE15is_assignable_vIRT_T0_EEvE4typeESB_SC_NS0_6detail12priority_tagILm2EEE Line | Count | Source | 189 | 788 | { | 190 | 788 | i = std::move(bound); | 191 | 788 | } |
|
192 | | |
193 | | template <typename I, typename S> |
194 | | static constexpr auto impl_i_s(I& i, S bound, priority_tag<1>) |
195 | | -> std::enable_if_t<sized_sentinel_for<S, I>> |
196 | | { |
197 | | fn::impl_i_n(i, bound - i); |
198 | | } |
199 | | |
200 | | template <typename I, typename S> |
201 | | static constexpr void impl_i_s(I& i, S bound, priority_tag<0>) |
202 | 150 | { |
203 | 2.78k | while (i != bound) { |
204 | 2.63k | ++i; |
205 | 2.63k | } |
206 | 150 | } Unexecuted instantiation: void scn::v3::ranges::detail::advance_::fn::impl_i_s<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> >(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>&, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true>, scn::v3::detail::priority_tag<0ul>) void scn::v3::ranges::detail::advance_::fn::impl_i_s<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> >(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>&, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true>, scn::v3::detail::priority_tag<0ul>) Line | Count | Source | 202 | 90 | { | 203 | 1.93k | while (i != bound) { | 204 | 1.84k | ++i; | 205 | 1.84k | } | 206 | 90 | } |
Unexecuted instantiation: void scn::v3::ranges::detail::advance_::fn::impl_i_s<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> >(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>&, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true>, scn::v3::detail::priority_tag<0ul>) void scn::v3::ranges::detail::advance_::fn::impl_i_s<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> >(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>&, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true>, scn::v3::detail::priority_tag<0ul>) Line | Count | Source | 202 | 60 | { | 203 | 846 | while (i != bound) { | 204 | 786 | ++i; | 205 | 786 | } | 206 | 60 | } |
|
207 | | |
208 | | template <typename I, typename S> |
209 | | static constexpr auto impl_i_n_s(I& i, iter_difference_t<I> n, S bound) |
210 | | -> std::enable_if_t<sized_sentinel_for<S, I>, iter_difference_t<I>> |
211 | 37.5k | { |
212 | 37.5k | if (fn::abs(n) >= fn::abs(bound - i)) { |
213 | 66 | auto dist = bound - i; |
214 | 66 | fn::impl_i_s(i, bound, priority_tag<2>{}); |
215 | 66 | return dist; |
216 | 66 | } |
217 | 37.4k | fn::impl_i_n(i, n, priority_tag<1>{}); |
218 | 37.4k | return n; |
219 | 37.5k | } std::__1::enable_if<sized_sentinel_for<char const*, char const*>, scn::v3::ranges::incrementable_traits<char const*>::difference_type>::type scn::v3::ranges::detail::advance_::fn::impl_i_n_s<char const*, char const*>(char const*&, scn::v3::ranges::incrementable_traits<char const*>::difference_type, char const*) Line | Count | Source | 211 | 37.5k | { | 212 | 37.5k | if (fn::abs(n) >= fn::abs(bound - i)) { | 213 | 66 | auto dist = bound - i; | 214 | 66 | fn::impl_i_s(i, bound, priority_tag<2>{}); | 215 | 66 | return dist; | 216 | 66 | } | 217 | 37.4k | fn::impl_i_n(i, n, priority_tag<1>{}); | 218 | 37.4k | return n; | 219 | 37.5k | } |
Unexecuted instantiation: std::__1::enable_if<sized_sentinel_for<wchar_t const*, wchar_t const*>, scn::v3::ranges::incrementable_traits<wchar_t const*>::difference_type>::type scn::v3::ranges::detail::advance_::fn::impl_i_n_s<wchar_t const*, wchar_t const*>(wchar_t const*&, scn::v3::ranges::incrementable_traits<wchar_t const*>::difference_type, wchar_t const*) |
220 | | |
221 | | template <typename I, typename S> |
222 | | static constexpr auto impl_i_n_s(I& i, iter_difference_t<I> n, S bound) |
223 | | -> std::enable_if_t<bidirectional_iterator<I> && |
224 | | !sized_sentinel_for<S, I>, |
225 | | iter_difference_t<I>> |
226 | 3.82k | { |
227 | 3.82k | constexpr iter_difference_t<I> zero{0}; |
228 | 3.82k | iter_difference_t<I> counter{0}; |
229 | | |
230 | 3.82k | if (n < zero) { |
231 | 0 | do { |
232 | 0 | --i; |
233 | 0 | --counter; // Yes, really |
234 | 0 | } while (++n < zero && i != bound); |
235 | 0 | } |
236 | 3.82k | else { |
237 | 13.2k | while (n-- > zero && i != bound) { |
238 | 9.43k | ++i; |
239 | 9.43k | ++counter; |
240 | 9.43k | } |
241 | 3.82k | } |
242 | | |
243 | 3.82k | return counter; |
244 | 3.82k | } Unexecuted instantiation: std::__1::enable_if<(bidirectional_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> > >)&&(!(sized_sentinel_for<scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > > >::sentinel<true>, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> > >)), scn::v3::ranges::incrementable_traits<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> > >::difference_type>::type scn::v3::ranges::detail::advance_::fn::impl_i_n_s<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> >, scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > > >::sentinel<true> >(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> >&, scn::v3::ranges::incrementable_traits<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> > >::difference_type, scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > > >::sentinel<true>) Unexecuted instantiation: std::__1::enable_if<(bidirectional_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> >)&&(!(sized_sentinel_for<scn::v3::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true>, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> >)), scn::v3::ranges::incrementable_traits<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> >::difference_type>::type scn::v3::ranges::detail::advance_::fn::impl_i_n_s<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> >(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>&, scn::v3::ranges::incrementable_traits<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> >::difference_type, scn::v3::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true>) std::__1::enable_if<(bidirectional_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> >)&&(!(sized_sentinel_for<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true>, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> >)), scn::v3::ranges::incrementable_traits<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> >::difference_type>::type scn::v3::ranges::detail::advance_::fn::impl_i_n_s<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> >(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>&, scn::v3::ranges::incrementable_traits<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> >::difference_type, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true>) Line | Count | Source | 226 | 3.10k | { | 227 | 3.10k | constexpr iter_difference_t<I> zero{0}; | 228 | 3.10k | iter_difference_t<I> counter{0}; | 229 | | | 230 | 3.10k | if (n < zero) { | 231 | 0 | do { | 232 | 0 | --i; | 233 | 0 | --counter; // Yes, really | 234 | 0 | } while (++n < zero && i != bound); | 235 | 0 | } | 236 | 3.10k | else { | 237 | 10.4k | while (n-- > zero && i != bound) { | 238 | 7.34k | ++i; | 239 | 7.34k | ++counter; | 240 | 7.34k | } | 241 | 3.10k | } | 242 | | | 243 | 3.10k | return counter; | 244 | 3.10k | } |
Unexecuted instantiation: std::__1::enable_if<(bidirectional_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> > >)&&(!(sized_sentinel_for<scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > > >::sentinel<true>, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> > >)), scn::v3::ranges::incrementable_traits<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> > >::difference_type>::type scn::v3::ranges::detail::advance_::fn::impl_i_n_s<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> >, scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > > >::sentinel<true> >(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> >&, scn::v3::ranges::incrementable_traits<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> > >::difference_type, scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > > >::sentinel<true>) Unexecuted instantiation: std::__1::enable_if<(bidirectional_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> >)&&(!(sized_sentinel_for<scn::v3::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true>, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> >)), scn::v3::ranges::incrementable_traits<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> >::difference_type>::type scn::v3::ranges::detail::advance_::fn::impl_i_n_s<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> >(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>&, scn::v3::ranges::incrementable_traits<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> >::difference_type, scn::v3::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true>) Unexecuted instantiation: std::__1::enable_if<(bidirectional_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> >)&&(!(sized_sentinel_for<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true>, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> >)), scn::v3::ranges::incrementable_traits<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> >::difference_type>::type scn::v3::ranges::detail::advance_::fn::impl_i_n_s<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> >(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>&, scn::v3::ranges::incrementable_traits<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> >::difference_type, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true>) std::__1::enable_if<(bidirectional_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> > >)&&(!(sized_sentinel_for<scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> > >::sentinel<true>, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> > >)), scn::v3::ranges::incrementable_traits<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> > >::difference_type>::type scn::v3::ranges::detail::advance_::fn::impl_i_n_s<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> >, scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> > >::sentinel<true> >(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> >&, scn::v3::ranges::incrementable_traits<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> > >::difference_type, scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> > >::sentinel<true>) Line | Count | Source | 226 | 724 | { | 227 | 724 | constexpr iter_difference_t<I> zero{0}; | 228 | 724 | iter_difference_t<I> counter{0}; | 229 | | | 230 | 724 | if (n < zero) { | 231 | 0 | do { | 232 | 0 | --i; | 233 | 0 | --counter; // Yes, really | 234 | 0 | } while (++n < zero && i != bound); | 235 | 0 | } | 236 | 724 | else { | 237 | 2.81k | while (n-- > zero && i != bound) { | 238 | 2.08k | ++i; | 239 | 2.08k | ++counter; | 240 | 2.08k | } | 241 | 724 | } | 242 | | | 243 | 724 | return counter; | 244 | 724 | } |
Unexecuted instantiation: std::__1::enable_if<(bidirectional_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> > >)&&(!(sized_sentinel_for<scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> > >::sentinel<true>, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> > >)), scn::v3::ranges::incrementable_traits<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> > >::difference_type>::type scn::v3::ranges::detail::advance_::fn::impl_i_n_s<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> >, scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> > >::sentinel<true> >(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> >&, scn::v3::ranges::incrementable_traits<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> > >::difference_type, scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> > >::sentinel<true>) |
245 | | |
246 | | template <typename I, typename S> |
247 | | static constexpr auto impl_i_n_s(I& i, iter_difference_t<I> n, S bound) |
248 | | -> std::enable_if_t<!bidirectional_iterator<I> && |
249 | | !sized_sentinel_for<S, I>, |
250 | | iter_difference_t<I>> |
251 | 0 | { |
252 | 0 | constexpr iter_difference_t<I> zero{0}; |
253 | 0 | iter_difference_t<I> counter{0}; |
254 | |
|
255 | 0 | while (n-- > zero && i != bound) { |
256 | 0 | ++i; |
257 | 0 | ++counter; |
258 | 0 | } |
259 | |
|
260 | 0 | return counter; |
261 | 0 | } Unexecuted instantiation: std::__1::enable_if<(!(bidirectional_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> > >))&&(!(sized_sentinel_for<scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> > >::sentinel<true>, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> > >)), scn::v3::ranges::incrementable_traits<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> > >::difference_type>::type scn::v3::ranges::detail::advance_::fn::impl_i_n_s<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> >, scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> > >::sentinel<true> >(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> >&, scn::v3::ranges::incrementable_traits<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> > >::difference_type, scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> > >::sentinel<true>) Unexecuted instantiation: std::__1::enable_if<(!(bidirectional_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >))&&(!(sized_sentinel_for<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true>, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >)), scn::v3::ranges::incrementable_traits<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::difference_type>::type scn::v3::ranges::detail::advance_::fn::impl_i_n_s<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> >(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>&, scn::v3::ranges::incrementable_traits<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::difference_type, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true>) Unexecuted instantiation: std::__1::enable_if<(!(bidirectional_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator>))&&(!(sized_sentinel_for<scn::v3::ranges::default_sentinel_t, scn::v3::detail::basic_scan_buffer<char>::forward_iterator>)), scn::v3::ranges::incrementable_traits<scn::v3::detail::basic_scan_buffer<char>::forward_iterator>::difference_type>::type scn::v3::ranges::detail::advance_::fn::impl_i_n_s<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>(scn::v3::detail::basic_scan_buffer<char>::forward_iterator&, scn::v3::ranges::incrementable_traits<scn::v3::detail::basic_scan_buffer<char>::forward_iterator>::difference_type, scn::v3::ranges::default_sentinel_t) Unexecuted instantiation: std::__1::enable_if<(!(bidirectional_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> > >))&&(!(sized_sentinel_for<scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> > >::sentinel<true>, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> > >)), scn::v3::ranges::incrementable_traits<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> > >::difference_type>::type scn::v3::ranges::detail::advance_::fn::impl_i_n_s<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> >, scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> > >::sentinel<true> >(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> >&, scn::v3::ranges::incrementable_traits<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> > >::difference_type, scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> > >::sentinel<true>) Unexecuted instantiation: std::__1::enable_if<(!(bidirectional_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >))&&(!(sized_sentinel_for<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true>, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >)), scn::v3::ranges::incrementable_traits<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::difference_type>::type scn::v3::ranges::detail::advance_::fn::impl_i_n_s<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> >(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>&, scn::v3::ranges::incrementable_traits<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::difference_type, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true>) Unexecuted instantiation: std::__1::enable_if<(!(bidirectional_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator>))&&(!(sized_sentinel_for<scn::v3::ranges::default_sentinel_t, scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator>)), scn::v3::ranges::incrementable_traits<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator>::difference_type>::type scn::v3::ranges::detail::advance_::fn::impl_i_n_s<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>(scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator&, scn::v3::ranges::incrementable_traits<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator>::difference_type, scn::v3::ranges::default_sentinel_t) |
262 | | |
263 | | public: |
264 | | template <typename I> |
265 | | constexpr auto operator()(I& i, iter_difference_t<I> n) const |
266 | | -> std::enable_if_t<input_or_output_iterator<I>> |
267 | 54.5k | { |
268 | 54.5k | fn::impl_i_n(i, n, detail::priority_tag<1>{}); |
269 | 54.5k | } std::__1::enable_if<input_or_output_iterator<char const*>, void>::type scn::v3::ranges::detail::advance_::fn::operator()<char const*>(char const*&, scn::v3::ranges::incrementable_traits<char const*>::difference_type) const Line | Count | Source | 267 | 45.6k | { | 268 | 45.6k | fn::impl_i_n(i, n, detail::priority_tag<1>{}); | 269 | 45.6k | } |
std::__1::enable_if<input_or_output_iterator<wchar_t const*>, void>::type scn::v3::ranges::detail::advance_::fn::operator()<wchar_t const*>(wchar_t const*&, scn::v3::ranges::incrementable_traits<wchar_t const*>::difference_type) const Line | Count | Source | 267 | 5.84k | { | 268 | 5.84k | fn::impl_i_n(i, n, detail::priority_tag<1>{}); | 269 | 5.84k | } |
Unexecuted instantiation: std::__1::enable_if<input_or_output_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >, void>::type scn::v3::ranges::detail::advance_::fn::operator()<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>&, scn::v3::ranges::incrementable_traits<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::difference_type) const Unexecuted instantiation: std::__1::enable_if<input_or_output_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> > >, void>::type scn::v3::ranges::detail::advance_::fn::operator()<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> > >(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> >&, scn::v3::ranges::incrementable_traits<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> > >::difference_type) const std::__1::enable_if<input_or_output_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> >, void>::type scn::v3::ranges::detail::advance_::fn::operator()<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> >(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>&, scn::v3::ranges::incrementable_traits<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> >::difference_type) const Line | Count | Source | 267 | 1.18k | { | 268 | 1.18k | fn::impl_i_n(i, n, detail::priority_tag<1>{}); | 269 | 1.18k | } |
Unexecuted instantiation: std::__1::enable_if<input_or_output_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> > >, void>::type scn::v3::ranges::detail::advance_::fn::operator()<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> > >(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> >&, scn::v3::ranges::incrementable_traits<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> > >::difference_type) const Unexecuted instantiation: std::__1::enable_if<input_or_output_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator>, void>::type scn::v3::ranges::detail::advance_::fn::operator()<scn::v3::detail::basic_scan_buffer<char>::forward_iterator>(scn::v3::detail::basic_scan_buffer<char>::forward_iterator&, scn::v3::ranges::incrementable_traits<scn::v3::detail::basic_scan_buffer<char>::forward_iterator>::difference_type) const Unexecuted instantiation: std::__1::enable_if<input_or_output_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >, void>::type scn::v3::ranges::detail::advance_::fn::operator()<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>&, scn::v3::ranges::incrementable_traits<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::difference_type) const Unexecuted instantiation: std::__1::enable_if<input_or_output_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> > >, void>::type scn::v3::ranges::detail::advance_::fn::operator()<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> > >(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> >&, scn::v3::ranges::incrementable_traits<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> > >::difference_type) const Unexecuted instantiation: std::__1::enable_if<input_or_output_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> >, void>::type scn::v3::ranges::detail::advance_::fn::operator()<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> >(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>&, scn::v3::ranges::incrementable_traits<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> >::difference_type) const Unexecuted instantiation: std::__1::enable_if<input_or_output_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> > >, void>::type scn::v3::ranges::detail::advance_::fn::operator()<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> > >(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> >&, scn::v3::ranges::incrementable_traits<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> > >::difference_type) const Unexecuted instantiation: std::__1::enable_if<input_or_output_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator>, void>::type scn::v3::ranges::detail::advance_::fn::operator()<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator>(scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator&, scn::v3::ranges::incrementable_traits<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator>::difference_type) const std::__1::enable_if<input_or_output_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> > >, void>::type scn::v3::ranges::detail::advance_::fn::operator()<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> > >(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> >&, scn::v3::ranges::incrementable_traits<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> > >::difference_type) const Line | Count | Source | 267 | 1.89k | { | 268 | 1.89k | fn::impl_i_n(i, n, detail::priority_tag<1>{}); | 269 | 1.89k | } |
Unexecuted instantiation: std::__1::enable_if<input_or_output_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> > >, void>::type scn::v3::ranges::detail::advance_::fn::operator()<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> > >(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> >&, scn::v3::ranges::incrementable_traits<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> > >::difference_type) const |
270 | | |
271 | | template <typename I, typename S> |
272 | | constexpr auto operator()(I& i, S bound) const |
273 | | -> std::enable_if_t<input_or_output_iterator<I> && sentinel_for<S, I>> |
274 | 1.82k | { |
275 | 1.82k | fn::impl_i_s(i, bound, priority_tag<2>{}); |
276 | 1.82k | } std::__1::enable_if<(input_or_output_iterator<char const*>)&&(sentinel_for<char const*, char const*>), void>::type scn::v3::ranges::detail::advance_::fn::operator()<char const*, char const*>(char const*&, char const*) const Line | Count | Source | 274 | 890 | { | 275 | 890 | fn::impl_i_s(i, bound, priority_tag<2>{}); | 276 | 890 | } |
Unexecuted instantiation: std::__1::enable_if<(input_or_output_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >)&&(sentinel_for<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true>, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >), void>::type scn::v3::ranges::detail::advance_::fn::operator()<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> >(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>&, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true>) const std::__1::enable_if<(input_or_output_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> >)&&(sentinel_for<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true>, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> >), void>::type scn::v3::ranges::detail::advance_::fn::operator()<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> >(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>&, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true>) const Line | Count | Source | 274 | 90 | { | 275 | 90 | fn::impl_i_s(i, bound, priority_tag<2>{}); | 276 | 90 | } |
std::__1::enable_if<(input_or_output_iterator<wchar_t const*>)&&(sentinel_for<wchar_t const*, wchar_t const*>), void>::type scn::v3::ranges::detail::advance_::fn::operator()<wchar_t const*, wchar_t const*>(wchar_t const*&, wchar_t const*) const Line | Count | Source | 274 | 788 | { | 275 | 788 | fn::impl_i_s(i, bound, priority_tag<2>{}); | 276 | 788 | } |
Unexecuted instantiation: std::__1::enable_if<(input_or_output_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >)&&(sentinel_for<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true>, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >), void>::type scn::v3::ranges::detail::advance_::fn::operator()<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> >(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>&, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true>) const std::__1::enable_if<(input_or_output_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> >)&&(sentinel_for<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true>, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> >), void>::type scn::v3::ranges::detail::advance_::fn::operator()<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> >(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>&, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true>) const Line | Count | Source | 274 | 60 | { | 275 | 60 | fn::impl_i_s(i, bound, priority_tag<2>{}); | 276 | 60 | } |
|
277 | | |
278 | | template <typename I, typename S> |
279 | | constexpr auto operator()(I& i, iter_difference_t<I> n, S bound) const |
280 | | -> std::enable_if_t<input_or_output_iterator<I> && sentinel_for<S, I>, |
281 | | iter_difference_t<I>> |
282 | 41.3k | { |
283 | 41.3k | return n - fn::impl_i_n_s(i, n, bound); |
284 | 41.3k | } Unexecuted instantiation: std::__1::enable_if<(input_or_output_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> > >)&&(sentinel_for<scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> > >::sentinel<true>, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> > >), scn::v3::ranges::incrementable_traits<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> > >::difference_type>::type scn::v3::ranges::detail::advance_::fn::operator()<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> >, scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> > >::sentinel<true> >(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> >&, scn::v3::ranges::incrementable_traits<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> > >::difference_type, scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> > >::sentinel<true>) const Unexecuted instantiation: std::__1::enable_if<(input_or_output_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >)&&(sentinel_for<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true>, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >), scn::v3::ranges::incrementable_traits<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::difference_type>::type scn::v3::ranges::detail::advance_::fn::operator()<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> >(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>&, scn::v3::ranges::incrementable_traits<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::difference_type, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true>) const Unexecuted instantiation: std::__1::enable_if<(input_or_output_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> > >)&&(sentinel_for<scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > > >::sentinel<true>, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> > >), scn::v3::ranges::incrementable_traits<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> > >::difference_type>::type scn::v3::ranges::detail::advance_::fn::operator()<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> >, scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > > >::sentinel<true> >(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> >&, scn::v3::ranges::incrementable_traits<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> > >::difference_type, scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > > >::sentinel<true>) const Unexecuted instantiation: std::__1::enable_if<(input_or_output_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> >)&&(sentinel_for<scn::v3::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true>, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> >), scn::v3::ranges::incrementable_traits<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> >::difference_type>::type scn::v3::ranges::detail::advance_::fn::operator()<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> >(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>&, scn::v3::ranges::incrementable_traits<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> >::difference_type, scn::v3::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true>) const std::__1::enable_if<(input_or_output_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> >)&&(sentinel_for<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true>, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> >), scn::v3::ranges::incrementable_traits<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> >::difference_type>::type scn::v3::ranges::detail::advance_::fn::operator()<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> >(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>&, scn::v3::ranges::incrementable_traits<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> >::difference_type, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true>) const Line | Count | Source | 282 | 3.10k | { | 283 | 3.10k | return n - fn::impl_i_n_s(i, n, bound); | 284 | 3.10k | } |
Unexecuted instantiation: std::__1::enable_if<(input_or_output_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator>)&&(sentinel_for<scn::v3::ranges::default_sentinel_t, scn::v3::detail::basic_scan_buffer<char>::forward_iterator>), scn::v3::ranges::incrementable_traits<scn::v3::detail::basic_scan_buffer<char>::forward_iterator>::difference_type>::type scn::v3::ranges::detail::advance_::fn::operator()<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>(scn::v3::detail::basic_scan_buffer<char>::forward_iterator&, scn::v3::ranges::incrementable_traits<scn::v3::detail::basic_scan_buffer<char>::forward_iterator>::difference_type, scn::v3::ranges::default_sentinel_t) const std::__1::enable_if<(input_or_output_iterator<char const*>)&&(sentinel_for<char const*, char const*>), scn::v3::ranges::incrementable_traits<char const*>::difference_type>::type scn::v3::ranges::detail::advance_::fn::operator()<char const*, char const*>(char const*&, scn::v3::ranges::incrementable_traits<char const*>::difference_type, char const*) const Line | Count | Source | 282 | 37.5k | { | 283 | 37.5k | return n - fn::impl_i_n_s(i, n, bound); | 284 | 37.5k | } |
Unexecuted instantiation: std::__1::enable_if<(input_or_output_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> > >)&&(sentinel_for<scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> > >::sentinel<true>, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> > >), scn::v3::ranges::incrementable_traits<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> > >::difference_type>::type scn::v3::ranges::detail::advance_::fn::operator()<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> >, scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> > >::sentinel<true> >(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> >&, scn::v3::ranges::incrementable_traits<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> > >::difference_type, scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> > >::sentinel<true>) const Unexecuted instantiation: std::__1::enable_if<(input_or_output_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >)&&(sentinel_for<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true>, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >), scn::v3::ranges::incrementable_traits<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::difference_type>::type scn::v3::ranges::detail::advance_::fn::operator()<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> >(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>&, scn::v3::ranges::incrementable_traits<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::difference_type, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true>) const Unexecuted instantiation: std::__1::enable_if<(input_or_output_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> > >)&&(sentinel_for<scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > > >::sentinel<true>, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> > >), scn::v3::ranges::incrementable_traits<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> > >::difference_type>::type scn::v3::ranges::detail::advance_::fn::operator()<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> >, scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > > >::sentinel<true> >(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> >&, scn::v3::ranges::incrementable_traits<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> > >::difference_type, scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > > >::sentinel<true>) const Unexecuted instantiation: std::__1::enable_if<(input_or_output_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> >)&&(sentinel_for<scn::v3::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true>, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> >), scn::v3::ranges::incrementable_traits<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> >::difference_type>::type scn::v3::ranges::detail::advance_::fn::operator()<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> >(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>&, scn::v3::ranges::incrementable_traits<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> >::difference_type, scn::v3::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true>) const Unexecuted instantiation: std::__1::enable_if<(input_or_output_iterator<wchar_t const*>)&&(sentinel_for<wchar_t const*, wchar_t const*>), scn::v3::ranges::incrementable_traits<wchar_t const*>::difference_type>::type scn::v3::ranges::detail::advance_::fn::operator()<wchar_t const*, wchar_t const*>(wchar_t const*&, scn::v3::ranges::incrementable_traits<wchar_t const*>::difference_type, wchar_t const*) const Unexecuted instantiation: std::__1::enable_if<(input_or_output_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> >)&&(sentinel_for<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true>, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> >), scn::v3::ranges::incrementable_traits<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> >::difference_type>::type scn::v3::ranges::detail::advance_::fn::operator()<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> >(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>&, scn::v3::ranges::incrementable_traits<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> >::difference_type, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true>) const Unexecuted instantiation: std::__1::enable_if<(input_or_output_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator>)&&(sentinel_for<scn::v3::ranges::default_sentinel_t, scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator>), scn::v3::ranges::incrementable_traits<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator>::difference_type>::type scn::v3::ranges::detail::advance_::fn::operator()<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>(scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator&, scn::v3::ranges::incrementable_traits<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator>::difference_type, scn::v3::ranges::default_sentinel_t) const std::__1::enable_if<(input_or_output_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> > >)&&(sentinel_for<scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> > >::sentinel<true>, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> > >), scn::v3::ranges::incrementable_traits<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> > >::difference_type>::type scn::v3::ranges::detail::advance_::fn::operator()<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> >, scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> > >::sentinel<true> >(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> >&, scn::v3::ranges::incrementable_traits<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> > >::difference_type, scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> > >::sentinel<true>) const Line | Count | Source | 282 | 724 | { | 283 | 724 | return n - fn::impl_i_n_s(i, n, bound); | 284 | 724 | } |
Unexecuted instantiation: std::__1::enable_if<(input_or_output_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> > >)&&(sentinel_for<scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> > >::sentinel<true>, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> > >), scn::v3::ranges::incrementable_traits<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> > >::difference_type>::type scn::v3::ranges::detail::advance_::fn::operator()<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> >, scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> > >::sentinel<true> >(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> >&, scn::v3::ranges::incrementable_traits<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> > >::difference_type, scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> > >::sentinel<true>) const |
285 | | }; |
286 | | } // namespace detail::advance_ |
287 | | |
288 | | inline constexpr auto advance = detail::advance_::fn{}; |
289 | | |
290 | | namespace next_impl { |
291 | | struct fn { |
292 | | template <typename I> |
293 | | constexpr auto operator()(I x) const |
294 | | -> std::enable_if_t<input_or_output_iterator<I>, I> |
295 | 362M | { |
296 | 362M | ++x; |
297 | 362M | return x; |
298 | 362M | } Unexecuted instantiation: std::__1::enable_if<input_or_output_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::type scn::v3::ranges::next_impl::fn::operator()<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>) const Unexecuted instantiation: std::__1::enable_if<input_or_output_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator>, scn::v3::detail::basic_scan_buffer<char>::forward_iterator>::type scn::v3::ranges::next_impl::fn::operator()<scn::v3::detail::basic_scan_buffer<char>::forward_iterator>(scn::v3::detail::basic_scan_buffer<char>::forward_iterator) const std::__1::enable_if<input_or_output_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> >, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> >::type scn::v3::ranges::next_impl::fn::operator()<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> >(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>) const Line | Count | Source | 295 | 1.87k | { | 296 | 1.87k | ++x; | 297 | 1.87k | return x; | 298 | 1.87k | } |
std::__1::enable_if<input_or_output_iterator<char const*>, char const*>::type scn::v3::ranges::next_impl::fn::operator()<char const*>(char const*) const Line | Count | Source | 295 | 34.5k | { | 296 | 34.5k | ++x; | 297 | 34.5k | return x; | 298 | 34.5k | } |
Unexecuted instantiation: std::__1::enable_if<input_or_output_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::type scn::v3::ranges::next_impl::fn::operator()<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>) const Unexecuted instantiation: std::__1::enable_if<input_or_output_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator>, scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator>::type scn::v3::ranges::next_impl::fn::operator()<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator>(scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator) const std::__1::enable_if<input_or_output_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> >, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> >::type scn::v3::ranges::next_impl::fn::operator()<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> >(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>) const Line | Count | Source | 295 | 850 | { | 296 | 850 | ++x; | 297 | 850 | return x; | 298 | 850 | } |
std::__1::enable_if<input_or_output_iterator<wchar_t const*>, wchar_t const*>::type scn::v3::ranges::next_impl::fn::operator()<wchar_t const*>(wchar_t const*) const Line | Count | Source | 295 | 362M | { | 296 | 362M | ++x; | 297 | 362M | return x; | 298 | 362M | } |
|
299 | | |
300 | | template <typename I> |
301 | | constexpr auto operator()(I x, iter_difference_t<I> n) const |
302 | | -> std::enable_if_t<input_or_output_iterator<I>, I> |
303 | 51.4k | { |
304 | 51.4k | ranges::advance(x, n); |
305 | 51.4k | return x; |
306 | 51.4k | } std::__1::enable_if<input_or_output_iterator<char const*>, char const*>::type scn::v3::ranges::next_impl::fn::operator()<char const*>(char const*, scn::v3::ranges::incrementable_traits<char const*>::difference_type) const Line | Count | Source | 303 | 45.6k | { | 304 | 45.6k | ranges::advance(x, n); | 305 | 45.6k | return x; | 306 | 45.6k | } |
std::__1::enable_if<input_or_output_iterator<wchar_t const*>, wchar_t const*>::type scn::v3::ranges::next_impl::fn::operator()<wchar_t const*>(wchar_t const*, scn::v3::ranges::incrementable_traits<wchar_t const*>::difference_type) const Line | Count | Source | 303 | 5.84k | { | 304 | 5.84k | ranges::advance(x, n); | 305 | 5.84k | return x; | 306 | 5.84k | } |
Unexecuted instantiation: std::__1::enable_if<input_or_output_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::type scn::v3::ranges::next_impl::fn::operator()<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::ranges::incrementable_traits<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::difference_type) const Unexecuted instantiation: std::__1::enable_if<input_or_output_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> > >, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> > >::type scn::v3::ranges::next_impl::fn::operator()<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> > >(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> >, scn::v3::ranges::incrementable_traits<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> > >::difference_type) const Unexecuted instantiation: std::__1::enable_if<input_or_output_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> >, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> >::type scn::v3::ranges::next_impl::fn::operator()<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> >(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::ranges::incrementable_traits<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> >::difference_type) const Unexecuted instantiation: std::__1::enable_if<input_or_output_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> > >, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> > >::type scn::v3::ranges::next_impl::fn::operator()<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> > >(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> >, scn::v3::ranges::incrementable_traits<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> > >::difference_type) const Unexecuted instantiation: std::__1::enable_if<input_or_output_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator>, scn::v3::detail::basic_scan_buffer<char>::forward_iterator>::type scn::v3::ranges::next_impl::fn::operator()<scn::v3::detail::basic_scan_buffer<char>::forward_iterator>(scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::incrementable_traits<scn::v3::detail::basic_scan_buffer<char>::forward_iterator>::difference_type) const Unexecuted instantiation: std::__1::enable_if<input_or_output_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::type scn::v3::ranges::next_impl::fn::operator()<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::ranges::incrementable_traits<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::difference_type) const Unexecuted instantiation: std::__1::enable_if<input_or_output_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> > >, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> > >::type scn::v3::ranges::next_impl::fn::operator()<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> > >(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> >, scn::v3::ranges::incrementable_traits<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> > >::difference_type) const Unexecuted instantiation: std::__1::enable_if<input_or_output_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> >, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> >::type scn::v3::ranges::next_impl::fn::operator()<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> >(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::ranges::incrementable_traits<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> >::difference_type) const Unexecuted instantiation: std::__1::enable_if<input_or_output_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> > >, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> > >::type scn::v3::ranges::next_impl::fn::operator()<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> > >(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> >, scn::v3::ranges::incrementable_traits<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> > >::difference_type) const Unexecuted instantiation: std::__1::enable_if<input_or_output_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator>, scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator>::type scn::v3::ranges::next_impl::fn::operator()<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator>(scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::incrementable_traits<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator>::difference_type) const Unexecuted instantiation: std::__1::enable_if<input_or_output_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> > >, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> > >::type scn::v3::ranges::next_impl::fn::operator()<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> > >(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> >, scn::v3::ranges::incrementable_traits<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> > >::difference_type) const Unexecuted instantiation: std::__1::enable_if<input_or_output_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> > >, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> > >::type scn::v3::ranges::next_impl::fn::operator()<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> > >(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> >, scn::v3::ranges::incrementable_traits<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> > >::difference_type) const |
307 | | |
308 | | template <typename I, typename S> |
309 | | constexpr auto operator()(I x, S bound) const |
310 | | -> std::enable_if_t<input_or_output_iterator<I> && sentinel_for<S, I>, |
311 | | I> |
312 | 1.82k | { |
313 | 1.82k | ranges::advance(x, bound); |
314 | 1.82k | return x; |
315 | 1.82k | } std::__1::enable_if<(input_or_output_iterator<char const*>)&&(sentinel_for<char const*, char const*>), char const*>::type scn::v3::ranges::next_impl::fn::operator()<char const*, char const*>(char const*, char const*) const Line | Count | Source | 312 | 890 | { | 313 | 890 | ranges::advance(x, bound); | 314 | 890 | return x; | 315 | 890 | } |
Unexecuted instantiation: std::__1::enable_if<(input_or_output_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >)&&(sentinel_for<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true>, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >), scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::type scn::v3::ranges::next_impl::fn::operator()<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> >(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true>) const std::__1::enable_if<(input_or_output_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> >)&&(sentinel_for<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true>, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> >), scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> >::type scn::v3::ranges::next_impl::fn::operator()<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> >(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true>) const Line | Count | Source | 312 | 90 | { | 313 | 90 | ranges::advance(x, bound); | 314 | 90 | return x; | 315 | 90 | } |
std::__1::enable_if<(input_or_output_iterator<wchar_t const*>)&&(sentinel_for<wchar_t const*, wchar_t const*>), wchar_t const*>::type scn::v3::ranges::next_impl::fn::operator()<wchar_t const*, wchar_t const*>(wchar_t const*, wchar_t const*) const Line | Count | Source | 312 | 788 | { | 313 | 788 | ranges::advance(x, bound); | 314 | 788 | return x; | 315 | 788 | } |
Unexecuted instantiation: std::__1::enable_if<(input_or_output_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >)&&(sentinel_for<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true>, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >), scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::type scn::v3::ranges::next_impl::fn::operator()<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> >(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true>) const std::__1::enable_if<(input_or_output_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> >)&&(sentinel_for<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true>, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> >), scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> >::type scn::v3::ranges::next_impl::fn::operator()<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> >(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true>) const Line | Count | Source | 312 | 60 | { | 313 | 60 | ranges::advance(x, bound); | 314 | 60 | return x; | 315 | 60 | } |
|
316 | | |
317 | | template <typename I, typename S> |
318 | | constexpr auto operator()(I x, iter_difference_t<I> n, S bound) const |
319 | | -> std::enable_if_t<input_or_output_iterator<I> && sentinel_for<S, I>, |
320 | | I> |
321 | | { |
322 | | ranges::advance(x, n, bound); |
323 | | return x; |
324 | | } |
325 | | }; |
326 | | } // namespace next_impl |
327 | | |
328 | | inline constexpr next_impl::fn next{}; |
329 | | |
330 | | // prev, for forward_iterators |
331 | | namespace detail::prev_backtrack_ { |
332 | | struct fn { |
333 | | private: |
334 | | template <typename It> |
335 | | static constexpr auto impl(It it, It, priority_tag<2>) |
336 | | -> std::enable_if_t<bidirectional_iterator<It>, It> |
337 | | { |
338 | | --it; |
339 | | return it; |
340 | | } |
341 | | |
342 | | template <typename It> |
343 | | static constexpr auto impl(It it, It beg, priority_tag<1>) |
344 | | -> remove_cvref_t<decltype((void)beg.batch_advance(42), it)> |
345 | | { |
346 | | return beg.batch_advance(it.position() - 1); |
347 | | } |
348 | | |
349 | | template <typename It> |
350 | | static constexpr auto impl(It it, It beg, priority_tag<0>) |
351 | | -> std::enable_if_t<forward_iterator<It>, It> |
352 | | { |
353 | | SCN_EXPECT(it != beg); |
354 | | |
355 | | while (true) { |
356 | | auto tmp = beg; |
357 | | ++beg; |
358 | | if (beg == it) { |
359 | | return tmp; |
360 | | } |
361 | | } |
362 | | } |
363 | | |
364 | | public: |
365 | | template <typename It> |
366 | | constexpr auto operator()(It it, It beg) const |
367 | | -> decltype(fn::impl(it, beg, priority_tag<2>{})) |
368 | | { |
369 | | return fn::impl(it, beg, priority_tag<2>{}); |
370 | | } |
371 | | }; |
372 | | } // namespace detail::prev_backtrack_ |
373 | | |
374 | | inline constexpr auto prev_backtrack = detail::prev_backtrack_::fn{}; |
375 | | |
376 | | // operator<, for forward_iterators |
377 | | namespace detail::less_backtrack_ { |
378 | | struct fn { |
379 | | private: |
380 | | template <typename It> |
381 | | static constexpr auto impl(It lhs, It rhs, It, priority_tag<2>) |
382 | | -> decltype(static_cast<void>(lhs < rhs), true) |
383 | | { |
384 | | return lhs < rhs; |
385 | | } |
386 | | |
387 | | template <typename It> |
388 | | static constexpr auto impl(It lhs, It rhs, It, priority_tag<1>) |
389 | | -> decltype(static_cast<void>(lhs.position() < rhs.position()), true) |
390 | | { |
391 | | return lhs.position() < rhs.position(); |
392 | | } |
393 | | |
394 | | template <typename It> |
395 | | static constexpr auto impl(It lhs, It rhs, It beg, priority_tag<0>) |
396 | | -> std::enable_if_t<ranges::forward_iterator<It>, bool> |
397 | | { |
398 | | while (true) { |
399 | | if (beg == rhs) { |
400 | | return false; |
401 | | } |
402 | | if (beg == lhs) { |
403 | | return true; |
404 | | } |
405 | | ++beg; |
406 | | } |
407 | | } |
408 | | |
409 | | public: |
410 | | template <typename It> |
411 | | constexpr auto operator()(It lhs, It rhs, It beg) const |
412 | | -> decltype(fn::impl(lhs, rhs, beg, priority_tag<2>{})) |
413 | | { |
414 | | return fn::impl(lhs, rhs, beg, priority_tag<2>{}); |
415 | | } |
416 | | }; |
417 | | } // namespace detail::less_backtrack_ |
418 | | |
419 | | inline constexpr auto less_backtrack = detail::less_backtrack_::fn{}; |
420 | | |
421 | | } // namespace ranges |
422 | | |
423 | | ///////////////////////////////////////////////////////////////// |
424 | | // ASCII-only locale-free <cctype> |
425 | | ///////////////////////////////////////////////////////////////// |
426 | | |
427 | | namespace impl { |
428 | | inline constexpr std::array<bool, 256> is_ascii_space_lookup = { |
429 | | {false, false, false, false, false, false, false, false, false, true, |
430 | | true, true, true, true, false, false, false, false, false, false, |
431 | | false, false, false, false, false, false, false, false, false, false, |
432 | | false, false, true, false, false, false, false, false, false, false, |
433 | | false, false, false, false, false, false, false, false, false, false, |
434 | | false, false, false, false, false, false, false, false, false, false, |
435 | | false, false, false, false, false, false, false, false, false, false, |
436 | | false, false, false, false, false, false, false, false, false, false, |
437 | | false, false, false, false, false, false, false, false, false, false, |
438 | | false, false, false, false, false, false, false, false, false, false, |
439 | | false, false, false, false, false, false, false, false, false, false, |
440 | | false, false, false, false, false, false, false, false, false, false, |
441 | | false, false, false, false, false, false, false, false, false, false, |
442 | | false, false, false, false, false, false, false, false, false, false, |
443 | | false, false, false, false, false, false, false, false, false, false, |
444 | | false, false, false, false, false, false, false, false, false, false, |
445 | | false, false, false, false, false, false, false, false, false, false, |
446 | | false, false, false, false, false, false, false, false, false, false, |
447 | | false, false, false, false, false, false, false, false, false, false, |
448 | | false, false, false, false, false, false, false, false, false, false, |
449 | | false, false, false, false, false, false, false, false, false, false, |
450 | | false, false, false, false, false, false, false, false, false, false, |
451 | | false, false, false, false, false, false, false, false, false, false, |
452 | | false, false, false, false, false, false, false, false, false, false, |
453 | | false, false, false, false, false, false, false, false, false, false, |
454 | | false, false, false, false, false, false}}; |
455 | | |
456 | | constexpr bool is_ascii_space(char ch) noexcept |
457 | 35.3k | { |
458 | 35.3k | return is_ascii_space_lookup[static_cast<size_t>( |
459 | 35.3k | static_cast<unsigned char>(ch))]; |
460 | 35.3k | } |
461 | | |
462 | | constexpr bool is_ascii_space(wchar_t ch) noexcept |
463 | 0 | { |
464 | 0 | return ch == 0x20 || (ch >= 0x09 && ch <= 0x0d); |
465 | 0 | } |
466 | | |
467 | | constexpr bool is_ascii_char(char ch) noexcept |
468 | 267k | { |
469 | 267k | return static_cast<unsigned char>(ch) <= 127; |
470 | 267k | } |
471 | | |
472 | | constexpr bool is_ascii_char(wchar_t ch) noexcept |
473 | 1.53k | { |
474 | 1.53k | #if WCHAR_MIN < 0 |
475 | 1.53k | return ch >= 0 && ch <= 127; |
476 | | #else |
477 | | return ch <= 127; |
478 | | #endif |
479 | 1.53k | } |
480 | | |
481 | | constexpr bool is_ascii_char(char32_t cp) noexcept |
482 | 290k | { |
483 | 290k | return cp <= 127; |
484 | 290k | } |
485 | | |
486 | | ///////////////////////////////////////////////////////////////// |
487 | | // <bits> |
488 | | ///////////////////////////////////////////////////////////////// |
489 | | |
490 | | inline int count_trailing_zeroes(uint64_t val) |
491 | 0 | { |
492 | 0 | SCN_EXPECT(val != 0); |
493 | 0 | #if SCN_HAS_BITOPS |
494 | 0 | return std::countr_zero(val); |
495 | 0 | #elif SCN_GCC_COMPAT |
496 | 0 | return __builtin_ctzll(val); |
497 | 0 | #elif SCN_MSVC && SCN_WINDOWS_64BIT |
498 | 0 | DWORD ret{}; |
499 | 0 | _BitScanForward64(&ret, val); |
500 | 0 | return static_cast<int>(ret); |
501 | 0 | #elif SCN_MSVC && !SCN_WINDOWS_64BIT |
502 | 0 | DWORD ret{}; |
503 | 0 | if (_BitScanForward(&ret, static_cast<uint32_t>(val))) { |
504 | 0 | return static_cast<int>(ret); |
505 | 0 | } |
506 | 0 |
|
507 | 0 | _BitScanForward(&ret, static_cast<uint32_t>(val >> 32)); |
508 | 0 | return static_cast<int>(ret + 32); |
509 | 0 | #elif SCN_POSIX |
510 | 0 | return ::ctzll(val); |
511 | 0 | #else |
512 | 0 | #define SCN_HAS_BITS_CTZ 0 |
513 | 0 | SCN_EXPECT(false); |
514 | 0 | SCN_UNREACHABLE; |
515 | 0 | #endif |
516 | 0 | } |
517 | | |
518 | | #ifndef SCN_HAS_BITS_CTZ |
519 | | #define SCN_HAS_BITS_CTZ 1 |
520 | | #endif |
521 | | |
522 | | constexpr uint64_t has_zero_byte(uint64_t word) |
523 | 0 | { |
524 | 0 | return (word - 0x0101010101010101ull) & ~word & 0x8080808080808080ull; |
525 | 0 | } |
526 | | |
527 | | constexpr uint64_t has_byte_between(uint64_t word, uint8_t a, uint8_t b) |
528 | 0 | { |
529 | 0 | const auto m = static_cast<uint64_t>(a) - 1, |
530 | 0 | n = static_cast<uint64_t>(b) + 1; |
531 | 0 | return (((~0ull / 255 * (127 + (n)) - ((word) & ~0ull / 255 * 127)) & |
532 | 0 | ~(word) & |
533 | 0 | (((word) & ~0ull / 255 * 127) + ~0ull / 255 * (127 - (m)))) & |
534 | 0 | (~0ull / 255 * 128)); |
535 | 0 | } |
536 | | |
537 | | constexpr uint64_t has_byte_greater(uint64_t word, uint8_t n) |
538 | 30.3k | { |
539 | 30.3k | return (word + ~0ull / 255 * (127 - n) | word) & ~0ull / 255 * 128; |
540 | 30.3k | } |
541 | | |
542 | | inline size_t get_index_of_first_nonmatching_byte(uint64_t word) |
543 | 0 | { |
544 | 0 | word ^= 0x8080808080808080ull; |
545 | 0 | if (word == 0) { |
546 | 0 | return 8; |
547 | 0 | } |
548 | 0 | return static_cast<size_t>(count_trailing_zeroes(word)) / 8; |
549 | 0 | } |
550 | | |
551 | | inline size_t get_index_of_first_matching_byte(uint64_t word, uint64_t pattern) |
552 | 0 | { |
553 | 0 | constexpr auto mask = 0x7f7f7f7f7f7f7f7full; |
554 | 0 | auto input = word ^ pattern; |
555 | 0 | auto tmp = (input & mask) + mask; |
556 | 0 | tmp = ~(tmp | input | mask); |
557 | 0 | return static_cast<size_t>(count_trailing_zeroes(tmp)) / 8; |
558 | 0 | } |
559 | | |
560 | | constexpr uint32_t log2_fast(uint32_t val) |
561 | 0 | { |
562 | 0 | constexpr uint8_t lookup[] = {0, 9, 1, 10, 13, 21, 2, 29, 11, 14, 16, |
563 | 0 | 18, 22, 25, 3, 30, 8, 12, 20, 28, 15, 17, |
564 | 0 | 24, 7, 19, 27, 23, 6, 26, 5, 4, 31}; |
565 | 0 |
|
566 | 0 | val |= val >> 1; |
567 | 0 | val |= val >> 2; |
568 | 0 | val |= val >> 4; |
569 | 0 | val |= val >> 8; |
570 | 0 | val |= val >> 16; |
571 | 0 |
|
572 | 0 | return static_cast<uint32_t>(lookup[(val * 0x07c4acddu) >> 27]); |
573 | 0 | } |
574 | | |
575 | | constexpr uint32_t log2_pow2_fast(uint32_t val) |
576 | 0 | { |
577 | 0 | constexpr uint8_t lookup[] = {0, 1, 28, 2, 29, 14, 24, 3, 30, 22, 20, |
578 | 0 | 15, 25, 17, 4, 8, 31, 27, 13, 23, 21, 19, |
579 | 0 | 16, 7, 26, 12, 18, 6, 11, 5, 10, 9}; |
580 | 0 |
|
581 | 0 | return static_cast<uint32_t>(lookup[(val * 0x077cb531u) >> 27]); |
582 | 0 | } |
583 | | |
584 | | constexpr uint64_t byteswap(uint64_t val) |
585 | 0 | { |
586 | 0 | return (val & 0xFF00000000000000) >> 56 | (val & 0x00FF000000000000) >> 40 | |
587 | 0 | (val & 0x0000FF0000000000) >> 24 | (val & 0x000000FF00000000) >> 8 | |
588 | 0 | (val & 0x00000000FF000000) << 8 | (val & 0x0000000000FF0000) << 24 | |
589 | 0 | (val & 0x000000000000FF00) << 40 | (val & 0x00000000000000FF) << 56; |
590 | 0 | } |
591 | | |
592 | | ///////////////////////////////////////////////////////////////// |
593 | | // <function_ref> |
594 | | ///////////////////////////////////////////////////////////////// |
595 | | |
596 | | namespace fnref_detail { |
597 | | template <class T> |
598 | | inline constexpr auto select_param_type = [] { |
599 | | if constexpr (std::is_trivially_copyable_v<T>) { |
600 | | return detail::type_identity<T>(); |
601 | | } |
602 | | else { |
603 | | return std::add_rvalue_reference<T>(); |
604 | | } |
605 | | }; |
606 | | |
607 | | template <class T> |
608 | | using param_t = |
609 | | typename std::invoke_result_t<decltype(select_param_type<T>)>::type; |
610 | | |
611 | | template <typename Sig> |
612 | | struct qual_fn_sig; |
613 | | |
614 | | template <typename R, typename... Args> |
615 | | struct qual_fn_sig<R(Args...)> { |
616 | | using function = R(Args...); |
617 | | |
618 | | static constexpr bool is_noexcept = false; |
619 | | |
620 | | template <typename... T> |
621 | | static constexpr bool is_invocable_using = |
622 | | std::is_invocable_r_v<R, T..., Args...>; |
623 | | |
624 | | template <typename T> |
625 | | using cv = T; |
626 | | }; |
627 | | |
628 | | template <typename R, typename... Args> |
629 | | struct qual_fn_sig<R(Args...) noexcept> { |
630 | | using function = R(Args...); |
631 | | |
632 | | static constexpr bool is_noexcept = true; |
633 | | |
634 | | template <typename... T> |
635 | | static constexpr bool is_invocable_using = |
636 | | std::is_nothrow_invocable_r_v<R, T..., Args...>; |
637 | | |
638 | | template <typename T> |
639 | | using cv = T; |
640 | | }; |
641 | | |
642 | | template <typename R, typename... Args> |
643 | | struct qual_fn_sig<R(Args...) const> : qual_fn_sig<R(Args...)> { |
644 | | template <typename T> |
645 | | using cv = T const; |
646 | | }; |
647 | | |
648 | | template <typename R, typename... Args> |
649 | | struct qual_fn_sig<R(Args...) const noexcept> |
650 | | : qual_fn_sig<R(Args...) noexcept> { |
651 | | template <typename T> |
652 | | using cv = T const; |
653 | | }; |
654 | | |
655 | | struct base { |
656 | | union storage { |
657 | | constexpr storage() = default; |
658 | | |
659 | | template <typename T, std::enable_if_t<std::is_object_v<T>>* = nullptr> |
660 | 421k | constexpr explicit storage(T* p) noexcept : m_p(p) |
661 | 421k | { |
662 | 421k | } _ZN3scn2v34impl12fnref_detail4base7storageC2INSt3__110__not_fn_tINS1_12function_refIFbcES9_EEEETnPNS6_9enable_ifIXsr3stdE11is_object_vIT_EEvE4typeELPv0EEEPSD_ Line | Count | Source | 660 | 3.52k | constexpr explicit storage(T* p) noexcept : m_p(p) | 661 | 3.52k | { | 662 | 3.52k | } |
_ZN3scn2v34impl12fnref_detail4base7storageC2INSt3__110__not_fn_tINS1_12function_refIFbDiES9_EEEETnPNS6_9enable_ifIXsr3stdE11is_object_vIT_EEvE4typeELPv0EEEPSD_ Line | Count | Source | 660 | 192k | constexpr explicit storage(T* p) noexcept : m_p(p) | 661 | 192k | { | 662 | 192k | } |
Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_24read_while_classic_spaceINS1_15take_width_viewINS7_INS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS8_18default_sentinel_tEEEEEEEEEDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESM_EUlDiE_TnPNSK_9enable_ifIXsr3stdE11is_object_vISM_EEvE4typeELPv0EEEPSM_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_24read_while_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS8_18default_sentinel_tEEEEEEEDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESL_EUlDiE_TnPNSJ_9enable_ifIXsr3stdE11is_object_vISL_EEvE4typeELPv0EEEPSL_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_34parse_integer_digits_without_thsepINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS7_18default_sentinel_tEEENS1_15take_width_viewINSA_ISG_SH_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESS_iEUlcE_TnPNSQ_9enable_ifIXsr3stdE11is_object_vISS_EEvE4typeELPv0EEEPSS_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_34parse_integer_digits_without_thsepINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS7_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_iEUlcE_TnPNSI_9enable_ifIXsr3stdE11is_object_vISK_EEvE4typeELPv0EEEPSK_ _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_20calculate_text_widthIcEEmNSt3__117basic_string_viewIT_NS7_11char_traitsIS9_EEEEEUlDiE_TnPNS7_9enable_ifIXsr3stdE11is_object_vIS9_EEvE4typeELPv0EEEPS9_ Line | Count | Source | 660 | 23.4k | constexpr explicit storage(T* p) noexcept : m_p(p) | 661 | 23.4k | { | 662 | 23.4k | } |
Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_24read_while_classic_spaceINS1_15take_width_viewINS7_INSt3__117basic_string_viewIcNS8_11char_traitsIcEEEEEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS8_9add_constIT_E4typeEEEEESH_EUlDiE_TnPNS8_9enable_ifIXsr3stdE11is_object_vISH_EEvE4typeELPv0EEEPSH_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_24read_while_classic_spaceINS1_15take_width_viewINSt3__117basic_string_viewIcNS8_11char_traitsIcEEEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS8_9add_constIT_E4typeEEEEESG_EUlDiE_TnPNS8_9enable_ifIXsr3stdE11is_object_vISG_EEvE4typeELPv0EEEPSG_ _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_34parse_integer_digits_without_thsepINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSE_EENS1_15take_width_viewINSA_ISE_SE_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESP_iEUlcE_TnPNSN_9enable_ifIXsr3stdE11is_object_vISP_EEvE4typeELPv0EEEPSP_ Line | Count | Source | 660 | 778 | constexpr explicit storage(T* p) noexcept : m_p(p) | 661 | 778 | { | 662 | 778 | } |
_ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_24read_while_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSD_EEEEEEDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESI_EUlDiE_TnPNSG_9enable_ifIXsr3stdE11is_object_vISI_EEvE4typeELPv0EEEPSI_ Line | Count | Source | 660 | 468 | constexpr explicit storage(T* p) noexcept : m_p(p) | 661 | 468 | { | 662 | 468 | } |
Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_12float_readerIcE8read_nanINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEENS1_15take_width_viewINSC_ISI_SJ_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_EUlcE_TnPNSS_9enable_ifIXsr3stdE11is_object_vISU_EEvE4typeELPv0EEEPSU_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_12float_readerIcE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEENS1_15take_width_viewINSC_ISI_SJ_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_bEUlcE_TnPNSS_9enable_ifIXsr3stdE11is_object_vISU_EEvE4typeELPv0EEEPSU_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_12float_readerIcE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEENS1_15take_width_viewINSC_ISI_SJ_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_bEUlcE0_TnPNSS_9enable_ifIXsr3stdE11is_object_vISU_EEvE4typeELPv0EEEPSU_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_12float_readerIcE13read_exponentINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEENS1_15take_width_viewINSC_ISI_SJ_EEE8sentinelILb1EEEEEEEDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEST_NSR_17basic_string_viewIcNSR_11char_traitsIcEEEEEUlcE_TnPNSR_9enable_ifIXsr3stdE11is_object_vIST_EEvE4typeELPv0EEEPST_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_12float_readerIcE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEENS1_15take_width_viewINSC_ISI_SJ_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_bEUlcE_TnPNSS_9enable_ifIXsr3stdE11is_object_vISU_EEvE4typeELPv0EEEPSU_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_12float_readerIcE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEENS1_15take_width_viewINSC_ISI_SJ_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_bEUlcE0_TnPNSS_9enable_ifIXsr3stdE11is_object_vISU_EEvE4typeELPv0EEEPSU_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENSA_18default_sentinel_tEEEEEfEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_RKNSE_12format_specsERT0_NSE_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E_TnPNSM_9enable_ifIXsr3stdE11is_object_vISO_EEvE4typeELPv0EEEPSO_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENSA_18default_sentinel_tEEEEEfEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_RKNSE_12format_specsERT0_NSE_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E0_TnPNSM_9enable_ifIXsr3stdE11is_object_vISO_EEvE4typeELPv0EEEPSO_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_12float_readerIcE8read_nanINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_EUlcE_TnPNSK_9enable_ifIXsr3stdE11is_object_vISM_EEvE4typeELPv0EEEPSM_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_12float_readerIcE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_bEUlcE_TnPNSK_9enable_ifIXsr3stdE11is_object_vISM_EEvE4typeELPv0EEEPSM_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_12float_readerIcE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_bEUlcE0_TnPNSK_9enable_ifIXsr3stdE11is_object_vISM_EEvE4typeELPv0EEEPSM_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_12float_readerIcE13read_exponentINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEEEDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESL_NSJ_17basic_string_viewIcNSJ_11char_traitsIcEEEEEUlcE_TnPNSJ_9enable_ifIXsr3stdE11is_object_vISL_EEvE4typeELPv0EEEPSL_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_12float_readerIcE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_bEUlcE_TnPNSK_9enable_ifIXsr3stdE11is_object_vISM_EEvE4typeELPv0EEEPSM_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_12float_readerIcE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_bEUlcE0_TnPNSK_9enable_ifIXsr3stdE11is_object_vISM_EEvE4typeELPv0EEEPSM_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIcE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEfEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_RKNSD_12format_specsERT0_NSD_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E_TnPNSK_9enable_ifIXsr3stdE11is_object_vISM_EEvE4typeELPv0EEEPSM_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIcE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEfEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_RKNSD_12format_specsERT0_NSD_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E0_TnPNSK_9enable_ifIXsr3stdE11is_object_vISM_EEvE4typeELPv0EEEPSM_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_12float_readerIcE8read_nanINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSG_EENS1_15take_width_viewINSC_ISG_SG_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_EUlcE_TnPNSP_9enable_ifIXsr3stdE11is_object_vISR_EEvE4typeELPv0EEEPSR_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_12float_readerIcE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSG_EENS1_15take_width_viewINSC_ISG_SG_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_bEUlcE_TnPNSP_9enable_ifIXsr3stdE11is_object_vISR_EEvE4typeELPv0EEEPSR_ _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_12float_readerIcE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSG_EENS1_15take_width_viewINSC_ISG_SG_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_bEUlcE0_TnPNSP_9enable_ifIXsr3stdE11is_object_vISR_EEvE4typeELPv0EEEPSR_ Line | Count | Source | 660 | 4 | constexpr explicit storage(T* p) noexcept : m_p(p) | 661 | 4 | { | 662 | 4 | } |
Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_12float_readerIcE13read_exponentINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSG_EENS1_15take_width_viewINSC_ISG_SG_EEE8sentinelILb1EEEEEEEDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESQ_NSO_17basic_string_viewIcNSO_11char_traitsIcEEEEEUlcE_TnPNSO_9enable_ifIXsr3stdE11is_object_vISQ_EEvE4typeELPv0EEEPSQ_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_12float_readerIcE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSG_EENS1_15take_width_viewINSC_ISG_SG_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_bEUlcE_TnPNSP_9enable_ifIXsr3stdE11is_object_vISR_EEvE4typeELPv0EEEPSR_ _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_12float_readerIcE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSG_EENS1_15take_width_viewINSC_ISG_SG_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_bEUlcE0_TnPNSP_9enable_ifIXsr3stdE11is_object_vISR_EEvE4typeELPv0EEEPSR_ Line | Count | Source | 660 | 258 | constexpr explicit storage(T* p) noexcept : m_p(p) | 661 | 258 | { | 662 | 258 | } |
Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSF_EEEEfEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNS0_6detail12format_specsERT0_NSR_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E_TnPNSJ_9enable_ifIXsr3stdE11is_object_vISL_EEvE4typeELPv0EEEPSL_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSF_EEEEfEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNS0_6detail12format_specsERT0_NSR_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E0_TnPNSJ_9enable_ifIXsr3stdE11is_object_vISL_EEvE4typeELPv0EEEPSL_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_12float_readerIcE8read_nanINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_EUlcE_TnPNSH_9enable_ifIXsr3stdE11is_object_vISJ_EEvE4typeELPv0EEEPSJ_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_12float_readerIcE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_bEUlcE_TnPNSH_9enable_ifIXsr3stdE11is_object_vISJ_EEvE4typeELPv0EEEPSJ_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_12float_readerIcE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_bEUlcE0_TnPNSH_9enable_ifIXsr3stdE11is_object_vISJ_EEvE4typeELPv0EEEPSJ_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_12float_readerIcE13read_exponentINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEEEDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESI_NSG_17basic_string_viewIcNSG_11char_traitsIcEEEEEUlcE_TnPNSG_9enable_ifIXsr3stdE11is_object_vISI_EEvE4typeELPv0EEEPSI_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_12float_readerIcE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_bEUlcE_TnPNSH_9enable_ifIXsr3stdE11is_object_vISJ_EEvE4typeELPv0EEEPSJ_ _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_12float_readerIcE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_bEUlcE0_TnPNSH_9enable_ifIXsr3stdE11is_object_vISJ_EEvE4typeELPv0EEEPSJ_ Line | Count | Source | 660 | 22 | constexpr explicit storage(T* p) noexcept : m_p(p) | 661 | 22 | { | 662 | 22 | } |
Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIcE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEfEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_RKNS0_6detail12format_specsERT0_NSP_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E_TnPNSH_9enable_ifIXsr3stdE11is_object_vISJ_EEvE4typeELPv0EEEPSJ_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIcE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEfEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_RKNS0_6detail12format_specsERT0_NSP_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E0_TnPNSH_9enable_ifIXsr3stdE11is_object_vISJ_EEvE4typeELPv0EEEPSJ_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENSA_18default_sentinel_tEEEEEdEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_RKNSE_12format_specsERT0_NSE_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E_TnPNSM_9enable_ifIXsr3stdE11is_object_vISO_EEvE4typeELPv0EEEPSO_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENSA_18default_sentinel_tEEEEEdEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_RKNSE_12format_specsERT0_NSE_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E0_TnPNSM_9enable_ifIXsr3stdE11is_object_vISO_EEvE4typeELPv0EEEPSO_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIcE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEdEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_RKNSD_12format_specsERT0_NSD_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E_TnPNSK_9enable_ifIXsr3stdE11is_object_vISM_EEvE4typeELPv0EEEPSM_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIcE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEdEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_RKNSD_12format_specsERT0_NSD_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E0_TnPNSK_9enable_ifIXsr3stdE11is_object_vISM_EEvE4typeELPv0EEEPSM_ _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSF_EEEEdEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNS0_6detail12format_specsERT0_NSR_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E_TnPNSJ_9enable_ifIXsr3stdE11is_object_vISL_EEvE4typeELPv0EEEPSL_ Line | Count | Source | 660 | 8 | constexpr explicit storage(T* p) noexcept : m_p(p) | 661 | 8 | { | 662 | 8 | } |
_ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSF_EEEEdEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNS0_6detail12format_specsERT0_NSR_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E0_TnPNSJ_9enable_ifIXsr3stdE11is_object_vISL_EEvE4typeELPv0EEEPSL_ Line | Count | Source | 660 | 254 | constexpr explicit storage(T* p) noexcept : m_p(p) | 661 | 254 | { | 662 | 254 | } |
_ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIcE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEdEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_RKNS0_6detail12format_specsERT0_NSP_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E_TnPNSH_9enable_ifIXsr3stdE11is_object_vISJ_EEvE4typeELPv0EEEPSJ_ Line | Count | Source | 660 | 8 | constexpr explicit storage(T* p) noexcept : m_p(p) | 661 | 8 | { | 662 | 8 | } |
_ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIcE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEdEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_RKNS0_6detail12format_specsERT0_NSP_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E0_TnPNSH_9enable_ifIXsr3stdE11is_object_vISJ_EEvE4typeELPv0EEEPSJ_ Line | Count | Source | 660 | 268 | constexpr explicit storage(T* p) noexcept : m_p(p) | 661 | 268 | { | 662 | 268 | } |
Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENSA_18default_sentinel_tEEEEEeEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_RKNSE_12format_specsERT0_NSE_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E_TnPNSM_9enable_ifIXsr3stdE11is_object_vISO_EEvE4typeELPv0EEEPSO_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENSA_18default_sentinel_tEEEEEeEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_RKNSE_12format_specsERT0_NSE_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E0_TnPNSM_9enable_ifIXsr3stdE11is_object_vISO_EEvE4typeELPv0EEEPSO_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIcE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEeEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_RKNSD_12format_specsERT0_NSD_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E_TnPNSK_9enable_ifIXsr3stdE11is_object_vISM_EEvE4typeELPv0EEEPSM_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIcE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEeEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_RKNSD_12format_specsERT0_NSD_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E0_TnPNSK_9enable_ifIXsr3stdE11is_object_vISM_EEvE4typeELPv0EEEPSM_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSF_EEEEeEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNS0_6detail12format_specsERT0_NSR_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E_TnPNSJ_9enable_ifIXsr3stdE11is_object_vISL_EEvE4typeELPv0EEEPSL_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSF_EEEEeEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNS0_6detail12format_specsERT0_NSR_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E0_TnPNSJ_9enable_ifIXsr3stdE11is_object_vISL_EEvE4typeELPv0EEEPSL_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIcE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEeEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_RKNS0_6detail12format_specsERT0_NSP_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E_TnPNSH_9enable_ifIXsr3stdE11is_object_vISJ_EEvE4typeELPv0EEEPSJ_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIcE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEeEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_RKNS0_6detail12format_specsERT0_NSP_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E0_TnPNSH_9enable_ifIXsr3stdE11is_object_vISJ_EEvE4typeELPv0EEEPSJ_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_24read_until_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS8_18default_sentinel_tEEEEEEEDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESL_EUlDiE_TnPNSJ_9enable_ifIXsr3stdE11is_object_vISL_EEvE4typeELPv0EEEPSL_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_23custom_word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENSA_18default_sentinel_tEEEEEcEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_RKNSE_12format_specsERNSM_12basic_stringIT0_NSM_11char_traitsISY_EENSM_9allocatorISY_EEEEEUlcE_TnPNSM_9enable_ifIXsr3stdE11is_object_vISO_EEvE4typeELPv0EEEPSO_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_24read_until_classic_spaceINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS7_18default_sentinel_tEEEEEDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESJ_EUlDiE_TnPNSH_9enable_ifIXsr3stdE11is_object_vISJ_EEvE4typeELPv0EEEPSJ_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_23custom_word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEcEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_RKNSD_12format_specsERNSK_12basic_stringIT0_NSK_11char_traitsISW_EENSK_9allocatorISW_EEEEEUlcE_TnPNSK_9enable_ifIXsr3stdE11is_object_vISM_EEvE4typeELPv0EEEPSM_ _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_24read_until_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSD_EEEEEEDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESI_EUlDiE_TnPNSG_9enable_ifIXsr3stdE11is_object_vISI_EEvE4typeELPv0EEEPSI_ Line | Count | Source | 660 | 714 | constexpr explicit storage(T* p) noexcept : m_p(p) | 661 | 714 | { | 662 | 714 | } |
_ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_23custom_word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSF_EEEEcEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNS0_6detail12format_specsERNSJ_12basic_stringIT0_NSJ_11char_traitsISW_EENSJ_9allocatorISW_EEEEEUlcE_TnPNSJ_9enable_ifIXsr3stdE11is_object_vISL_EEvE4typeELPv0EEEPSL_ Line | Count | Source | 660 | 30 | constexpr explicit storage(T* p) noexcept : m_p(p) | 661 | 30 | { | 662 | 30 | } |
_ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_23custom_word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEcEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_RKNS0_6detail12format_specsERNSH_12basic_stringIT0_NSH_11char_traitsISU_EENSH_9allocatorISU_EEEEEUlcE_TnPNSH_9enable_ifIXsr3stdE11is_object_vISJ_EEvE4typeELPv0EEEPSJ_ Line | Count | Source | 660 | 30 | constexpr explicit storage(T* p) noexcept : m_p(p) | 661 | 30 | { | 662 | 30 | } |
Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_23custom_word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENSA_18default_sentinel_tEEEEEwEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_RKNSE_12format_specsERNSM_12basic_stringIT0_NSM_11char_traitsISY_EENSM_9allocatorISY_EEEEEUlcE_TnPNSM_9enable_ifIXsr3stdE11is_object_vISO_EEvE4typeELPv0EEEPSO_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_23custom_word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEwEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_RKNSD_12format_specsERNSK_12basic_stringIT0_NSK_11char_traitsISW_EENSK_9allocatorISW_EEEEEUlcE_TnPNSK_9enable_ifIXsr3stdE11is_object_vISM_EEvE4typeELPv0EEEPSM_ _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_23custom_word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSF_EEEEwEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNS0_6detail12format_specsERNSJ_12basic_stringIT0_NSJ_11char_traitsISW_EENSJ_9allocatorISW_EEEEEUlcE_TnPNSJ_9enable_ifIXsr3stdE11is_object_vISL_EEvE4typeELPv0EEEPSL_ Line | Count | Source | 660 | 30 | constexpr explicit storage(T* p) noexcept : m_p(p) | 661 | 30 | { | 662 | 30 | } |
_ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_23custom_word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEwEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_RKNS0_6detail12format_specsERNSH_12basic_stringIT0_NSH_11char_traitsISU_EENSH_9allocatorISU_EEEEEUlcE_TnPNSH_9enable_ifIXsr3stdE11is_object_vISJ_EEvE4typeELPv0EEEPSJ_ Line | Count | Source | 660 | 30 | constexpr explicit storage(T* p) noexcept : m_p(p) | 661 | 30 | { | 662 | 30 | } |
Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_23custom_word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENSA_18default_sentinel_tEEEEEcEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_RKNSE_12format_specsERNSM_17basic_string_viewIT0_NSM_11char_traitsISY_EEEEEUlcE_TnPNSM_9enable_ifIXsr3stdE11is_object_vISO_EEvE4typeELPv0EEEPSO_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_23custom_word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEcEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_RKNSD_12format_specsERNSK_17basic_string_viewIT0_NSK_11char_traitsISW_EEEEEUlcE_TnPNSK_9enable_ifIXsr3stdE11is_object_vISM_EEvE4typeELPv0EEEPSM_ _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_23custom_word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSF_EEEEcEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNS0_6detail12format_specsERNSJ_17basic_string_viewIT0_NSJ_11char_traitsISW_EEEEEUlcE_TnPNSJ_9enable_ifIXsr3stdE11is_object_vISL_EEvE4typeELPv0EEEPSL_ Line | Count | Source | 660 | 30 | constexpr explicit storage(T* p) noexcept : m_p(p) | 661 | 30 | { | 662 | 30 | } |
_ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_23custom_word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEcEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_RKNS0_6detail12format_specsERNSH_17basic_string_viewIT0_NSH_11char_traitsISU_EEEEEUlcE_TnPNSH_9enable_ifIXsr3stdE11is_object_vISJ_EEvE4typeELPv0EEEPSJ_ Line | Count | Source | 660 | 30 | constexpr explicit storage(T* p) noexcept : m_p(p) | 661 | 30 | { | 662 | 30 | } |
Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_23custom_word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENSA_18default_sentinel_tEEEEEwEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_RKNSE_12format_specsERNSM_17basic_string_viewIT0_NSM_11char_traitsISY_EEEEEUlcE_TnPNSM_9enable_ifIXsr3stdE11is_object_vISO_EEvE4typeELPv0EEEPSO_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_23custom_word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEwEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_RKNSD_12format_specsERNSK_17basic_string_viewIT0_NSK_11char_traitsISW_EEEEEUlcE_TnPNSK_9enable_ifIXsr3stdE11is_object_vISM_EEvE4typeELPv0EEEPSM_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_23custom_word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSF_EEEEwEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNS0_6detail12format_specsERNSJ_17basic_string_viewIT0_NSJ_11char_traitsISW_EEEEEUlcE_TnPNSJ_9enable_ifIXsr3stdE11is_object_vISL_EEvE4typeELPv0EEEPSL_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_23custom_word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEwEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_RKNS0_6detail12format_specsERNSH_17basic_string_viewIT0_NSH_11char_traitsISU_EEEEEUlcE_TnPNSH_9enable_ifIXsr3stdE11is_object_vISJ_EEvE4typeELPv0EEEPSJ_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_24read_while_classic_spaceINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS7_18default_sentinel_tEEEEEDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESJ_EUlDiE_TnPNSH_9enable_ifIXsr3stdE11is_object_vISJ_EEvE4typeELPv0EEEPSJ_ _ZN3scn2v34impl12fnref_detail4base7storageC2INSt3__110__not_fn_tINS1_12function_refIFbwES9_EEEETnPNS6_9enable_ifIXsr3stdE11is_object_vIT_EEvE4typeELPv0EEEPSD_ Line | Count | Source | 660 | 1.28k | constexpr explicit storage(T* p) noexcept : m_p(p) | 661 | 1.28k | { | 662 | 1.28k | } |
Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_24read_while_classic_spaceINS1_15take_width_viewINS7_INS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS8_18default_sentinel_tEEEEEEEEEDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESM_EUlDiE_TnPNSK_9enable_ifIXsr3stdE11is_object_vISM_EEvE4typeELPv0EEEPSM_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_24read_while_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS8_18default_sentinel_tEEEEEEEDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESL_EUlDiE_TnPNSJ_9enable_ifIXsr3stdE11is_object_vISL_EEvE4typeELPv0EEEPSL_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_34parse_integer_digits_without_thsepINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS7_18default_sentinel_tEEENS1_15take_width_viewINSA_ISG_SH_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESS_iEUlwE_TnPNSQ_9enable_ifIXsr3stdE11is_object_vISS_EEvE4typeELPv0EEEPSS_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_34parse_integer_digits_without_thsepINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS7_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_iEUlwE_TnPNSI_9enable_ifIXsr3stdE11is_object_vISK_EEvE4typeELPv0EEEPSK_ _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_20calculate_text_widthIwEEmNSt3__117basic_string_viewIT_NS7_11char_traitsIS9_EEEEEUlDiE_TnPNS7_9enable_ifIXsr3stdE11is_object_vIS9_EEvE4typeELPv0EEEPS9_ Line | Count | Source | 660 | 3.47k | constexpr explicit storage(T* p) noexcept : m_p(p) | 661 | 3.47k | { | 662 | 3.47k | } |
Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_24read_while_classic_spaceINS1_15take_width_viewINS7_INSt3__117basic_string_viewIwNS8_11char_traitsIwEEEEEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS8_9add_constIT_E4typeEEEEESH_EUlDiE_TnPNS8_9enable_ifIXsr3stdE11is_object_vISH_EEvE4typeELPv0EEEPSH_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_24read_while_classic_spaceINS1_15take_width_viewINSt3__117basic_string_viewIwNS8_11char_traitsIwEEEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS8_9add_constIT_E4typeEEEEESG_EUlDiE_TnPNS8_9enable_ifIXsr3stdE11is_object_vISG_EEvE4typeELPv0EEEPSG_ _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_24read_while_classic_spaceINSt3__117basic_string_viewIwNS7_11char_traitsIwEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS7_9add_constIT_E4typeEEEEESE_EUlDiE_TnPNS7_9enable_ifIXsr3stdE11is_object_vISE_EEvE4typeELPv0EEEPSE_ Line | Count | Source | 660 | 90.0k | constexpr explicit storage(T* p) noexcept : m_p(p) | 661 | 90.0k | { | 662 | 90.0k | } |
_ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_34parse_integer_digits_without_thsepINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSE_EENS1_15take_width_viewINSA_ISE_SE_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESP_iEUlwE_TnPNSN_9enable_ifIXsr3stdE11is_object_vISP_EEvE4typeELPv0EEEPSP_ Line | Count | Source | 660 | 326 | constexpr explicit storage(T* p) noexcept : m_p(p) | 661 | 326 | { | 662 | 326 | } |
_ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_24read_while_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSD_EEEEEEDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESI_EUlDiE_TnPNSG_9enable_ifIXsr3stdE11is_object_vISI_EEvE4typeELPv0EEEPSI_ Line | Count | Source | 660 | 180 | constexpr explicit storage(T* p) noexcept : m_p(p) | 661 | 180 | { | 662 | 180 | } |
_ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_24read_while_classic_spaceINS0_6ranges6detail9subrange_8subrangeIPKwSC_EEEEDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESG_EUlDiE_TnPNSE_9enable_ifIXsr3stdE11is_object_vISG_EEvE4typeELPv0EEEPSG_ Line | Count | Source | 660 | 96.6k | constexpr explicit storage(T* p) noexcept : m_p(p) | 661 | 96.6k | { | 662 | 96.6k | } |
Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_12float_readerIwE8read_nanINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEENS1_15take_width_viewINSC_ISI_SJ_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_EUlwE_TnPNSS_9enable_ifIXsr3stdE11is_object_vISU_EEvE4typeELPv0EEEPSU_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_12float_readerIwE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEENS1_15take_width_viewINSC_ISI_SJ_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_bEUlwE_TnPNSS_9enable_ifIXsr3stdE11is_object_vISU_EEvE4typeELPv0EEEPSU_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_12float_readerIwE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEENS1_15take_width_viewINSC_ISI_SJ_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_bEUlwE0_TnPNSS_9enable_ifIXsr3stdE11is_object_vISU_EEvE4typeELPv0EEEPSU_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_12float_readerIwE13read_exponentINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEENS1_15take_width_viewINSC_ISI_SJ_EEE8sentinelILb1EEEEEEEDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEST_NSR_17basic_string_viewIcNSR_11char_traitsIcEEEEEUlwE_TnPNSR_9enable_ifIXsr3stdE11is_object_vIST_EEvE4typeELPv0EEEPST_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_12float_readerIwE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEENS1_15take_width_viewINSC_ISI_SJ_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_bEUlwE_TnPNSS_9enable_ifIXsr3stdE11is_object_vISU_EEvE4typeELPv0EEEPSU_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_12float_readerIwE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEENS1_15take_width_viewINSC_ISI_SJ_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_bEUlwE0_TnPNSS_9enable_ifIXsr3stdE11is_object_vISU_EEvE4typeELPv0EEEPSU_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENSA_18default_sentinel_tEEEEEfEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_RKNSE_12format_specsERT0_NSE_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E_TnPNSM_9enable_ifIXsr3stdE11is_object_vISO_EEvE4typeELPv0EEEPSO_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENSA_18default_sentinel_tEEEEEfEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_RKNSE_12format_specsERT0_NSE_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E0_TnPNSM_9enable_ifIXsr3stdE11is_object_vISO_EEvE4typeELPv0EEEPSO_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_12float_readerIwE8read_nanINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_EUlwE_TnPNSK_9enable_ifIXsr3stdE11is_object_vISM_EEvE4typeELPv0EEEPSM_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_12float_readerIwE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_bEUlwE_TnPNSK_9enable_ifIXsr3stdE11is_object_vISM_EEvE4typeELPv0EEEPSM_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_12float_readerIwE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_bEUlwE0_TnPNSK_9enable_ifIXsr3stdE11is_object_vISM_EEvE4typeELPv0EEEPSM_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_12float_readerIwE13read_exponentINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEEEDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESL_NSJ_17basic_string_viewIcNSJ_11char_traitsIcEEEEEUlwE_TnPNSJ_9enable_ifIXsr3stdE11is_object_vISL_EEvE4typeELPv0EEEPSL_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_12float_readerIwE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_bEUlwE_TnPNSK_9enable_ifIXsr3stdE11is_object_vISM_EEvE4typeELPv0EEEPSM_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_12float_readerIwE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_bEUlwE0_TnPNSK_9enable_ifIXsr3stdE11is_object_vISM_EEvE4typeELPv0EEEPSM_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIwE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEfEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_RKNSD_12format_specsERT0_NSD_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E_TnPNSK_9enable_ifIXsr3stdE11is_object_vISM_EEvE4typeELPv0EEEPSM_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIwE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEfEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_RKNSD_12format_specsERT0_NSD_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E0_TnPNSK_9enable_ifIXsr3stdE11is_object_vISM_EEvE4typeELPv0EEEPSM_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_12float_readerIwE8read_nanINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSG_EENS1_15take_width_viewINSC_ISG_SG_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_EUlwE_TnPNSP_9enable_ifIXsr3stdE11is_object_vISR_EEvE4typeELPv0EEEPSR_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_12float_readerIwE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSG_EENS1_15take_width_viewINSC_ISG_SG_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_bEUlwE_TnPNSP_9enable_ifIXsr3stdE11is_object_vISR_EEvE4typeELPv0EEEPSR_ _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_12float_readerIwE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSG_EENS1_15take_width_viewINSC_ISG_SG_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_bEUlwE0_TnPNSP_9enable_ifIXsr3stdE11is_object_vISR_EEvE4typeELPv0EEEPSR_ Line | Count | Source | 660 | 6 | constexpr explicit storage(T* p) noexcept : m_p(p) | 661 | 6 | { | 662 | 6 | } |
Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_12float_readerIwE13read_exponentINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSG_EENS1_15take_width_viewINSC_ISG_SG_EEE8sentinelILb1EEEEEEEDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESQ_NSO_17basic_string_viewIcNSO_11char_traitsIcEEEEEUlwE_TnPNSO_9enable_ifIXsr3stdE11is_object_vISQ_EEvE4typeELPv0EEEPSQ_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_12float_readerIwE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSG_EENS1_15take_width_viewINSC_ISG_SG_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_bEUlwE_TnPNSP_9enable_ifIXsr3stdE11is_object_vISR_EEvE4typeELPv0EEEPSR_ _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_12float_readerIwE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSG_EENS1_15take_width_viewINSC_ISG_SG_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_bEUlwE0_TnPNSP_9enable_ifIXsr3stdE11is_object_vISR_EEvE4typeELPv0EEEPSR_ Line | Count | Source | 660 | 104 | constexpr explicit storage(T* p) noexcept : m_p(p) | 661 | 104 | { | 662 | 104 | } |
Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSF_EEEEfEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNS0_6detail12format_specsERT0_NSR_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E_TnPNSJ_9enable_ifIXsr3stdE11is_object_vISL_EEvE4typeELPv0EEEPSL_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSF_EEEEfEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNS0_6detail12format_specsERT0_NSR_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E0_TnPNSJ_9enable_ifIXsr3stdE11is_object_vISL_EEvE4typeELPv0EEEPSL_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_12float_readerIwE8read_nanINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_EUlwE_TnPNSH_9enable_ifIXsr3stdE11is_object_vISJ_EEvE4typeELPv0EEEPSJ_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_12float_readerIwE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_bEUlwE_TnPNSH_9enable_ifIXsr3stdE11is_object_vISJ_EEvE4typeELPv0EEEPSJ_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_12float_readerIwE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_bEUlwE0_TnPNSH_9enable_ifIXsr3stdE11is_object_vISJ_EEvE4typeELPv0EEEPSJ_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_12float_readerIwE13read_exponentINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEEEDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESI_NSG_17basic_string_viewIcNSG_11char_traitsIcEEEEEUlwE_TnPNSG_9enable_ifIXsr3stdE11is_object_vISI_EEvE4typeELPv0EEEPSI_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_12float_readerIwE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_bEUlwE_TnPNSH_9enable_ifIXsr3stdE11is_object_vISJ_EEvE4typeELPv0EEEPSJ_ _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_12float_readerIwE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_bEUlwE0_TnPNSH_9enable_ifIXsr3stdE11is_object_vISJ_EEvE4typeELPv0EEEPSJ_ Line | Count | Source | 660 | 8 | constexpr explicit storage(T* p) noexcept : m_p(p) | 661 | 8 | { | 662 | 8 | } |
Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIwE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEfEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_RKNS0_6detail12format_specsERT0_NSP_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E_TnPNSH_9enable_ifIXsr3stdE11is_object_vISJ_EEvE4typeELPv0EEEPSJ_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIwE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEfEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_RKNS0_6detail12format_specsERT0_NSP_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E0_TnPNSH_9enable_ifIXsr3stdE11is_object_vISJ_EEvE4typeELPv0EEEPSJ_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENSA_18default_sentinel_tEEEEEdEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_RKNSE_12format_specsERT0_NSE_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E_TnPNSM_9enable_ifIXsr3stdE11is_object_vISO_EEvE4typeELPv0EEEPSO_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENSA_18default_sentinel_tEEEEEdEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_RKNSE_12format_specsERT0_NSE_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E0_TnPNSM_9enable_ifIXsr3stdE11is_object_vISO_EEvE4typeELPv0EEEPSO_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIwE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEdEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_RKNSD_12format_specsERT0_NSD_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E_TnPNSK_9enable_ifIXsr3stdE11is_object_vISM_EEvE4typeELPv0EEEPSM_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIwE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEdEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_RKNSD_12format_specsERT0_NSD_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E0_TnPNSK_9enable_ifIXsr3stdE11is_object_vISM_EEvE4typeELPv0EEEPSM_ _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSF_EEEEdEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNS0_6detail12format_specsERT0_NSR_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E_TnPNSJ_9enable_ifIXsr3stdE11is_object_vISL_EEvE4typeELPv0EEEPSL_ Line | Count | Source | 660 | 8 | constexpr explicit storage(T* p) noexcept : m_p(p) | 661 | 8 | { | 662 | 8 | } |
_ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSF_EEEEdEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNS0_6detail12format_specsERT0_NSR_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E0_TnPNSJ_9enable_ifIXsr3stdE11is_object_vISL_EEvE4typeELPv0EEEPSL_ Line | Count | Source | 660 | 102 | constexpr explicit storage(T* p) noexcept : m_p(p) | 661 | 102 | { | 662 | 102 | } |
_ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIwE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEdEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_RKNS0_6detail12format_specsERT0_NSP_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E_TnPNSH_9enable_ifIXsr3stdE11is_object_vISJ_EEvE4typeELPv0EEEPSJ_ Line | Count | Source | 660 | 8 | constexpr explicit storage(T* p) noexcept : m_p(p) | 661 | 8 | { | 662 | 8 | } |
_ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIwE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEdEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_RKNS0_6detail12format_specsERT0_NSP_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E0_TnPNSH_9enable_ifIXsr3stdE11is_object_vISJ_EEvE4typeELPv0EEEPSJ_ Line | Count | Source | 660 | 314 | constexpr explicit storage(T* p) noexcept : m_p(p) | 661 | 314 | { | 662 | 314 | } |
Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENSA_18default_sentinel_tEEEEEeEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_RKNSE_12format_specsERT0_NSE_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E_TnPNSM_9enable_ifIXsr3stdE11is_object_vISO_EEvE4typeELPv0EEEPSO_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENSA_18default_sentinel_tEEEEEeEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_RKNSE_12format_specsERT0_NSE_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E0_TnPNSM_9enable_ifIXsr3stdE11is_object_vISO_EEvE4typeELPv0EEEPSO_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIwE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEeEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_RKNSD_12format_specsERT0_NSD_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E_TnPNSK_9enable_ifIXsr3stdE11is_object_vISM_EEvE4typeELPv0EEEPSM_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIwE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEeEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_RKNSD_12format_specsERT0_NSD_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E0_TnPNSK_9enable_ifIXsr3stdE11is_object_vISM_EEvE4typeELPv0EEEPSM_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSF_EEEEeEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNS0_6detail12format_specsERT0_NSR_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E_TnPNSJ_9enable_ifIXsr3stdE11is_object_vISL_EEvE4typeELPv0EEEPSL_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSF_EEEEeEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNS0_6detail12format_specsERT0_NSR_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E0_TnPNSJ_9enable_ifIXsr3stdE11is_object_vISL_EEvE4typeELPv0EEEPSL_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIwE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEeEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_RKNS0_6detail12format_specsERT0_NSP_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E_TnPNSH_9enable_ifIXsr3stdE11is_object_vISJ_EEvE4typeELPv0EEEPSJ_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIwE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEeEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_RKNS0_6detail12format_specsERT0_NSP_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E0_TnPNSH_9enable_ifIXsr3stdE11is_object_vISJ_EEvE4typeELPv0EEEPSJ_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_24read_until_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS8_18default_sentinel_tEEEEEEEDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESL_EUlDiE_TnPNSJ_9enable_ifIXsr3stdE11is_object_vISL_EEvE4typeELPv0EEEPSL_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_23custom_word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENSA_18default_sentinel_tEEEEEcEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_RKNSE_12format_specsERNSM_12basic_stringIT0_NSM_11char_traitsISY_EENSM_9allocatorISY_EEEEEUlwE_TnPNSM_9enable_ifIXsr3stdE11is_object_vISO_EEvE4typeELPv0EEEPSO_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_24read_until_classic_spaceINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS7_18default_sentinel_tEEEEEDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESJ_EUlDiE_TnPNSH_9enable_ifIXsr3stdE11is_object_vISJ_EEvE4typeELPv0EEEPSJ_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_23custom_word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEcEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_RKNSD_12format_specsERNSK_12basic_stringIT0_NSK_11char_traitsISW_EENSK_9allocatorISW_EEEEEUlwE_TnPNSK_9enable_ifIXsr3stdE11is_object_vISM_EEvE4typeELPv0EEEPSM_ _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_24read_until_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSD_EEEEEEDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESI_EUlDiE_TnPNSG_9enable_ifIXsr3stdE11is_object_vISI_EEvE4typeELPv0EEEPSI_ Line | Count | Source | 660 | 276 | constexpr explicit storage(T* p) noexcept : m_p(p) | 661 | 276 | { | 662 | 276 | } |
_ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_23custom_word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSF_EEEEcEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNS0_6detail12format_specsERNSJ_12basic_stringIT0_NSJ_11char_traitsISW_EENSJ_9allocatorISW_EEEEEUlwE_TnPNSJ_9enable_ifIXsr3stdE11is_object_vISL_EEvE4typeELPv0EEEPSL_ Line | Count | Source | 660 | 22 | constexpr explicit storage(T* p) noexcept : m_p(p) | 661 | 22 | { | 662 | 22 | } |
_ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_24read_until_classic_spaceINS0_6ranges6detail9subrange_8subrangeIPKwSC_EEEEDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESG_EUlDiE_TnPNSE_9enable_ifIXsr3stdE11is_object_vISG_EEvE4typeELPv0EEEPSG_ Line | Count | Source | 660 | 2.35k | constexpr explicit storage(T* p) noexcept : m_p(p) | 661 | 2.35k | { | 662 | 2.35k | } |
_ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_23custom_word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEcEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_RKNS0_6detail12format_specsERNSH_12basic_stringIT0_NSH_11char_traitsISU_EENSH_9allocatorISU_EEEEEUlwE_TnPNSH_9enable_ifIXsr3stdE11is_object_vISJ_EEvE4typeELPv0EEEPSJ_ Line | Count | Source | 660 | 36 | constexpr explicit storage(T* p) noexcept : m_p(p) | 661 | 36 | { | 662 | 36 | } |
Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_23custom_word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENSA_18default_sentinel_tEEEEEwEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_RKNSE_12format_specsERNSM_12basic_stringIT0_NSM_11char_traitsISY_EENSM_9allocatorISY_EEEEEUlwE_TnPNSM_9enable_ifIXsr3stdE11is_object_vISO_EEvE4typeELPv0EEEPSO_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_23custom_word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEwEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_RKNSD_12format_specsERNSK_12basic_stringIT0_NSK_11char_traitsISW_EENSK_9allocatorISW_EEEEEUlwE_TnPNSK_9enable_ifIXsr3stdE11is_object_vISM_EEvE4typeELPv0EEEPSM_ _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_23custom_word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSF_EEEEwEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNS0_6detail12format_specsERNSJ_12basic_stringIT0_NSJ_11char_traitsISW_EENSJ_9allocatorISW_EEEEEUlwE_TnPNSJ_9enable_ifIXsr3stdE11is_object_vISL_EEvE4typeELPv0EEEPSL_ Line | Count | Source | 660 | 22 | constexpr explicit storage(T* p) noexcept : m_p(p) | 661 | 22 | { | 662 | 22 | } |
_ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_23custom_word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEwEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_RKNS0_6detail12format_specsERNSH_12basic_stringIT0_NSH_11char_traitsISU_EENSH_9allocatorISU_EEEEEUlwE_TnPNSH_9enable_ifIXsr3stdE11is_object_vISJ_EEvE4typeELPv0EEEPSJ_ Line | Count | Source | 660 | 36 | constexpr explicit storage(T* p) noexcept : m_p(p) | 661 | 36 | { | 662 | 36 | } |
Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_23custom_word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENSA_18default_sentinel_tEEEEEcEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_RKNSE_12format_specsERNSM_17basic_string_viewIT0_NSM_11char_traitsISY_EEEEEUlwE_TnPNSM_9enable_ifIXsr3stdE11is_object_vISO_EEvE4typeELPv0EEEPSO_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_23custom_word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEcEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_RKNSD_12format_specsERNSK_17basic_string_viewIT0_NSK_11char_traitsISW_EEEEEUlwE_TnPNSK_9enable_ifIXsr3stdE11is_object_vISM_EEvE4typeELPv0EEEPSM_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_23custom_word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSF_EEEEcEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNS0_6detail12format_specsERNSJ_17basic_string_viewIT0_NSJ_11char_traitsISW_EEEEEUlwE_TnPNSJ_9enable_ifIXsr3stdE11is_object_vISL_EEvE4typeELPv0EEEPSL_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_23custom_word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEcEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_RKNS0_6detail12format_specsERNSH_17basic_string_viewIT0_NSH_11char_traitsISU_EEEEEUlwE_TnPNSH_9enable_ifIXsr3stdE11is_object_vISJ_EEvE4typeELPv0EEEPSJ_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_23custom_word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENSA_18default_sentinel_tEEEEEwEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_RKNSE_12format_specsERNSM_17basic_string_viewIT0_NSM_11char_traitsISY_EEEEEUlwE_TnPNSM_9enable_ifIXsr3stdE11is_object_vISO_EEvE4typeELPv0EEEPSO_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_23custom_word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEwEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_RKNSD_12format_specsERNSK_17basic_string_viewIT0_NSK_11char_traitsISW_EEEEEUlwE_TnPNSK_9enable_ifIXsr3stdE11is_object_vISM_EEvE4typeELPv0EEEPSM_ _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_23custom_word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSF_EEEEwEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNS0_6detail12format_specsERNSJ_17basic_string_viewIT0_NSJ_11char_traitsISW_EEEEEUlwE_TnPNSJ_9enable_ifIXsr3stdE11is_object_vISL_EEvE4typeELPv0EEEPSL_ Line | Count | Source | 660 | 22 | constexpr explicit storage(T* p) noexcept : m_p(p) | 661 | 22 | { | 662 | 22 | } |
_ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_23custom_word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEwEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_RKNS0_6detail12format_specsERNSH_17basic_string_viewIT0_NSH_11char_traitsISU_EEEEEUlwE_TnPNSH_9enable_ifIXsr3stdE11is_object_vISJ_EEvE4typeELPv0EEEPSJ_ Line | Count | Source | 660 | 36 | constexpr explicit storage(T* p) noexcept : m_p(p) | 661 | 36 | { | 662 | 36 | } |
Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_24read_while_classic_spaceINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS7_18default_sentinel_tEEEEEDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESJ_EUlDiE_TnPNSH_9enable_ifIXsr3stdE11is_object_vISJ_EEvE4typeELPv0EEEPSJ_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_24read_until_classic_spaceINSt3__117basic_string_viewIwNS7_11char_traitsIwEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS7_9add_constIT_E4typeEEEEESE_EUlDiE_TnPNS7_9enable_ifIXsr3stdE11is_object_vISE_EEvE4typeELPv0EEEPSE_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEfEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_RT0_NS0_6detail10locale_refEEUlRNS1_12float_readerIcEEDpOT_E_TnPNSH_9enable_ifIXsr3stdE11is_object_vISJ_EEvE4typeELPv0EEEPSJ_ _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEdEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_RT0_NS0_6detail10locale_refEEUlRNS1_12float_readerIcEEDpOT_E_TnPNSH_9enable_ifIXsr3stdE11is_object_vISJ_EEvE4typeELPv0EEEPSJ_ Line | Count | Source | 660 | 636 | constexpr explicit storage(T* p) noexcept : m_p(p) | 661 | 636 | { | 662 | 636 | } |
Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEeEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_RT0_NS0_6detail10locale_refEEUlRNS1_12float_readerIcEEDpOT_E_TnPNSH_9enable_ifIXsr3stdE11is_object_vISJ_EEvE4typeELPv0EEEPSJ_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEfEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_RT0_NSD_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E_TnPNSK_9enable_ifIXsr3stdE11is_object_vISM_EEvE4typeELPv0EEEPSM_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEdEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_RT0_NSD_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E_TnPNSK_9enable_ifIXsr3stdE11is_object_vISM_EEvE4typeELPv0EEEPSM_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEeEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_RT0_NSD_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E_TnPNSK_9enable_ifIXsr3stdE11is_object_vISM_EEvE4typeELPv0EEEPSM_ _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_24read_while_classic_spaceINS1_15take_width_viewINS7_INS0_6ranges6detail9subrange_8subrangeIPKcSD_EEEEEEEEDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESJ_EUlDiE_TnPNSH_9enable_ifIXsr3stdE11is_object_vISJ_EEvE4typeELPv0EEEPSJ_ Line | Count | Source | 660 | 1.89k | constexpr explicit storage(T* p) noexcept : m_p(p) | 661 | 1.89k | { | 662 | 1.89k | } |
Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEfEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_RT0_NS0_6detail10locale_refEEUlRNS1_12float_readerIwEEDpOT_E_TnPNSH_9enable_ifIXsr3stdE11is_object_vISJ_EEvE4typeELPv0EEEPSJ_ _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEdEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_RT0_NS0_6detail10locale_refEEUlRNS1_12float_readerIwEEDpOT_E_TnPNSH_9enable_ifIXsr3stdE11is_object_vISJ_EEvE4typeELPv0EEEPSJ_ Line | Count | Source | 660 | 474 | constexpr explicit storage(T* p) noexcept : m_p(p) | 661 | 474 | { | 662 | 474 | } |
Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEeEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_RT0_NS0_6detail10locale_refEEUlRNS1_12float_readerIwEEDpOT_E_TnPNSH_9enable_ifIXsr3stdE11is_object_vISJ_EEvE4typeELPv0EEEPSJ_ _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_24read_while_classic_spaceINS1_15take_width_viewINS7_INS0_6ranges6detail9subrange_8subrangeIPKwSD_EEEEEEEEDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESJ_EUlDiE_TnPNSH_9enable_ifIXsr3stdE11is_object_vISJ_EEvE4typeELPv0EEEPSJ_ Line | Count | Source | 660 | 714 | constexpr explicit storage(T* p) noexcept : m_p(p) | 661 | 714 | { | 662 | 714 | } |
Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEfEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_RT0_NSD_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E_TnPNSK_9enable_ifIXsr3stdE11is_object_vISM_EEvE4typeELPv0EEEPSM_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEdEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_RT0_NSD_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E_TnPNSK_9enable_ifIXsr3stdE11is_object_vISM_EEvE4typeELPv0EEEPSM_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEeEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_RT0_NSD_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E_TnPNSK_9enable_ifIXsr3stdE11is_object_vISM_EEvE4typeELPv0EEEPSM_ |
663 | | |
664 | | template <typename T, std::enable_if_t<std::is_object_v<T>>* = nullptr> |
665 | 6.88k | constexpr explicit storage(const T* p) noexcept : m_cp(p) |
666 | 6.88k | { |
667 | 6.88k | } Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_9skip_fillINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS8_18default_sentinel_tEEEEEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRT_EEEElEEEESM_lRKNSC_9fill_typeEbEUlcE_TnPNSK_9enable_ifIXsr3stdE11is_object_vISM_EEvE4typeELPv0EEEPKSM_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_9skip_fillINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS7_18default_sentinel_tEEEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS7_5beginEEclsr3stdE7declvalIRT_EEEElEEEESK_lRKNSB_9fill_typeEbEUlcE_TnPNSI_9enable_ifIXsr3stdE11is_object_vISK_EEvE4typeELPv0EEEPKSK_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_9skip_fillINS1_15take_width_viewINSt3__117basic_string_viewIcNS8_11char_traitsIcEEEEEEEENS0_13scan_expectedINS8_4pairIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT_EEEElEEEESH_lRKNS0_6detail9fill_typeEbEUlcE_TnPNS8_9enable_ifIXsr3stdE11is_object_vISH_EEvE4typeELPv0EEEPKSH_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_9skip_fillINSt3__117basic_string_viewIcNS7_11char_traitsIcEEEEEENS0_13scan_expectedINS7_4pairIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT_EEEElEEEESF_lRKNS0_6detail9fill_typeEbEUlcE_TnPNS7_9enable_ifIXsr3stdE11is_object_vISF_EEvE4typeELPv0EEEPKSF_ _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_9skip_fillINS0_6ranges6detail9subrange_8subrangeIPKcSC_EEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS7_5beginEEclsr3stdE7declvalIRT_EEEElEEEESH_lRKNS0_6detail9fill_typeEbEUlcE_TnPNSF_9enable_ifIXsr3stdE11is_object_vISH_EEvE4typeELPv0EEEPKSH_ Line | Count | Source | 665 | 1.73k | constexpr explicit storage(const T* p) noexcept : m_cp(p) | 666 | 1.73k | { | 667 | 1.73k | } |
Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNKS1_25character_set_reader_implIcE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENSA_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_NS7_12specs_helperEEUlDiE_TnPNSM_9enable_ifIXsr3stdE11is_object_vISO_EEvE4typeELPv0EEEPKSO_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNKS1_25character_set_reader_implIcE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENSA_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_NS7_12specs_helperEEUlcE_TnPNSM_9enable_ifIXsr3stdE11is_object_vISO_EEvE4typeELPv0EEEPKSO_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNKS1_25character_set_reader_implIcE16read_source_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_NS7_12specs_helperEEUlDiE_TnPNSK_9enable_ifIXsr3stdE11is_object_vISM_EEvE4typeELPv0EEEPKSM_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNKS1_25character_set_reader_implIcE16read_source_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_NS7_12specs_helperEEUlcE_TnPNSK_9enable_ifIXsr3stdE11is_object_vISM_EEvE4typeELPv0EEEPKSM_ _ZN3scn2v34impl12fnref_detail4base7storageC2IZNKS1_25character_set_reader_implIcE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSF_EEEEEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_NS7_12specs_helperEEUlDiE_TnPNSJ_9enable_ifIXsr3stdE11is_object_vISL_EEvE4typeELPv0EEEPKSL_ Line | Count | Source | 665 | 372 | constexpr explicit storage(const T* p) noexcept : m_cp(p) | 666 | 372 | { | 667 | 372 | } |
_ZN3scn2v34impl12fnref_detail4base7storageC2IZNKS1_25character_set_reader_implIcE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSF_EEEEEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_NS7_12specs_helperEEUlcE_TnPNSJ_9enable_ifIXsr3stdE11is_object_vISL_EEvE4typeELPv0EEEPKSL_ Line | Count | Source | 665 | 294 | constexpr explicit storage(const T* p) noexcept : m_cp(p) | 666 | 294 | { | 667 | 294 | } |
_ZN3scn2v34impl12fnref_detail4base7storageC2IZNKS1_25character_set_reader_implIcE16read_source_implINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_NS7_12specs_helperEEUlDiE_TnPNSH_9enable_ifIXsr3stdE11is_object_vISJ_EEvE4typeELPv0EEEPKSJ_ Line | Count | Source | 665 | 2.33k | constexpr explicit storage(const T* p) noexcept : m_cp(p) | 666 | 2.33k | { | 667 | 2.33k | } |
_ZN3scn2v34impl12fnref_detail4base7storageC2IZNKS1_25character_set_reader_implIcE16read_source_implINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_NS7_12specs_helperEEUlcE_TnPNSH_9enable_ifIXsr3stdE11is_object_vISJ_EEvE4typeELPv0EEEPKSJ_ Line | Count | Source | 665 | 264 | constexpr explicit storage(const T* p) noexcept : m_cp(p) | 666 | 264 | { | 667 | 264 | } |
Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_9skip_fillINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS8_18default_sentinel_tEEEEEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRT_EEEElEEEESM_lRKNSC_9fill_typeEbEUlwE_TnPNSK_9enable_ifIXsr3stdE11is_object_vISM_EEvE4typeELPv0EEEPKSM_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_9skip_fillINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS7_18default_sentinel_tEEEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS7_5beginEEclsr3stdE7declvalIRT_EEEElEEEESK_lRKNSB_9fill_typeEbEUlwE_TnPNSI_9enable_ifIXsr3stdE11is_object_vISK_EEvE4typeELPv0EEEPKSK_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_9skip_fillINS1_15take_width_viewINSt3__117basic_string_viewIwNS8_11char_traitsIwEEEEEEEENS0_13scan_expectedINS8_4pairIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT_EEEElEEEESH_lRKNS0_6detail9fill_typeEbEUlwE_TnPNS8_9enable_ifIXsr3stdE11is_object_vISH_EEvE4typeELPv0EEEPKSH_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_9skip_fillINSt3__117basic_string_viewIwNS7_11char_traitsIwEEEEEENS0_13scan_expectedINS7_4pairIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT_EEEElEEEESF_lRKNS0_6detail9fill_typeEbEUlwE_TnPNS7_9enable_ifIXsr3stdE11is_object_vISF_EEvE4typeELPv0EEEPKSF_ _ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_9skip_fillINS0_6ranges6detail9subrange_8subrangeIPKwSC_EEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS7_5beginEEclsr3stdE7declvalIRT_EEEElEEEESH_lRKNS0_6detail9fill_typeEbEUlwE_TnPNSF_9enable_ifIXsr3stdE11is_object_vISH_EEvE4typeELPv0EEEPKSH_ Line | Count | Source | 665 | 510 | constexpr explicit storage(const T* p) noexcept : m_cp(p) | 666 | 510 | { | 667 | 510 | } |
Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNKS1_25character_set_reader_implIwE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENSA_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_NS7_12specs_helperEEUlDiE_TnPNSM_9enable_ifIXsr3stdE11is_object_vISO_EEvE4typeELPv0EEEPKSO_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNKS1_25character_set_reader_implIwE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENSA_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_NS7_12specs_helperEEUlwE_TnPNSM_9enable_ifIXsr3stdE11is_object_vISO_EEvE4typeELPv0EEEPKSO_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNKS1_25character_set_reader_implIwE16read_source_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_NS7_12specs_helperEEUlDiE_TnPNSK_9enable_ifIXsr3stdE11is_object_vISM_EEvE4typeELPv0EEEPKSM_ Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base7storageC2IZNKS1_25character_set_reader_implIwE16read_source_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_NS7_12specs_helperEEUlwE_TnPNSK_9enable_ifIXsr3stdE11is_object_vISM_EEvE4typeELPv0EEEPKSM_ _ZN3scn2v34impl12fnref_detail4base7storageC2IZNKS1_25character_set_reader_implIwE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSF_EEEEEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_NS7_12specs_helperEEUlDiE_TnPNSJ_9enable_ifIXsr3stdE11is_object_vISL_EEvE4typeELPv0EEEPKSL_ Line | Count | Source | 665 | 180 | constexpr explicit storage(const T* p) noexcept : m_cp(p) | 666 | 180 | { | 667 | 180 | } |
_ZN3scn2v34impl12fnref_detail4base7storageC2IZNKS1_25character_set_reader_implIwE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSF_EEEEEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_NS7_12specs_helperEEUlwE_TnPNSJ_9enable_ifIXsr3stdE11is_object_vISL_EEvE4typeELPv0EEEPKSL_ Line | Count | Source | 665 | 78 | constexpr explicit storage(const T* p) noexcept : m_cp(p) | 666 | 78 | { | 667 | 78 | } |
_ZN3scn2v34impl12fnref_detail4base7storageC2IZNKS1_25character_set_reader_implIwE16read_source_implINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_NS7_12specs_helperEEUlDiE_TnPNSH_9enable_ifIXsr3stdE11is_object_vISJ_EEvE4typeELPv0EEEPKSJ_ Line | Count | Source | 665 | 342 | constexpr explicit storage(const T* p) noexcept : m_cp(p) | 666 | 342 | { | 667 | 342 | } |
_ZN3scn2v34impl12fnref_detail4base7storageC2IZNKS1_25character_set_reader_implIwE16read_source_implINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_NS7_12specs_helperEEUlwE_TnPNSH_9enable_ifIXsr3stdE11is_object_vISJ_EEvE4typeELPv0EEEPKSJ_ Line | Count | Source | 665 | 96 | constexpr explicit storage(const T* p) noexcept : m_cp(p) | 666 | 96 | { | 667 | 96 | } |
_ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_9skip_fillINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSD_EEEEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRT_EEEElEEEESJ_lRKNS0_6detail9fill_typeEbEUlcE_TnPNSH_9enable_ifIXsr3stdE11is_object_vISJ_EEvE4typeELPv0EEEPKSJ_ Line | Count | Source | 665 | 424 | constexpr explicit storage(const T* p) noexcept : m_cp(p) | 666 | 424 | { | 667 | 424 | } |
_ZN3scn2v34impl12fnref_detail4base7storageC2IZNS1_9skip_fillINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSD_EEEEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRT_EEEElEEEESJ_lRKNS0_6detail9fill_typeEbEUlwE_TnPNSH_9enable_ifIXsr3stdE11is_object_vISJ_EEvE4typeELPv0EEEPKSJ_ Line | Count | Source | 665 | 250 | constexpr explicit storage(const T* p) noexcept : m_cp(p) | 666 | 250 | { | 667 | 250 | } |
|
668 | | |
669 | | template <typename F, |
670 | | std::enable_if_t<std::is_function_v<F>>* = nullptr> |
671 | | constexpr explicit storage(F* f) noexcept |
672 | | : m_fp(reinterpret_cast<decltype(m_fp)>(f)) |
673 | | { |
674 | | } |
675 | | |
676 | | void* m_p{nullptr}; |
677 | | const void* m_cp; |
678 | | void (*m_fp)(); |
679 | | }; |
680 | | |
681 | | template <typename T> |
682 | | static constexpr auto get(storage s) |
683 | 1.07M | { |
684 | 1.07M | if constexpr (std::is_const_v<T>) { |
685 | 305k | return static_cast<T*>(s.m_cp); |
686 | | } |
687 | 772k | else if constexpr (std::is_object_v<T>) { |
688 | 772k | return static_cast<T*>(s.m_p); |
689 | | } |
690 | | else { |
691 | | return reinterpret_cast<T*>(s.m_fp); |
692 | | } |
693 | 1.07M | } auto scn::v3::impl::fnref_detail::base::get<std::__1::__not_fn_t<scn::v3::impl::function_ref<bool (char), bool (char)> > >(scn::v3::impl::fnref_detail::base::storage) Line | Count | Source | 683 | 7.38k | { | 684 | | if constexpr (std::is_const_v<T>) { | 685 | | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | 7.38k | else if constexpr (std::is_object_v<T>) { | 688 | 7.38k | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 7.38k | } |
Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIKZNS1_9skip_fillINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS7_18default_sentinel_tEEEEEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS7_5beginEEclsr3stdE7declvalIRT_EEEElEEEESL_lRKNSB_9fill_typeEbEUlcE_EEDaNS3_7storageE auto scn::v3::impl::fnref_detail::base::get<std::__1::__not_fn_t<scn::v3::impl::function_ref<bool (char32_t), bool (char32_t)> > >(scn::v3::impl::fnref_detail::base::storage) Line | Count | Source | 683 | 476k | { | 684 | | if constexpr (std::is_const_v<T>) { | 685 | | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | 476k | else if constexpr (std::is_object_v<T>) { | 688 | 476k | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 476k | } |
Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_24read_while_classic_spaceINS1_15take_width_viewINS6_INS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS7_18default_sentinel_tEEEEEEEEEDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESL_EUlDiE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_24read_while_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS7_18default_sentinel_tEEEEEEEDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESK_EUlDiE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIKZNS1_9skip_fillINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRT_EEEElEEEESJ_lRKNSA_9fill_typeEbEUlcE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_34parse_integer_digits_without_thsepINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEENS1_15take_width_viewINS9_ISF_SG_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_iEUlcE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_34parse_integer_digits_without_thsepINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_iEUlcE_EEDaNS3_7storageE auto scn::v3::impl::fnref_detail::base::get<scn::v3::impl::calculate_text_width<char>(std::__1::basic_string_view<char, std::__1::char_traits<char> >)::{lambda(char32_t)#1}>(scn::v3::impl::fnref_detail::base::storage)Line | Count | Source | 683 | 38.9k | { | 684 | | if constexpr (std::is_const_v<T>) { | 685 | | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | 38.9k | else if constexpr (std::is_object_v<T>) { | 688 | 38.9k | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 38.9k | } |
Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIKZNS1_9skip_fillINS1_15take_width_viewINSt3__117basic_string_viewIcNS7_11char_traitsIcEEEEEEEENS0_13scan_expectedINS7_4pairIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT_EEEElEEEESG_lRKNS0_6detail9fill_typeEbEUlcE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_24read_while_classic_spaceINS1_15take_width_viewINS6_INSt3__117basic_string_viewIcNS7_11char_traitsIcEEEEEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS7_9add_constIT_E4typeEEEEESG_EUlDiE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_24read_while_classic_spaceINS1_15take_width_viewINSt3__117basic_string_viewIcNS7_11char_traitsIcEEEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS7_9add_constIT_E4typeEEEEESF_EUlDiE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIKZNS1_9skip_fillINSt3__117basic_string_viewIcNS6_11char_traitsIcEEEEEENS0_13scan_expectedINS6_4pairIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT_EEEElEEEESE_lRKNS0_6detail9fill_typeEbEUlcE_EEDaNS3_7storageE _ZN3scn2v34impl12fnref_detail4base3getIZNS1_34parse_integer_digits_without_thsepINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSD_EENS1_15take_width_viewINS9_ISD_SD_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_iEUlcE_EEDaNS3_7storageE Line | Count | Source | 683 | 778 | { | 684 | | if constexpr (std::is_const_v<T>) { | 685 | | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | 778 | else if constexpr (std::is_object_v<T>) { | 688 | 778 | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 778 | } |
_ZN3scn2v34impl12fnref_detail4base3getIKZNS1_9skip_fillINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRT_EEEElEEEESG_lRKNS0_6detail9fill_typeEbEUlcE_EEDaNS3_7storageE Line | Count | Source | 683 | 2.15k | { | 684 | 2.15k | if constexpr (std::is_const_v<T>) { | 685 | 2.15k | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | | else if constexpr (std::is_object_v<T>) { | 688 | | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 2.15k | } |
_ZN3scn2v34impl12fnref_detail4base3getIZNS1_24read_while_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSC_EEEEEEDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESH_EUlDiE_EEDaNS3_7storageE Line | Count | Source | 683 | 1.21k | { | 684 | | if constexpr (std::is_const_v<T>) { | 685 | | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | 1.21k | else if constexpr (std::is_object_v<T>) { | 688 | 1.21k | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 1.21k | } |
Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEEEfEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESN_RKNSD_12format_specsERT0_NSD_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_12float_readerIcE8read_nanINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS8_18default_sentinel_tEEENS1_15take_width_viewINSB_ISH_SI_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEEST_EUlcE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_12float_readerIcE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS8_18default_sentinel_tEEENS1_15take_width_viewINSB_ISH_SI_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEEST_bEUlcE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_12float_readerIcE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS8_18default_sentinel_tEEENS1_15take_width_viewINSB_ISH_SI_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEEST_bEUlcE0_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_12float_readerIcE13read_exponentINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS8_18default_sentinel_tEEENS1_15take_width_viewINSB_ISH_SI_EEE8sentinelILb1EEEEEEEDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESS_NSQ_17basic_string_viewIcNSQ_11char_traitsIcEEEEEUlcE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_12float_readerIcE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS8_18default_sentinel_tEEENS1_15take_width_viewINSB_ISH_SI_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEEST_bEUlcE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_12float_readerIcE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS8_18default_sentinel_tEEENS1_15take_width_viewINSB_ISH_SI_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEEST_bEUlcE0_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEEEfEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESN_RKNSD_12format_specsERT0_NSD_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E0_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIcE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS8_18default_sentinel_tEEEfEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNSC_12format_specsERT0_NSC_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_12float_readerIcE8read_nanINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS8_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_EUlcE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_12float_readerIcE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS8_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_bEUlcE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_12float_readerIcE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS8_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_bEUlcE0_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_12float_readerIcE13read_exponentINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS8_18default_sentinel_tEEEEEDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESK_NSI_17basic_string_viewIcNSI_11char_traitsIcEEEEEUlcE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_12float_readerIcE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS8_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_bEUlcE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_12float_readerIcE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS8_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_bEUlcE0_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIcE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS8_18default_sentinel_tEEEfEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNSC_12format_specsERT0_NSC_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E0_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEEEfEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNS0_6detail12format_specsERT0_NSQ_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_12float_readerIcE8read_nanINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSF_EENS1_15take_width_viewINSB_ISF_SF_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESQ_EUlcE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_12float_readerIcE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSF_EENS1_15take_width_viewINSB_ISF_SF_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESQ_bEUlcE_EEDaNS3_7storageE _ZN3scn2v34impl12fnref_detail4base3getIZNS1_12float_readerIcE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSF_EENS1_15take_width_viewINSB_ISF_SF_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESQ_bEUlcE0_EEDaNS3_7storageE Line | Count | Source | 683 | 4 | { | 684 | | if constexpr (std::is_const_v<T>) { | 685 | | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | 4 | else if constexpr (std::is_object_v<T>) { | 688 | 4 | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 4 | } |
Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_12float_readerIcE13read_exponentINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSF_EENS1_15take_width_viewINSB_ISF_SF_EEE8sentinelILb1EEEEEEEDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESP_NSN_17basic_string_viewIcNSN_11char_traitsIcEEEEEUlcE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_12float_readerIcE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSF_EENS1_15take_width_viewINSB_ISF_SF_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESQ_bEUlcE_EEDaNS3_7storageE _ZN3scn2v34impl12fnref_detail4base3getIZNS1_12float_readerIcE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSF_EENS1_15take_width_viewINSB_ISF_SF_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESQ_bEUlcE0_EEDaNS3_7storageE Line | Count | Source | 683 | 258 | { | 684 | | if constexpr (std::is_const_v<T>) { | 685 | | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | 258 | else if constexpr (std::is_object_v<T>) { | 688 | 258 | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 258 | } |
Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEEEfEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNS0_6detail12format_specsERT0_NSQ_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E0_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIcE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKcSD_EEfEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS0_6detail12format_specsERT0_NSO_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_12float_readerIcE8read_nanINS0_6ranges6detail9subrange_8subrangeIPKcSD_EEEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_EUlcE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_12float_readerIcE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeIPKcSD_EEEENS1_14parse_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_bEUlcE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_12float_readerIcE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeIPKcSD_EEEENS1_14parse_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_bEUlcE0_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_12float_readerIcE13read_exponentINS0_6ranges6detail9subrange_8subrangeIPKcSD_EEEEDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESH_NSF_17basic_string_viewIcNSF_11char_traitsIcEEEEEUlcE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_12float_readerIcE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeIPKcSD_EEEENS1_14parse_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_bEUlcE_EEDaNS3_7storageE _ZN3scn2v34impl12fnref_detail4base3getIZNS1_12float_readerIcE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeIPKcSD_EEEENS1_14parse_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_bEUlcE0_EEDaNS3_7storageE Line | Count | Source | 683 | 22 | { | 684 | | if constexpr (std::is_const_v<T>) { | 685 | | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | 22 | else if constexpr (std::is_object_v<T>) { | 688 | 22 | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 22 | } |
Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIcE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKcSD_EEfEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS0_6detail12format_specsERT0_NSO_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E0_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEEEdEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESN_RKNSD_12format_specsERT0_NSD_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEEEdEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESN_RKNSD_12format_specsERT0_NSD_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E0_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIcE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS8_18default_sentinel_tEEEdEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNSC_12format_specsERT0_NSC_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIcE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS8_18default_sentinel_tEEEdEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNSC_12format_specsERT0_NSC_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E0_EEDaNS3_7storageE _ZN3scn2v34impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEEEdEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNS0_6detail12format_specsERT0_NSQ_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E_EEDaNS3_7storageE Line | Count | Source | 683 | 8 | { | 684 | | if constexpr (std::is_const_v<T>) { | 685 | | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | 8 | else if constexpr (std::is_object_v<T>) { | 688 | 8 | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 8 | } |
_ZN3scn2v34impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEEEdEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNS0_6detail12format_specsERT0_NSQ_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E0_EEDaNS3_7storageE Line | Count | Source | 683 | 254 | { | 684 | | if constexpr (std::is_const_v<T>) { | 685 | | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | 254 | else if constexpr (std::is_object_v<T>) { | 688 | 254 | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 254 | } |
_ZN3scn2v34impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIcE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKcSD_EEdEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS0_6detail12format_specsERT0_NSO_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E_EEDaNS3_7storageE Line | Count | Source | 683 | 8 | { | 684 | | if constexpr (std::is_const_v<T>) { | 685 | | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | 8 | else if constexpr (std::is_object_v<T>) { | 688 | 8 | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 8 | } |
_ZN3scn2v34impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIcE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKcSD_EEdEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS0_6detail12format_specsERT0_NSO_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E0_EEDaNS3_7storageE Line | Count | Source | 683 | 268 | { | 684 | | if constexpr (std::is_const_v<T>) { | 685 | | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | 268 | else if constexpr (std::is_object_v<T>) { | 688 | 268 | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 268 | } |
Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEEEeEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESN_RKNSD_12format_specsERT0_NSD_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEEEeEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESN_RKNSD_12format_specsERT0_NSD_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E0_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIcE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS8_18default_sentinel_tEEEeEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNSC_12format_specsERT0_NSC_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIcE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS8_18default_sentinel_tEEEeEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNSC_12format_specsERT0_NSC_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E0_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEEEeEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNS0_6detail12format_specsERT0_NSQ_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEEEeEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNS0_6detail12format_specsERT0_NSQ_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E0_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIcE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKcSD_EEeEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS0_6detail12format_specsERT0_NSO_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIcE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKcSD_EEeEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS0_6detail12format_specsERT0_NSO_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E0_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_24read_until_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS7_18default_sentinel_tEEEEEEEDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESK_EUlDiE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_23custom_word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEEEcEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESN_RKNSD_12format_specsERNSL_12basic_stringIT0_NSL_11char_traitsISX_EENSL_9allocatorISX_EEEEEUlcE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIKZNKS1_25character_set_reader_implIcE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESN_NS6_12specs_helperEEUlDiE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIKZNKS1_25character_set_reader_implIcE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESN_NS6_12specs_helperEEUlcE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_24read_until_classic_spaceINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESI_EUlDiE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_23custom_word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS8_18default_sentinel_tEEEcEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNSC_12format_specsERNSJ_12basic_stringIT0_NSJ_11char_traitsISV_EENSJ_9allocatorISV_EEEEEUlcE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIKZNKS1_25character_set_reader_implIcE16read_source_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS8_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_NS6_12specs_helperEEUlDiE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIKZNKS1_25character_set_reader_implIcE16read_source_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS8_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_NS6_12specs_helperEEUlcE_EEDaNS3_7storageE _ZN3scn2v34impl12fnref_detail4base3getIZNS1_24read_until_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSC_EEEEEEDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESH_EUlDiE_EEDaNS3_7storageE Line | Count | Source | 683 | 7.53k | { | 684 | | if constexpr (std::is_const_v<T>) { | 685 | | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | 7.53k | else if constexpr (std::is_object_v<T>) { | 688 | 7.53k | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 7.53k | } |
_ZN3scn2v34impl12fnref_detail4base3getIZNS1_23custom_word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEEEcEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNS0_6detail12format_specsERNSI_12basic_stringIT0_NSI_11char_traitsISV_EENSI_9allocatorISV_EEEEEUlcE_EEDaNS3_7storageE Line | Count | Source | 683 | 620 | { | 684 | | if constexpr (std::is_const_v<T>) { | 685 | | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | 620 | else if constexpr (std::is_object_v<T>) { | 688 | 620 | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 620 | } |
_ZN3scn2v34impl12fnref_detail4base3getIKZNKS1_25character_set_reader_implIcE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_NS6_12specs_helperEEUlDiE_EEDaNS3_7storageE Line | Count | Source | 683 | 10.0k | { | 684 | 10.0k | if constexpr (std::is_const_v<T>) { | 685 | 10.0k | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | | else if constexpr (std::is_object_v<T>) { | 688 | | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 10.0k | } |
_ZN3scn2v34impl12fnref_detail4base3getIKZNKS1_25character_set_reader_implIcE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_NS6_12specs_helperEEUlcE_EEDaNS3_7storageE Line | Count | Source | 683 | 5.28k | { | 684 | 5.28k | if constexpr (std::is_const_v<T>) { | 685 | 5.28k | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | | else if constexpr (std::is_object_v<T>) { | 688 | | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 5.28k | } |
_ZN3scn2v34impl12fnref_detail4base3getIZNS1_23custom_word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeIPKcSD_EEcEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS0_6detail12format_specsERNSG_12basic_stringIT0_NSG_11char_traitsIST_EENSG_9allocatorIST_EEEEEUlcE_EEDaNS3_7storageE Line | Count | Source | 683 | 698 | { | 684 | | if constexpr (std::is_const_v<T>) { | 685 | | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | 698 | else if constexpr (std::is_object_v<T>) { | 688 | 698 | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 698 | } |
_ZN3scn2v34impl12fnref_detail4base3getIKZNKS1_25character_set_reader_implIcE16read_source_implINS0_6ranges6detail9subrange_8subrangeIPKcSD_EEEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_NS6_12specs_helperEEUlDiE_EEDaNS3_7storageE Line | Count | Source | 683 | 274k | { | 684 | 274k | if constexpr (std::is_const_v<T>) { | 685 | 274k | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | | else if constexpr (std::is_object_v<T>) { | 688 | | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 274k | } |
_ZN3scn2v34impl12fnref_detail4base3getIKZNKS1_25character_set_reader_implIcE16read_source_implINS0_6ranges6detail9subrange_8subrangeIPKcSD_EEEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_NS6_12specs_helperEEUlcE_EEDaNS3_7storageE Line | Count | Source | 683 | 3.38k | { | 684 | 3.38k | if constexpr (std::is_const_v<T>) { | 685 | 3.38k | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | | else if constexpr (std::is_object_v<T>) { | 688 | | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 3.38k | } |
Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_23custom_word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEEEwEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESN_RKNSD_12format_specsERNSL_12basic_stringIT0_NSL_11char_traitsISX_EENSL_9allocatorISX_EEEEEUlcE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_23custom_word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS8_18default_sentinel_tEEEwEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNSC_12format_specsERNSJ_12basic_stringIT0_NSJ_11char_traitsISV_EENSJ_9allocatorISV_EEEEEUlcE_EEDaNS3_7storageE _ZN3scn2v34impl12fnref_detail4base3getIZNS1_23custom_word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEEEwEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNS0_6detail12format_specsERNSI_12basic_stringIT0_NSI_11char_traitsISV_EENSI_9allocatorISV_EEEEEUlcE_EEDaNS3_7storageE Line | Count | Source | 683 | 620 | { | 684 | | if constexpr (std::is_const_v<T>) { | 685 | | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | 620 | else if constexpr (std::is_object_v<T>) { | 688 | 620 | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 620 | } |
_ZN3scn2v34impl12fnref_detail4base3getIZNS1_23custom_word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeIPKcSD_EEwEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS0_6detail12format_specsERNSG_12basic_stringIT0_NSG_11char_traitsIST_EENSG_9allocatorIST_EEEEEUlcE_EEDaNS3_7storageE Line | Count | Source | 683 | 698 | { | 684 | | if constexpr (std::is_const_v<T>) { | 685 | | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | 698 | else if constexpr (std::is_object_v<T>) { | 688 | 698 | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 698 | } |
Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_23custom_word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEEEcEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESN_RKNSD_12format_specsERNSL_17basic_string_viewIT0_NSL_11char_traitsISX_EEEEEUlcE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_23custom_word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS8_18default_sentinel_tEEEcEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNSC_12format_specsERNSJ_17basic_string_viewIT0_NSJ_11char_traitsISV_EEEEEUlcE_EEDaNS3_7storageE _ZN3scn2v34impl12fnref_detail4base3getIZNS1_23custom_word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEEEcEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNS0_6detail12format_specsERNSI_17basic_string_viewIT0_NSI_11char_traitsISV_EEEEEUlcE_EEDaNS3_7storageE Line | Count | Source | 683 | 620 | { | 684 | | if constexpr (std::is_const_v<T>) { | 685 | | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | 620 | else if constexpr (std::is_object_v<T>) { | 688 | 620 | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 620 | } |
_ZN3scn2v34impl12fnref_detail4base3getIZNS1_23custom_word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeIPKcSD_EEcEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS0_6detail12format_specsERNSG_17basic_string_viewIT0_NSG_11char_traitsIST_EEEEEUlcE_EEDaNS3_7storageE Line | Count | Source | 683 | 698 | { | 684 | | if constexpr (std::is_const_v<T>) { | 685 | | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | 698 | else if constexpr (std::is_object_v<T>) { | 688 | 698 | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 698 | } |
Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_23custom_word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEEEwEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESN_RKNSD_12format_specsERNSL_17basic_string_viewIT0_NSL_11char_traitsISX_EEEEEUlcE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_23custom_word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS8_18default_sentinel_tEEEwEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNSC_12format_specsERNSJ_17basic_string_viewIT0_NSJ_11char_traitsISV_EEEEEUlcE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_23custom_word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEEEwEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNS0_6detail12format_specsERNSI_17basic_string_viewIT0_NSI_11char_traitsISV_EEEEEUlcE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_23custom_word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeIPKcSD_EEwEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS0_6detail12format_specsERNSG_17basic_string_viewIT0_NSG_11char_traitsIST_EEEEEUlcE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_24read_while_classic_spaceINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESI_EUlDiE_EEDaNS3_7storageE auto scn::v3::impl::fnref_detail::base::get<std::__1::__not_fn_t<scn::v3::impl::function_ref<bool (wchar_t), bool (wchar_t)> > >(scn::v3::impl::fnref_detail::base::storage) Line | Count | Source | 683 | 2.84k | { | 684 | | if constexpr (std::is_const_v<T>) { | 685 | | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | 2.84k | else if constexpr (std::is_object_v<T>) { | 688 | 2.84k | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 2.84k | } |
Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIKZNS1_9skip_fillINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS7_18default_sentinel_tEEEEEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS7_5beginEEclsr3stdE7declvalIRT_EEEElEEEESL_lRKNSB_9fill_typeEbEUlwE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_24read_while_classic_spaceINS1_15take_width_viewINS6_INS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS7_18default_sentinel_tEEEEEEEEEDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESL_EUlDiE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_24read_while_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS7_18default_sentinel_tEEEEEEEDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESK_EUlDiE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIKZNS1_9skip_fillINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRT_EEEElEEEESJ_lRKNSA_9fill_typeEbEUlwE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_34parse_integer_digits_without_thsepINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEENS1_15take_width_viewINS9_ISF_SG_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_iEUlwE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_34parse_integer_digits_without_thsepINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_iEUlwE_EEDaNS3_7storageE auto scn::v3::impl::fnref_detail::base::get<scn::v3::impl::calculate_text_width<wchar_t>(std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> >)::{lambda(char32_t)#1}>(scn::v3::impl::fnref_detail::base::storage)Line | Count | Source | 683 | 7.38k | { | 684 | | if constexpr (std::is_const_v<T>) { | 685 | | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | 7.38k | else if constexpr (std::is_object_v<T>) { | 688 | 7.38k | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 7.38k | } |
Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIKZNS1_9skip_fillINS1_15take_width_viewINSt3__117basic_string_viewIwNS7_11char_traitsIwEEEEEEEENS0_13scan_expectedINS7_4pairIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT_EEEElEEEESG_lRKNS0_6detail9fill_typeEbEUlwE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_24read_while_classic_spaceINS1_15take_width_viewINS6_INSt3__117basic_string_viewIwNS7_11char_traitsIwEEEEEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS7_9add_constIT_E4typeEEEEESG_EUlDiE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_24read_while_classic_spaceINS1_15take_width_viewINSt3__117basic_string_viewIwNS7_11char_traitsIwEEEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS7_9add_constIT_E4typeEEEEESF_EUlDiE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIKZNS1_9skip_fillINSt3__117basic_string_viewIwNS6_11char_traitsIwEEEEEENS0_13scan_expectedINS6_4pairIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT_EEEElEEEESE_lRKNS0_6detail9fill_typeEbEUlwE_EEDaNS3_7storageE _ZN3scn2v34impl12fnref_detail4base3getIZNS1_24read_while_classic_spaceINSt3__117basic_string_viewIwNS6_11char_traitsIwEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS6_9add_constIT_E4typeEEEEESD_EUlDiE_EEDaNS3_7storageE Line | Count | Source | 683 | 1.79k | { | 684 | | if constexpr (std::is_const_v<T>) { | 685 | | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | 1.79k | else if constexpr (std::is_object_v<T>) { | 688 | 1.79k | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 1.79k | } |
_ZN3scn2v34impl12fnref_detail4base3getIZNS1_34parse_integer_digits_without_thsepINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSD_EENS1_15take_width_viewINS9_ISD_SD_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_iEUlwE_EEDaNS3_7storageE Line | Count | Source | 683 | 326 | { | 684 | | if constexpr (std::is_const_v<T>) { | 685 | | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | 326 | else if constexpr (std::is_object_v<T>) { | 688 | 326 | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 326 | } |
_ZN3scn2v34impl12fnref_detail4base3getIKZNS1_9skip_fillINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRT_EEEElEEEESG_lRKNS0_6detail9fill_typeEbEUlwE_EEDaNS3_7storageE Line | Count | Source | 683 | 960 | { | 684 | 960 | if constexpr (std::is_const_v<T>) { | 685 | 960 | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | | else if constexpr (std::is_object_v<T>) { | 688 | | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 960 | } |
_ZN3scn2v34impl12fnref_detail4base3getIZNS1_24read_while_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSC_EEEEEEDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESH_EUlDiE_EEDaNS3_7storageE Line | Count | Source | 683 | 276 | { | 684 | | if constexpr (std::is_const_v<T>) { | 685 | | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | 276 | else if constexpr (std::is_object_v<T>) { | 688 | 276 | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 276 | } |
_ZN3scn2v34impl12fnref_detail4base3getIZNS1_24read_while_classic_spaceINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESF_EUlDiE_EEDaNS3_7storageE Line | Count | Source | 683 | 186k | { | 684 | | if constexpr (std::is_const_v<T>) { | 685 | | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | 186k | else if constexpr (std::is_object_v<T>) { | 688 | 186k | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 186k | } |
Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEEEfEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESN_RKNSD_12format_specsERT0_NSD_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_12float_readerIwE8read_nanINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS8_18default_sentinel_tEEENS1_15take_width_viewINSB_ISH_SI_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEEST_EUlwE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_12float_readerIwE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS8_18default_sentinel_tEEENS1_15take_width_viewINSB_ISH_SI_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEEST_bEUlwE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_12float_readerIwE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS8_18default_sentinel_tEEENS1_15take_width_viewINSB_ISH_SI_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEEST_bEUlwE0_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_12float_readerIwE13read_exponentINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS8_18default_sentinel_tEEENS1_15take_width_viewINSB_ISH_SI_EEE8sentinelILb1EEEEEEEDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESS_NSQ_17basic_string_viewIcNSQ_11char_traitsIcEEEEEUlwE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_12float_readerIwE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS8_18default_sentinel_tEEENS1_15take_width_viewINSB_ISH_SI_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEEST_bEUlwE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_12float_readerIwE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS8_18default_sentinel_tEEENS1_15take_width_viewINSB_ISH_SI_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEEST_bEUlwE0_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEEEfEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESN_RKNSD_12format_specsERT0_NSD_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E0_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIwE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS8_18default_sentinel_tEEEfEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNSC_12format_specsERT0_NSC_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_12float_readerIwE8read_nanINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS8_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_EUlwE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_12float_readerIwE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS8_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_bEUlwE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_12float_readerIwE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS8_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_bEUlwE0_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_12float_readerIwE13read_exponentINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS8_18default_sentinel_tEEEEEDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESK_NSI_17basic_string_viewIcNSI_11char_traitsIcEEEEEUlwE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_12float_readerIwE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS8_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_bEUlwE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_12float_readerIwE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS8_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_bEUlwE0_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIwE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS8_18default_sentinel_tEEEfEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNSC_12format_specsERT0_NSC_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E0_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEEEfEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNS0_6detail12format_specsERT0_NSQ_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_12float_readerIwE8read_nanINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSF_EENS1_15take_width_viewINSB_ISF_SF_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESQ_EUlwE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_12float_readerIwE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSF_EENS1_15take_width_viewINSB_ISF_SF_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESQ_bEUlwE_EEDaNS3_7storageE _ZN3scn2v34impl12fnref_detail4base3getIZNS1_12float_readerIwE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSF_EENS1_15take_width_viewINSB_ISF_SF_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESQ_bEUlwE0_EEDaNS3_7storageE Line | Count | Source | 683 | 6 | { | 684 | | if constexpr (std::is_const_v<T>) { | 685 | | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | 6 | else if constexpr (std::is_object_v<T>) { | 688 | 6 | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 6 | } |
Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_12float_readerIwE13read_exponentINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSF_EENS1_15take_width_viewINSB_ISF_SF_EEE8sentinelILb1EEEEEEEDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESP_NSN_17basic_string_viewIcNSN_11char_traitsIcEEEEEUlwE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_12float_readerIwE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSF_EENS1_15take_width_viewINSB_ISF_SF_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESQ_bEUlwE_EEDaNS3_7storageE _ZN3scn2v34impl12fnref_detail4base3getIZNS1_12float_readerIwE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSF_EENS1_15take_width_viewINSB_ISF_SF_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESQ_bEUlwE0_EEDaNS3_7storageE Line | Count | Source | 683 | 104 | { | 684 | | if constexpr (std::is_const_v<T>) { | 685 | | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | 104 | else if constexpr (std::is_object_v<T>) { | 688 | 104 | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 104 | } |
Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEEEfEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNS0_6detail12format_specsERT0_NSQ_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E0_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIwE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKwSD_EEfEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS0_6detail12format_specsERT0_NSO_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_12float_readerIwE8read_nanINS0_6ranges6detail9subrange_8subrangeIPKwSD_EEEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_EUlwE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_12float_readerIwE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeIPKwSD_EEEENS1_14parse_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_bEUlwE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_12float_readerIwE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeIPKwSD_EEEENS1_14parse_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_bEUlwE0_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_12float_readerIwE13read_exponentINS0_6ranges6detail9subrange_8subrangeIPKwSD_EEEEDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESH_NSF_17basic_string_viewIcNSF_11char_traitsIcEEEEEUlwE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_12float_readerIwE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeIPKwSD_EEEENS1_14parse_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_bEUlwE_EEDaNS3_7storageE _ZN3scn2v34impl12fnref_detail4base3getIZNS1_12float_readerIwE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeIPKwSD_EEEENS1_14parse_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_bEUlwE0_EEDaNS3_7storageE Line | Count | Source | 683 | 8 | { | 684 | | if constexpr (std::is_const_v<T>) { | 685 | | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | 8 | else if constexpr (std::is_object_v<T>) { | 688 | 8 | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 8 | } |
Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIwE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKwSD_EEfEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS0_6detail12format_specsERT0_NSO_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E0_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEEEdEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESN_RKNSD_12format_specsERT0_NSD_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEEEdEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESN_RKNSD_12format_specsERT0_NSD_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E0_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIwE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS8_18default_sentinel_tEEEdEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNSC_12format_specsERT0_NSC_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIwE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS8_18default_sentinel_tEEEdEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNSC_12format_specsERT0_NSC_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E0_EEDaNS3_7storageE _ZN3scn2v34impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEEEdEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNS0_6detail12format_specsERT0_NSQ_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E_EEDaNS3_7storageE Line | Count | Source | 683 | 8 | { | 684 | | if constexpr (std::is_const_v<T>) { | 685 | | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | 8 | else if constexpr (std::is_object_v<T>) { | 688 | 8 | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 8 | } |
_ZN3scn2v34impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEEEdEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNS0_6detail12format_specsERT0_NSQ_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E0_EEDaNS3_7storageE Line | Count | Source | 683 | 102 | { | 684 | | if constexpr (std::is_const_v<T>) { | 685 | | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | 102 | else if constexpr (std::is_object_v<T>) { | 688 | 102 | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 102 | } |
_ZN3scn2v34impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIwE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKwSD_EEdEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS0_6detail12format_specsERT0_NSO_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E_EEDaNS3_7storageE Line | Count | Source | 683 | 8 | { | 684 | | if constexpr (std::is_const_v<T>) { | 685 | | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | 8 | else if constexpr (std::is_object_v<T>) { | 688 | 8 | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 8 | } |
_ZN3scn2v34impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIwE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKwSD_EEdEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS0_6detail12format_specsERT0_NSO_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E0_EEDaNS3_7storageE Line | Count | Source | 683 | 314 | { | 684 | | if constexpr (std::is_const_v<T>) { | 685 | | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | 314 | else if constexpr (std::is_object_v<T>) { | 688 | 314 | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 314 | } |
Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEEEeEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESN_RKNSD_12format_specsERT0_NSD_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEEEeEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESN_RKNSD_12format_specsERT0_NSD_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E0_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIwE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS8_18default_sentinel_tEEEeEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNSC_12format_specsERT0_NSC_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIwE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS8_18default_sentinel_tEEEeEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNSC_12format_specsERT0_NSC_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E0_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEEEeEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNS0_6detail12format_specsERT0_NSQ_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEEEeEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNS0_6detail12format_specsERT0_NSQ_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E0_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIwE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKwSD_EEeEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS0_6detail12format_specsERT0_NSO_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIwE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKwSD_EEeEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS0_6detail12format_specsERT0_NSO_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E0_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_24read_until_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS7_18default_sentinel_tEEEEEEEDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESK_EUlDiE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_23custom_word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEEEcEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESN_RKNSD_12format_specsERNSL_12basic_stringIT0_NSL_11char_traitsISX_EENSL_9allocatorISX_EEEEEUlwE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIKZNKS1_25character_set_reader_implIwE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESN_NS6_12specs_helperEEUlDiE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIKZNKS1_25character_set_reader_implIwE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESN_NS6_12specs_helperEEUlwE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_24read_until_classic_spaceINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESI_EUlDiE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_23custom_word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS8_18default_sentinel_tEEEcEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNSC_12format_specsERNSJ_12basic_stringIT0_NSJ_11char_traitsISV_EENSJ_9allocatorISV_EEEEEUlwE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIKZNKS1_25character_set_reader_implIwE16read_source_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS8_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_NS6_12specs_helperEEUlDiE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIKZNKS1_25character_set_reader_implIwE16read_source_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS8_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_NS6_12specs_helperEEUlwE_EEDaNS3_7storageE _ZN3scn2v34impl12fnref_detail4base3getIZNS1_24read_until_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSC_EEEEEEDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESH_EUlDiE_EEDaNS3_7storageE Line | Count | Source | 683 | 6.03k | { | 684 | | if constexpr (std::is_const_v<T>) { | 685 | | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | 6.03k | else if constexpr (std::is_object_v<T>) { | 688 | 6.03k | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 6.03k | } |
_ZN3scn2v34impl12fnref_detail4base3getIZNS1_23custom_word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEEEcEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNS0_6detail12format_specsERNSI_12basic_stringIT0_NSI_11char_traitsISV_EENSI_9allocatorISV_EEEEEUlwE_EEDaNS3_7storageE Line | Count | Source | 683 | 338 | { | 684 | | if constexpr (std::is_const_v<T>) { | 685 | | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | 338 | else if constexpr (std::is_object_v<T>) { | 688 | 338 | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 338 | } |
_ZN3scn2v34impl12fnref_detail4base3getIKZNKS1_25character_set_reader_implIwE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_NS6_12specs_helperEEUlDiE_EEDaNS3_7storageE Line | Count | Source | 683 | 1.69k | { | 684 | 1.69k | if constexpr (std::is_const_v<T>) { | 685 | 1.69k | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | | else if constexpr (std::is_object_v<T>) { | 688 | | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 1.69k | } |
_ZN3scn2v34impl12fnref_detail4base3getIKZNKS1_25character_set_reader_implIwE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_NS6_12specs_helperEEUlwE_EEDaNS3_7storageE Line | Count | Source | 683 | 264 | { | 684 | 264 | if constexpr (std::is_const_v<T>) { | 685 | 264 | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | | else if constexpr (std::is_object_v<T>) { | 688 | | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 264 | } |
_ZN3scn2v34impl12fnref_detail4base3getIZNS1_24read_until_classic_spaceINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESF_EUlDiE_EEDaNS3_7storageE Line | Count | Source | 683 | 22.8k | { | 684 | | if constexpr (std::is_const_v<T>) { | 685 | | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | 22.8k | else if constexpr (std::is_object_v<T>) { | 688 | 22.8k | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 22.8k | } |
_ZN3scn2v34impl12fnref_detail4base3getIZNS1_23custom_word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeIPKwSD_EEcEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS0_6detail12format_specsERNSG_12basic_stringIT0_NSG_11char_traitsIST_EENSG_9allocatorIST_EEEEEUlwE_EEDaNS3_7storageE Line | Count | Source | 683 | 486 | { | 684 | | if constexpr (std::is_const_v<T>) { | 685 | | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | 486 | else if constexpr (std::is_object_v<T>) { | 688 | 486 | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 486 | } |
_ZN3scn2v34impl12fnref_detail4base3getIKZNKS1_25character_set_reader_implIwE16read_source_implINS0_6ranges6detail9subrange_8subrangeIPKwSD_EEEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_NS6_12specs_helperEEUlDiE_EEDaNS3_7storageE Line | Count | Source | 683 | 4.33k | { | 684 | 4.33k | if constexpr (std::is_const_v<T>) { | 685 | 4.33k | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | | else if constexpr (std::is_object_v<T>) { | 688 | | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 4.33k | } |
_ZN3scn2v34impl12fnref_detail4base3getIKZNKS1_25character_set_reader_implIwE16read_source_implINS0_6ranges6detail9subrange_8subrangeIPKwSD_EEEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_NS6_12specs_helperEEUlwE_EEDaNS3_7storageE Line | Count | Source | 683 | 1.27k | { | 684 | 1.27k | if constexpr (std::is_const_v<T>) { | 685 | 1.27k | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | | else if constexpr (std::is_object_v<T>) { | 688 | | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 1.27k | } |
Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_23custom_word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEEEwEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESN_RKNSD_12format_specsERNSL_12basic_stringIT0_NSL_11char_traitsISX_EENSL_9allocatorISX_EEEEEUlwE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_23custom_word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS8_18default_sentinel_tEEEwEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNSC_12format_specsERNSJ_12basic_stringIT0_NSJ_11char_traitsISV_EENSJ_9allocatorISV_EEEEEUlwE_EEDaNS3_7storageE _ZN3scn2v34impl12fnref_detail4base3getIZNS1_23custom_word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEEEwEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNS0_6detail12format_specsERNSI_12basic_stringIT0_NSI_11char_traitsISV_EENSI_9allocatorISV_EEEEEUlwE_EEDaNS3_7storageE Line | Count | Source | 683 | 338 | { | 684 | | if constexpr (std::is_const_v<T>) { | 685 | | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | 338 | else if constexpr (std::is_object_v<T>) { | 688 | 338 | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 338 | } |
_ZN3scn2v34impl12fnref_detail4base3getIZNS1_23custom_word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeIPKwSD_EEwEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS0_6detail12format_specsERNSG_12basic_stringIT0_NSG_11char_traitsIST_EENSG_9allocatorIST_EEEEEUlwE_EEDaNS3_7storageE Line | Count | Source | 683 | 486 | { | 684 | | if constexpr (std::is_const_v<T>) { | 685 | | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | 486 | else if constexpr (std::is_object_v<T>) { | 688 | 486 | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 486 | } |
Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_23custom_word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEEEcEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESN_RKNSD_12format_specsERNSL_17basic_string_viewIT0_NSL_11char_traitsISX_EEEEEUlwE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_23custom_word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS8_18default_sentinel_tEEEcEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNSC_12format_specsERNSJ_17basic_string_viewIT0_NSJ_11char_traitsISV_EEEEEUlwE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_23custom_word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEEEcEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNS0_6detail12format_specsERNSI_17basic_string_viewIT0_NSI_11char_traitsISV_EEEEEUlwE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_23custom_word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeIPKwSD_EEcEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS0_6detail12format_specsERNSG_17basic_string_viewIT0_NSG_11char_traitsIST_EEEEEUlwE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_23custom_word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEEEwEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESN_RKNSD_12format_specsERNSL_17basic_string_viewIT0_NSL_11char_traitsISX_EEEEEUlwE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_23custom_word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS8_18default_sentinel_tEEEwEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNSC_12format_specsERNSJ_17basic_string_viewIT0_NSJ_11char_traitsISV_EEEEEUlwE_EEDaNS3_7storageE _ZN3scn2v34impl12fnref_detail4base3getIZNS1_23custom_word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEEEwEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNS0_6detail12format_specsERNSI_17basic_string_viewIT0_NSI_11char_traitsISV_EEEEEUlwE_EEDaNS3_7storageE Line | Count | Source | 683 | 338 | { | 684 | | if constexpr (std::is_const_v<T>) { | 685 | | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | 338 | else if constexpr (std::is_object_v<T>) { | 688 | 338 | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 338 | } |
_ZN3scn2v34impl12fnref_detail4base3getIZNS1_23custom_word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeIPKwSD_EEwEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS0_6detail12format_specsERNSG_17basic_string_viewIT0_NSG_11char_traitsIST_EEEEEUlwE_EEDaNS3_7storageE Line | Count | Source | 683 | 486 | { | 684 | | if constexpr (std::is_const_v<T>) { | 685 | | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | 486 | else if constexpr (std::is_object_v<T>) { | 688 | 486 | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 486 | } |
Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_24read_while_classic_spaceINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESI_EUlDiE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_24read_until_classic_spaceINSt3__117basic_string_viewIwNS6_11char_traitsIwEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS6_9add_constIT_E4typeEEEEESD_EUlDiE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKcSD_EEfEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_NS0_6detail10locale_refEEUlRNS1_12float_readerIcEEDpOT_E_EEDaNS3_7storageE _ZN3scn2v34impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKcSD_EEdEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_NS0_6detail10locale_refEEUlRNS1_12float_readerIcEEDpOT_E_EEDaNS3_7storageE Line | Count | Source | 683 | 636 | { | 684 | | if constexpr (std::is_const_v<T>) { | 685 | | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | 636 | else if constexpr (std::is_object_v<T>) { | 688 | 636 | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 636 | } |
Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKcSD_EEeEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_NS0_6detail10locale_refEEUlRNS1_12float_readerIcEEDpOT_E_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS8_18default_sentinel_tEEEfEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RT0_NSC_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS8_18default_sentinel_tEEEdEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RT0_NSC_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS8_18default_sentinel_tEEEeEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RT0_NSC_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E_EEDaNS3_7storageE _ZN3scn2v34impl12fnref_detail4base3getIKZNS1_9skip_fillINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSC_EEEEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS7_5beginEEclsr3stdE7declvalIRT_EEEElEEEESI_lRKNS0_6detail9fill_typeEbEUlcE_EEDaNS3_7storageE Line | Count | Source | 683 | 606 | { | 684 | 606 | if constexpr (std::is_const_v<T>) { | 685 | 606 | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | | else if constexpr (std::is_object_v<T>) { | 688 | | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 606 | } |
_ZN3scn2v34impl12fnref_detail4base3getIZNS1_24read_while_classic_spaceINS1_15take_width_viewINS6_INS0_6ranges6detail9subrange_8subrangeIPKcSC_EEEEEEEEDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESI_EUlDiE_EEDaNS3_7storageE Line | Count | Source | 683 | 2.96k | { | 684 | | if constexpr (std::is_const_v<T>) { | 685 | | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | 2.96k | else if constexpr (std::is_object_v<T>) { | 688 | 2.96k | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 2.96k | } |
Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKwSD_EEfEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_NS0_6detail10locale_refEEUlRNS1_12float_readerIwEEDpOT_E_EEDaNS3_7storageE _ZN3scn2v34impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKwSD_EEdEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_NS0_6detail10locale_refEEUlRNS1_12float_readerIwEEDpOT_E_EEDaNS3_7storageE Line | Count | Source | 683 | 474 | { | 684 | | if constexpr (std::is_const_v<T>) { | 685 | | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | 474 | else if constexpr (std::is_object_v<T>) { | 688 | 474 | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 474 | } |
Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKwSD_EEeEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_NS0_6detail10locale_refEEUlRNS1_12float_readerIwEEDpOT_E_EEDaNS3_7storageE _ZN3scn2v34impl12fnref_detail4base3getIKZNS1_9skip_fillINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSC_EEEEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS7_5beginEEclsr3stdE7declvalIRT_EEEElEEEESI_lRKNS0_6detail9fill_typeEbEUlwE_EEDaNS3_7storageE Line | Count | Source | 683 | 296 | { | 684 | 296 | if constexpr (std::is_const_v<T>) { | 685 | 296 | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | | else if constexpr (std::is_object_v<T>) { | 688 | | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 296 | } |
_ZN3scn2v34impl12fnref_detail4base3getIZNS1_24read_while_classic_spaceINS1_15take_width_viewINS6_INS0_6ranges6detail9subrange_8subrangeIPKwSC_EEEEEEEEDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESI_EUlDiE_EEDaNS3_7storageE Line | Count | Source | 683 | 714 | { | 684 | | if constexpr (std::is_const_v<T>) { | 685 | | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | 714 | else if constexpr (std::is_object_v<T>) { | 688 | 714 | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 714 | } |
Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS8_18default_sentinel_tEEEfEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RT0_NSC_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS8_18default_sentinel_tEEEdEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RT0_NSC_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v34impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS8_18default_sentinel_tEEEeEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RT0_NSC_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E_EEDaNS3_7storageE |
694 | | }; |
695 | | } // namespace fnref_detail |
696 | | |
697 | | template <typename Sig, |
698 | | typename = typename fnref_detail::qual_fn_sig<Sig>::function> |
699 | | class function_ref; |
700 | | |
701 | | template <typename Sig, typename R, typename... Args> |
702 | | class function_ref<Sig, R(Args...)> : fnref_detail::base { |
703 | | using signature = fnref_detail::qual_fn_sig<Sig>; |
704 | | |
705 | | template <typename T> |
706 | | using cv = typename signature::template cv<T>; |
707 | | template <typename T> |
708 | | using cvref = cv<T>&; |
709 | | static constexpr bool noex = signature::is_noexcept; |
710 | | |
711 | | template <typename... T> |
712 | | static constexpr bool is_invocable_using = |
713 | | signature::template is_invocable_using<T...>; |
714 | | |
715 | | using fwd_t = R(storage, fnref_detail::param_t<Args>...) noexcept(noex); |
716 | | |
717 | | public: |
718 | | template <typename F, |
719 | | std::enable_if_t<std::is_function_v<F> && |
720 | | is_invocable_using<F>>* = nullptr> |
721 | | /*implicit*/ function_ref(F* f) noexcept |
722 | | : m_fptr([](storage fn, |
723 | | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { |
724 | | if constexpr (std::is_void_v<R>) { |
725 | | get<F>(fn)(static_cast<decltype(args)>(args)...); |
726 | | } |
727 | | else { |
728 | | return get<F>(fn)(static_cast<decltype(args)>(args)...); |
729 | | } |
730 | | }), |
731 | | m_storage(f) |
732 | | { |
733 | | SCN_EXPECT(f != nullptr); |
734 | | } |
735 | | |
736 | | template <typename F, |
737 | | typename T = std::remove_reference_t<F>, |
738 | | std::enable_if_t<detail::is_not_self<F, function_ref> && |
739 | | !std::is_member_pointer_v<T> && |
740 | | is_invocable_using<cvref<T>>>* = nullptr> |
741 | | /*implicit*/ constexpr function_ref(F&& f) noexcept |
742 | 428k | : m_fptr([](storage fn, |
743 | 1.07M | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { |
744 | 1.07M | cvref<T> obj = *get<T>(fn); |
745 | 1.07M | if constexpr (std::is_void_v<R>) { |
746 | 46.3k | obj(static_cast<decltype(args)>(args)...); |
747 | | } |
748 | 1.03M | else { |
749 | 1.03M | return obj(static_cast<decltype(args)>(args)...); |
750 | 1.03M | } |
751 | 1.07M | }), _ZZN3scn2v34impl12function_refIFbcES3_EC1INSt3__110__not_fn_tIS4_EES8_TnPNS6_9enable_ifIXaaaasr6detailE11is_not_selfIT_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSB_EEvE4typeELPv0EEEOSA_ENKUlNS1_12fnref_detail4base7storageEcE_clESK_c Line | Count | Source | 743 | 7.38k | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 7.38k | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 7.38k | else { | 749 | 7.38k | return obj(static_cast<decltype(args)>(args)...); | 750 | 7.38k | } | 751 | 7.38k | }), |
Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFbcES3_EC1IRKZNS1_9skip_fillINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS8_18default_sentinel_tEEEEEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRT_EEEElEEEESM_lRKNSC_9fill_typeEbEUlcE_SV_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSY_EEvE4typeELPv0EEEOSM_ENKUlNS1_12fnref_detail4base7storageEcE_clES17_c _ZZN3scn2v34impl12function_refIFbDiES3_EC1INSt3__110__not_fn_tIS4_EES8_TnPNS6_9enable_ifIXaaaasr6detailE11is_not_selfIT_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSB_EEvE4typeELPv0EEEOSA_ENKUlNS1_12fnref_detail4base7storageEDiE_clESK_Di Line | Count | Source | 743 | 476k | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 476k | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 476k | else { | 749 | 476k | return obj(static_cast<decltype(args)>(args)...); | 750 | 476k | } | 751 | 476k | }), |
Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFbDiES3_EC1IZNS1_24read_while_classic_spaceINS1_15take_width_viewINS7_INS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS8_18default_sentinel_tEEEEEEEEEDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESM_EUlDiE_SR_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRST_EEvE4typeELPv0EEEOSM_ENKUlNS1_12fnref_detail4base7storageEDiE_clES12_Di Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFbDiES3_EC1IZNS1_24read_while_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS8_18default_sentinel_tEEEEEEEDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESL_EUlDiE_SQ_TnPNSJ_9enable_ifIXaaaasr6detailE11is_not_selfISL_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSS_EEvE4typeELPv0EEEOSL_ENKUlNS1_12fnref_detail4base7storageEDiE_clES11_Di Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFbcES3_EC1IRKZNS1_9skip_fillINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS7_18default_sentinel_tEEEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS7_5beginEEclsr3stdE7declvalIRT_EEEElEEEESK_lRKNSB_9fill_typeEbEUlcE_ST_TnPNSI_9enable_ifIXaaaasr6detailE11is_not_selfISK_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSW_EEvE4typeELPv0EEEOSK_ENKUlNS1_12fnref_detail4base7storageEcE_clES15_c Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFbcES3_EC1IZNS1_34parse_integer_digits_without_thsepINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS7_18default_sentinel_tEEENS1_15take_width_viewINSA_ISG_SH_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESS_iEUlcE_SY_TnPNSQ_9enable_ifIXaaaasr6detailE11is_not_selfISS_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRS10_EEvE4typeELPv0EEEOSS_ENKUlNS1_12fnref_detail4base7storageEcE_clES19_c Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFbcES3_EC1IZNS1_34parse_integer_digits_without_thsepINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS7_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_iEUlcE_SQ_TnPNSI_9enable_ifIXaaaasr6detailE11is_not_selfISK_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSS_EEvE4typeELPv0EEEOSK_ENKUlNS1_12fnref_detail4base7storageEcE_clES11_c _ZZN3scn2v34impl12function_refIFvDiES3_EC1IZNS1_20calculate_text_widthIcEEmNSt3__117basic_string_viewIT_NS7_11char_traitsIS9_EEEEEUlDiE_SD_TnPNS7_9enable_ifIXaaaasr6detailE11is_not_selfIS9_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSF_EEvE4typeELPv0EEEOS9_ENKUlNS1_12fnref_detail4base7storageEDiE_clESO_Di Line | Count | Source | 743 | 38.9k | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 38.9k | cvref<T> obj = *get<T>(fn); | 745 | 38.9k | if constexpr (std::is_void_v<R>) { | 746 | 38.9k | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | | else { | 749 | | return obj(static_cast<decltype(args)>(args)...); | 750 | | } | 751 | 38.9k | }), |
Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFbcES3_EC1IRKZNS1_9skip_fillINS1_15take_width_viewINSt3__117basic_string_viewIcNS8_11char_traitsIcEEEEEEEENS0_13scan_expectedINS8_4pairIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT_EEEElEEEESH_lRKNS0_6detail9fill_typeEbEUlcE_SR_TnPNS8_9enable_ifIXaaaasr6detailE11is_not_selfISH_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSH_ENKUlNS1_12fnref_detail4base7storageEcE_clES13_c Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFbDiES3_EC1IZNS1_24read_while_classic_spaceINS1_15take_width_viewINS7_INSt3__117basic_string_viewIcNS8_11char_traitsIcEEEEEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS8_9add_constIT_E4typeEEEEESH_EUlDiE_SM_TnPNS8_9enable_ifIXaaaasr6detailE11is_not_selfISH_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSO_EEvE4typeELPv0EEEOSH_ENKUlNS1_12fnref_detail4base7storageEDiE_clESX_Di Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFbDiES3_EC1IZNS1_24read_while_classic_spaceINS1_15take_width_viewINSt3__117basic_string_viewIcNS8_11char_traitsIcEEEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS8_9add_constIT_E4typeEEEEESG_EUlDiE_SL_TnPNS8_9enable_ifIXaaaasr6detailE11is_not_selfISG_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSN_EEvE4typeELPv0EEEOSG_ENKUlNS1_12fnref_detail4base7storageEDiE_clESW_Di Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFbcES3_EC1IRKZNS1_9skip_fillINSt3__117basic_string_viewIcNS7_11char_traitsIcEEEEEENS0_13scan_expectedINS7_4pairIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT_EEEElEEEESF_lRKNS0_6detail9fill_typeEbEUlcE_SP_TnPNS7_9enable_ifIXaaaasr6detailE11is_not_selfISF_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSS_EEvE4typeELPv0EEEOSF_ENKUlNS1_12fnref_detail4base7storageEcE_clES11_c _ZZN3scn2v34impl12function_refIFbcES3_EC1IZNS1_34parse_integer_digits_without_thsepINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSE_EENS1_15take_width_viewINSA_ISE_SE_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESP_iEUlcE_SV_TnPNSN_9enable_ifIXaaaasr6detailE11is_not_selfISP_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSX_EEvE4typeELPv0EEEOSP_ENKUlNS1_12fnref_detail4base7storageEcE_clES16_c Line | Count | Source | 743 | 778 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 778 | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 778 | else { | 749 | 778 | return obj(static_cast<decltype(args)>(args)...); | 750 | 778 | } | 751 | 778 | }), |
_ZZN3scn2v34impl12function_refIFbcES3_EC1IRKZNS1_9skip_fillINS0_6ranges6detail9subrange_8subrangeIPKcSC_EEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS7_5beginEEclsr3stdE7declvalIRT_EEEElEEEESH_lRKNS0_6detail9fill_typeEbEUlcE_SR_TnPNSF_9enable_ifIXaaaasr6detailE11is_not_selfISH_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSH_ENKUlNS1_12fnref_detail4base7storageEcE_clES13_c Line | Count | Source | 743 | 2.15k | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 2.15k | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 2.15k | else { | 749 | 2.15k | return obj(static_cast<decltype(args)>(args)...); | 750 | 2.15k | } | 751 | 2.15k | }), |
_ZZN3scn2v34impl12function_refIFbDiES3_EC1IZNS1_24read_while_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSD_EEEEEEDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESI_EUlDiE_SN_TnPNSG_9enable_ifIXaaaasr6detailE11is_not_selfISI_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSP_EEvE4typeELPv0EEEOSI_ENKUlNS1_12fnref_detail4base7storageEDiE_clESY_Di Line | Count | Source | 743 | 1.21k | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 1.21k | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 1.21k | else { | 749 | 1.21k | return obj(static_cast<decltype(args)>(args)...); | 750 | 1.21k | } | 751 | 1.21k | }), |
Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS0_6ranges18default_sentinel_tEEEEERNS1_12float_readerIcEENS1_15take_width_viewINSA_6detail9subrange_8subrangeIS9_SB_EEEENS6_10locale_refEESO_EC1IZNS1_21reader_impl_for_floatIcE10read_specsISM_fEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESW_RKNS6_12format_specsERT0_SN_EUlSG_DpOT_E_S1A_TnPNSU_9enable_ifIXaaaasr6detailE11is_not_selfISW_SP_Entsr3stdE19is_member_pointer_vIS15_E18is_invocable_usingIS16_EEvE4typeELPv0EEEOSW_ENKUlNS1_12fnref_detail4base7storageESG_SM_SN_E_clES1J_SG_SM_SN_ Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFbcES3_EC1IZNS1_12float_readerIcE8read_nanINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEENS1_15take_width_viewINSC_ISI_SJ_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_EUlcE_S10_TnPNSS_9enable_ifIXaaaasr6detailE11is_not_selfISU_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRS12_EEvE4typeELPv0EEEOSU_ENKUlNS1_12fnref_detail4base7storageEcE_clES1B_c Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFbcES3_EC1IZNS1_12float_readerIcE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEENS1_15take_width_viewINSC_ISI_SJ_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_bEUlcE_S10_TnPNSS_9enable_ifIXaaaasr6detailE11is_not_selfISU_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRS12_EEvE4typeELPv0EEEOSU_ENKUlNS1_12fnref_detail4base7storageEcE_clES1B_c Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFbcES3_EC1IZNS1_12float_readerIcE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEENS1_15take_width_viewINSC_ISI_SJ_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_bEUlcE0_S10_TnPNSS_9enable_ifIXaaaasr6detailE11is_not_selfISU_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRS12_EEvE4typeELPv0EEEOSU_ENKUlNS1_12fnref_detail4base7storageEcE_clES1B_c Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFbcES3_EC1IZNS1_12float_readerIcE13read_exponentINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEENS1_15take_width_viewINSC_ISI_SJ_EEE8sentinelILb1EEEEEEEDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEST_NSR_17basic_string_viewIcNSR_11char_traitsIcEEEEEUlcE_S12_TnPNSR_9enable_ifIXaaaasr6detailE11is_not_selfIST_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRS14_EEvE4typeELPv0EEEOST_ENKUlNS1_12fnref_detail4base7storageEcE_clES1D_c Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFbcES3_EC1IZNS1_12float_readerIcE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEENS1_15take_width_viewINSC_ISI_SJ_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_bEUlcE_S10_TnPNSS_9enable_ifIXaaaasr6detailE11is_not_selfISU_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRS12_EEvE4typeELPv0EEEOSU_ENKUlNS1_12fnref_detail4base7storageEcE_clES1B_c Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFbcES3_EC1IZNS1_12float_readerIcE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEENS1_15take_width_viewINSC_ISI_SJ_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_bEUlcE0_S10_TnPNSS_9enable_ifIXaaaasr6detailE11is_not_selfISU_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRS12_EEvE4typeELPv0EEEOSU_ENKUlNS1_12fnref_detail4base7storageEcE_clES1B_c Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS0_6ranges18default_sentinel_tEEEEERNS1_12float_readerIcEENS1_15take_width_viewINSA_6detail9subrange_8subrangeIS9_SB_EEEENS6_10locale_refEESO_EC1IZNS1_21reader_impl_for_floatIcE10read_specsISM_fEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESW_RKNS6_12format_specsERT0_SN_EUlSG_DpOT_E0_S1A_TnPNSU_9enable_ifIXaaaasr6detailE11is_not_selfISW_SP_Entsr3stdE19is_member_pointer_vIS15_E18is_invocable_usingIS16_EEvE4typeELPv0EEEOSW_ENKUlNS1_12fnref_detail4base7storageESG_SM_SN_E_clES1J_SG_SM_SN_ Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFNS0_13scan_expectedINS0_6detail17basic_scan_bufferIcE16forward_iteratorEEERNS1_12float_readerIcEENS0_6ranges6detail9subrange_8subrangeIS7_NSC_18default_sentinel_tEEENS4_10locale_refEESJ_EC1IZNS1_21reader_impl_for_floatIcE10read_specsISH_fEENS3_IDTclL_ZNSC_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_RKNS4_12format_specsERT0_SI_EUlSB_DpOT_E_S15_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_SK_Entsr3stdE19is_member_pointer_vIS10_E18is_invocable_usingIS11_EEvE4typeELPv0EEEOSR_ENKUlNS1_12fnref_detail4base7storageESB_SH_SI_E_clES1E_SB_SH_SI_ Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFbcES3_EC1IZNS1_12float_readerIcE8read_nanINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_EUlcE_SS_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSM_ENKUlNS1_12fnref_detail4base7storageEcE_clES13_c Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFbcES3_EC1IZNS1_12float_readerIcE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_bEUlcE_SS_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSM_ENKUlNS1_12fnref_detail4base7storageEcE_clES13_c Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFbcES3_EC1IZNS1_12float_readerIcE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_bEUlcE0_SS_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSM_ENKUlNS1_12fnref_detail4base7storageEcE_clES13_c Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFbcES3_EC1IZNS1_12float_readerIcE13read_exponentINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEEEDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESL_NSJ_17basic_string_viewIcNSJ_11char_traitsIcEEEEEUlcE_SU_TnPNSJ_9enable_ifIXaaaasr6detailE11is_not_selfISL_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSW_EEvE4typeELPv0EEEOSL_ENKUlNS1_12fnref_detail4base7storageEcE_clES15_c Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFbcES3_EC1IZNS1_12float_readerIcE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_bEUlcE_SS_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSM_ENKUlNS1_12fnref_detail4base7storageEcE_clES13_c Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFbcES3_EC1IZNS1_12float_readerIcE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_bEUlcE0_SS_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSM_ENKUlNS1_12fnref_detail4base7storageEcE_clES13_c Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFNS0_13scan_expectedINS0_6detail17basic_scan_bufferIcE16forward_iteratorEEERNS1_12float_readerIcEENS0_6ranges6detail9subrange_8subrangeIS7_NSC_18default_sentinel_tEEENS4_10locale_refEESJ_EC1IZNS1_21reader_impl_for_floatIcE10read_specsISH_fEENS3_IDTclL_ZNSC_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_RKNS4_12format_specsERT0_SI_EUlSB_DpOT_E0_S15_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_SK_Entsr3stdE19is_member_pointer_vIS10_E18is_invocable_usingIS11_EEvE4typeELPv0EEEOSR_ENKUlNS1_12fnref_detail4base7storageESB_SH_SI_E_clES1E_SB_SH_SI_ Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcS7_EEEERNS1_12float_readerIcEENS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIS7_S7_EEEENS0_6detail10locale_refEESM_EC1IZNS1_21reader_impl_for_floatIcE10read_specsISJ_fEENS3_IDTclL_ZNSE_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_RKNSK_12format_specsERT0_SL_EUlSC_DpOT_E_S18_TnPNSS_9enable_ifIXaaaasr6detailE11is_not_selfISU_SN_Entsr3stdE19is_member_pointer_vIS13_E18is_invocable_usingIS14_EEvE4typeELPv0EEEOSU_ENKUlNS1_12fnref_detail4base7storageESC_SJ_SL_E_clES1H_SC_SJ_SL_ Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFbcES3_EC1IZNS1_12float_readerIcE8read_nanINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSG_EENS1_15take_width_viewINSC_ISG_SG_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_EUlcE_SX_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSZ_EEvE4typeELPv0EEEOSR_ENKUlNS1_12fnref_detail4base7storageEcE_clES18_c Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFbcES3_EC1IZNS1_12float_readerIcE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSG_EENS1_15take_width_viewINSC_ISG_SG_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_bEUlcE_SX_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSZ_EEvE4typeELPv0EEEOSR_ENKUlNS1_12fnref_detail4base7storageEcE_clES18_c _ZZN3scn2v34impl12function_refIFbcES3_EC1IZNS1_12float_readerIcE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSG_EENS1_15take_width_viewINSC_ISG_SG_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_bEUlcE0_SX_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSZ_EEvE4typeELPv0EEEOSR_ENKUlNS1_12fnref_detail4base7storageEcE_clES18_c Line | Count | Source | 743 | 4 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 4 | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 4 | else { | 749 | 4 | return obj(static_cast<decltype(args)>(args)...); | 750 | 4 | } | 751 | 4 | }), |
Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFbcES3_EC1IZNS1_12float_readerIcE13read_exponentINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSG_EENS1_15take_width_viewINSC_ISG_SG_EEE8sentinelILb1EEEEEEEDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESQ_NSO_17basic_string_viewIcNSO_11char_traitsIcEEEEEUlcE_SZ_TnPNSO_9enable_ifIXaaaasr6detailE11is_not_selfISQ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRS11_EEvE4typeELPv0EEEOSQ_ENKUlNS1_12fnref_detail4base7storageEcE_clES1A_c Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFbcES3_EC1IZNS1_12float_readerIcE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSG_EENS1_15take_width_viewINSC_ISG_SG_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_bEUlcE_SX_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSZ_EEvE4typeELPv0EEEOSR_ENKUlNS1_12fnref_detail4base7storageEcE_clES18_c _ZZN3scn2v34impl12function_refIFbcES3_EC1IZNS1_12float_readerIcE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSG_EENS1_15take_width_viewINSC_ISG_SG_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_bEUlcE0_SX_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSZ_EEvE4typeELPv0EEEOSR_ENKUlNS1_12fnref_detail4base7storageEcE_clES18_c Line | Count | Source | 743 | 258 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 258 | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 258 | else { | 749 | 258 | return obj(static_cast<decltype(args)>(args)...); | 750 | 258 | } | 751 | 258 | }), |
Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcS7_EEEERNS1_12float_readerIcEENS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIS7_S7_EEEENS0_6detail10locale_refEESM_EC1IZNS1_21reader_impl_for_floatIcE10read_specsISJ_fEENS3_IDTclL_ZNSE_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_RKNSK_12format_specsERT0_SL_EUlSC_DpOT_E0_S18_TnPNSS_9enable_ifIXaaaasr6detailE11is_not_selfISU_SN_Entsr3stdE19is_member_pointer_vIS13_E18is_invocable_usingIS14_EEvE4typeELPv0EEEOSU_ENKUlNS1_12fnref_detail4base7storageESC_SJ_SL_E_clES1H_SC_SJ_SL_ Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFNS0_13scan_expectedIPKcEERNS1_12float_readerIcEENS0_6ranges6detail9subrange_8subrangeIS5_S5_EENS0_6detail10locale_refEESH_EC1IZNS1_21reader_impl_for_floatIcE10read_specsISE_fEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESP_RKNSF_12format_specsERT0_SG_EUlS9_DpOT_E_S13_TnPNSN_9enable_ifIXaaaasr6detailE11is_not_selfISP_SI_Entsr3stdE19is_member_pointer_vISY_E18is_invocable_usingISZ_EEvE4typeELPv0EEEOSP_ENKUlNS1_12fnref_detail4base7storageES9_SE_SG_E_clES1C_S9_SE_SG_ Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFbcES3_EC1IZNS1_12float_readerIcE8read_nanINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_EUlcE_SP_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSR_EEvE4typeELPv0EEEOSJ_ENKUlNS1_12fnref_detail4base7storageEcE_clES10_c Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFbcES3_EC1IZNS1_12float_readerIcE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_bEUlcE_SP_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSR_EEvE4typeELPv0EEEOSJ_ENKUlNS1_12fnref_detail4base7storageEcE_clES10_c Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFbcES3_EC1IZNS1_12float_readerIcE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_bEUlcE0_SP_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSR_EEvE4typeELPv0EEEOSJ_ENKUlNS1_12fnref_detail4base7storageEcE_clES10_c Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFbcES3_EC1IZNS1_12float_readerIcE13read_exponentINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEEEDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESI_NSG_17basic_string_viewIcNSG_11char_traitsIcEEEEEUlcE_SR_TnPNSG_9enable_ifIXaaaasr6detailE11is_not_selfISI_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRST_EEvE4typeELPv0EEEOSI_ENKUlNS1_12fnref_detail4base7storageEcE_clES12_c Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFbcES3_EC1IZNS1_12float_readerIcE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_bEUlcE_SP_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSR_EEvE4typeELPv0EEEOSJ_ENKUlNS1_12fnref_detail4base7storageEcE_clES10_c _ZZN3scn2v34impl12function_refIFbcES3_EC1IZNS1_12float_readerIcE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_bEUlcE0_SP_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSR_EEvE4typeELPv0EEEOSJ_ENKUlNS1_12fnref_detail4base7storageEcE_clES10_c Line | Count | Source | 743 | 22 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 22 | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 22 | else { | 749 | 22 | return obj(static_cast<decltype(args)>(args)...); | 750 | 22 | } | 751 | 22 | }), |
Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFNS0_13scan_expectedIPKcEERNS1_12float_readerIcEENS0_6ranges6detail9subrange_8subrangeIS5_S5_EENS0_6detail10locale_refEESH_EC1IZNS1_21reader_impl_for_floatIcE10read_specsISE_fEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESP_RKNSF_12format_specsERT0_SG_EUlS9_DpOT_E0_S13_TnPNSN_9enable_ifIXaaaasr6detailE11is_not_selfISP_SI_Entsr3stdE19is_member_pointer_vISY_E18is_invocable_usingISZ_EEvE4typeELPv0EEEOSP_ENKUlNS1_12fnref_detail4base7storageES9_SE_SG_E_clES1C_S9_SE_SG_ Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS0_6ranges18default_sentinel_tEEEEERNS1_12float_readerIcEENS1_15take_width_viewINSA_6detail9subrange_8subrangeIS9_SB_EEEENS6_10locale_refEESO_EC1IZNS1_21reader_impl_for_floatIcE10read_specsISM_dEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESW_RKNS6_12format_specsERT0_SN_EUlSG_DpOT_E_S1A_TnPNSU_9enable_ifIXaaaasr6detailE11is_not_selfISW_SP_Entsr3stdE19is_member_pointer_vIS15_E18is_invocable_usingIS16_EEvE4typeELPv0EEEOSW_ENKUlNS1_12fnref_detail4base7storageESG_SM_SN_E_clES1J_SG_SM_SN_ Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS0_6ranges18default_sentinel_tEEEEERNS1_12float_readerIcEENS1_15take_width_viewINSA_6detail9subrange_8subrangeIS9_SB_EEEENS6_10locale_refEESO_EC1IZNS1_21reader_impl_for_floatIcE10read_specsISM_dEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESW_RKNS6_12format_specsERT0_SN_EUlSG_DpOT_E0_S1A_TnPNSU_9enable_ifIXaaaasr6detailE11is_not_selfISW_SP_Entsr3stdE19is_member_pointer_vIS15_E18is_invocable_usingIS16_EEvE4typeELPv0EEEOSW_ENKUlNS1_12fnref_detail4base7storageESG_SM_SN_E_clES1J_SG_SM_SN_ Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFNS0_13scan_expectedINS0_6detail17basic_scan_bufferIcE16forward_iteratorEEERNS1_12float_readerIcEENS0_6ranges6detail9subrange_8subrangeIS7_NSC_18default_sentinel_tEEENS4_10locale_refEESJ_EC1IZNS1_21reader_impl_for_floatIcE10read_specsISH_dEENS3_IDTclL_ZNSC_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_RKNS4_12format_specsERT0_SI_EUlSB_DpOT_E_S15_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_SK_Entsr3stdE19is_member_pointer_vIS10_E18is_invocable_usingIS11_EEvE4typeELPv0EEEOSR_ENKUlNS1_12fnref_detail4base7storageESB_SH_SI_E_clES1E_SB_SH_SI_ Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFNS0_13scan_expectedINS0_6detail17basic_scan_bufferIcE16forward_iteratorEEERNS1_12float_readerIcEENS0_6ranges6detail9subrange_8subrangeIS7_NSC_18default_sentinel_tEEENS4_10locale_refEESJ_EC1IZNS1_21reader_impl_for_floatIcE10read_specsISH_dEENS3_IDTclL_ZNSC_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_RKNS4_12format_specsERT0_SI_EUlSB_DpOT_E0_S15_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_SK_Entsr3stdE19is_member_pointer_vIS10_E18is_invocable_usingIS11_EEvE4typeELPv0EEEOSR_ENKUlNS1_12fnref_detail4base7storageESB_SH_SI_E_clES1E_SB_SH_SI_ _ZZN3scn2v34impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcS7_EEEERNS1_12float_readerIcEENS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIS7_S7_EEEENS0_6detail10locale_refEESM_EC1IZNS1_21reader_impl_for_floatIcE10read_specsISJ_dEENS3_IDTclL_ZNSE_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_RKNSK_12format_specsERT0_SL_EUlSC_DpOT_E_S18_TnPNSS_9enable_ifIXaaaasr6detailE11is_not_selfISU_SN_Entsr3stdE19is_member_pointer_vIS13_E18is_invocable_usingIS14_EEvE4typeELPv0EEEOSU_ENKUlNS1_12fnref_detail4base7storageESC_SJ_SL_E_clES1H_SC_SJ_SL_ Line | Count | Source | 743 | 8 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 8 | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 8 | else { | 749 | 8 | return obj(static_cast<decltype(args)>(args)...); | 750 | 8 | } | 751 | 8 | }), |
_ZZN3scn2v34impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcS7_EEEERNS1_12float_readerIcEENS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIS7_S7_EEEENS0_6detail10locale_refEESM_EC1IZNS1_21reader_impl_for_floatIcE10read_specsISJ_dEENS3_IDTclL_ZNSE_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_RKNSK_12format_specsERT0_SL_EUlSC_DpOT_E0_S18_TnPNSS_9enable_ifIXaaaasr6detailE11is_not_selfISU_SN_Entsr3stdE19is_member_pointer_vIS13_E18is_invocable_usingIS14_EEvE4typeELPv0EEEOSU_ENKUlNS1_12fnref_detail4base7storageESC_SJ_SL_E_clES1H_SC_SJ_SL_ Line | Count | Source | 743 | 254 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 254 | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 254 | else { | 749 | 254 | return obj(static_cast<decltype(args)>(args)...); | 750 | 254 | } | 751 | 254 | }), |
_ZZN3scn2v34impl12function_refIFNS0_13scan_expectedIPKcEERNS1_12float_readerIcEENS0_6ranges6detail9subrange_8subrangeIS5_S5_EENS0_6detail10locale_refEESH_EC1IZNS1_21reader_impl_for_floatIcE10read_specsISE_dEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESP_RKNSF_12format_specsERT0_SG_EUlS9_DpOT_E_S13_TnPNSN_9enable_ifIXaaaasr6detailE11is_not_selfISP_SI_Entsr3stdE19is_member_pointer_vISY_E18is_invocable_usingISZ_EEvE4typeELPv0EEEOSP_ENKUlNS1_12fnref_detail4base7storageES9_SE_SG_E_clES1C_S9_SE_SG_ Line | Count | Source | 743 | 8 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 8 | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 8 | else { | 749 | 8 | return obj(static_cast<decltype(args)>(args)...); | 750 | 8 | } | 751 | 8 | }), |
_ZZN3scn2v34impl12function_refIFNS0_13scan_expectedIPKcEERNS1_12float_readerIcEENS0_6ranges6detail9subrange_8subrangeIS5_S5_EENS0_6detail10locale_refEESH_EC1IZNS1_21reader_impl_for_floatIcE10read_specsISE_dEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESP_RKNSF_12format_specsERT0_SG_EUlS9_DpOT_E0_S13_TnPNSN_9enable_ifIXaaaasr6detailE11is_not_selfISP_SI_Entsr3stdE19is_member_pointer_vISY_E18is_invocable_usingISZ_EEvE4typeELPv0EEEOSP_ENKUlNS1_12fnref_detail4base7storageES9_SE_SG_E_clES1C_S9_SE_SG_ Line | Count | Source | 743 | 268 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 268 | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 268 | else { | 749 | 268 | return obj(static_cast<decltype(args)>(args)...); | 750 | 268 | } | 751 | 268 | }), |
Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS0_6ranges18default_sentinel_tEEEEERNS1_12float_readerIcEENS1_15take_width_viewINSA_6detail9subrange_8subrangeIS9_SB_EEEENS6_10locale_refEESO_EC1IZNS1_21reader_impl_for_floatIcE10read_specsISM_eEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESW_RKNS6_12format_specsERT0_SN_EUlSG_DpOT_E_S1A_TnPNSU_9enable_ifIXaaaasr6detailE11is_not_selfISW_SP_Entsr3stdE19is_member_pointer_vIS15_E18is_invocable_usingIS16_EEvE4typeELPv0EEEOSW_ENKUlNS1_12fnref_detail4base7storageESG_SM_SN_E_clES1J_SG_SM_SN_ Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS0_6ranges18default_sentinel_tEEEEERNS1_12float_readerIcEENS1_15take_width_viewINSA_6detail9subrange_8subrangeIS9_SB_EEEENS6_10locale_refEESO_EC1IZNS1_21reader_impl_for_floatIcE10read_specsISM_eEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESW_RKNS6_12format_specsERT0_SN_EUlSG_DpOT_E0_S1A_TnPNSU_9enable_ifIXaaaasr6detailE11is_not_selfISW_SP_Entsr3stdE19is_member_pointer_vIS15_E18is_invocable_usingIS16_EEvE4typeELPv0EEEOSW_ENKUlNS1_12fnref_detail4base7storageESG_SM_SN_E_clES1J_SG_SM_SN_ Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFNS0_13scan_expectedINS0_6detail17basic_scan_bufferIcE16forward_iteratorEEERNS1_12float_readerIcEENS0_6ranges6detail9subrange_8subrangeIS7_NSC_18default_sentinel_tEEENS4_10locale_refEESJ_EC1IZNS1_21reader_impl_for_floatIcE10read_specsISH_eEENS3_IDTclL_ZNSC_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_RKNS4_12format_specsERT0_SI_EUlSB_DpOT_E_S15_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_SK_Entsr3stdE19is_member_pointer_vIS10_E18is_invocable_usingIS11_EEvE4typeELPv0EEEOSR_ENKUlNS1_12fnref_detail4base7storageESB_SH_SI_E_clES1E_SB_SH_SI_ Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFNS0_13scan_expectedINS0_6detail17basic_scan_bufferIcE16forward_iteratorEEERNS1_12float_readerIcEENS0_6ranges6detail9subrange_8subrangeIS7_NSC_18default_sentinel_tEEENS4_10locale_refEESJ_EC1IZNS1_21reader_impl_for_floatIcE10read_specsISH_eEENS3_IDTclL_ZNSC_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_RKNS4_12format_specsERT0_SI_EUlSB_DpOT_E0_S15_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_SK_Entsr3stdE19is_member_pointer_vIS10_E18is_invocable_usingIS11_EEvE4typeELPv0EEEOSR_ENKUlNS1_12fnref_detail4base7storageESB_SH_SI_E_clES1E_SB_SH_SI_ Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcS7_EEEERNS1_12float_readerIcEENS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIS7_S7_EEEENS0_6detail10locale_refEESM_EC1IZNS1_21reader_impl_for_floatIcE10read_specsISJ_eEENS3_IDTclL_ZNSE_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_RKNSK_12format_specsERT0_SL_EUlSC_DpOT_E_S18_TnPNSS_9enable_ifIXaaaasr6detailE11is_not_selfISU_SN_Entsr3stdE19is_member_pointer_vIS13_E18is_invocable_usingIS14_EEvE4typeELPv0EEEOSU_ENKUlNS1_12fnref_detail4base7storageESC_SJ_SL_E_clES1H_SC_SJ_SL_ Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcS7_EEEERNS1_12float_readerIcEENS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIS7_S7_EEEENS0_6detail10locale_refEESM_EC1IZNS1_21reader_impl_for_floatIcE10read_specsISJ_eEENS3_IDTclL_ZNSE_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_RKNSK_12format_specsERT0_SL_EUlSC_DpOT_E0_S18_TnPNSS_9enable_ifIXaaaasr6detailE11is_not_selfISU_SN_Entsr3stdE19is_member_pointer_vIS13_E18is_invocable_usingIS14_EEvE4typeELPv0EEEOSU_ENKUlNS1_12fnref_detail4base7storageESC_SJ_SL_E_clES1H_SC_SJ_SL_ Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFNS0_13scan_expectedIPKcEERNS1_12float_readerIcEENS0_6ranges6detail9subrange_8subrangeIS5_S5_EENS0_6detail10locale_refEESH_EC1IZNS1_21reader_impl_for_floatIcE10read_specsISE_eEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESP_RKNSF_12format_specsERT0_SG_EUlS9_DpOT_E_S13_TnPNSN_9enable_ifIXaaaasr6detailE11is_not_selfISP_SI_Entsr3stdE19is_member_pointer_vISY_E18is_invocable_usingISZ_EEvE4typeELPv0EEEOSP_ENKUlNS1_12fnref_detail4base7storageES9_SE_SG_E_clES1C_S9_SE_SG_ Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFNS0_13scan_expectedIPKcEERNS1_12float_readerIcEENS0_6ranges6detail9subrange_8subrangeIS5_S5_EENS0_6detail10locale_refEESH_EC1IZNS1_21reader_impl_for_floatIcE10read_specsISE_eEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESP_RKNSF_12format_specsERT0_SG_EUlS9_DpOT_E0_S13_TnPNSN_9enable_ifIXaaaasr6detailE11is_not_selfISP_SI_Entsr3stdE19is_member_pointer_vISY_E18is_invocable_usingISZ_EEvE4typeELPv0EEEOSP_ENKUlNS1_12fnref_detail4base7storageES9_SE_SG_E_clES1C_S9_SE_SG_ Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFbDiES3_EC1IZNS1_24read_until_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS8_18default_sentinel_tEEEEEEEDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESL_EUlDiE_SQ_TnPNSJ_9enable_ifIXaaaasr6detailE11is_not_selfISL_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSS_EEvE4typeELPv0EEEOSL_ENKUlNS1_12fnref_detail4base7storageEDiE_clES11_Di Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFbcES3_EC1IZNS1_23custom_word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENSA_18default_sentinel_tEEEEEcEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_RKNSE_12format_specsERNSM_12basic_stringIT0_NSM_11char_traitsISY_EENSM_9allocatorISY_EEEEEUlcE_S15_TnPNSM_9enable_ifIXaaaasr6detailE11is_not_selfISO_S4_Entsr3stdE19is_member_pointer_vISY_E18is_invocable_usingIRSY_EEvE4typeELPv0EEEOSO_ENKUlNS1_12fnref_detail4base7storageEcE_clES1F_c Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFbDiES3_EC1IRKZNKS1_25character_set_reader_implIcE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENSA_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_NS7_12specs_helperEEUlDiE_SW_TnPNSM_9enable_ifIXaaaasr6detailE11is_not_selfISO_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSZ_EEvE4typeELPv0EEEOSO_ENKUlNS1_12fnref_detail4base7storageEDiE_clES18_Di Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFbcES3_EC1IRKZNKS1_25character_set_reader_implIcE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENSA_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_NS7_12specs_helperEEUlcE_SW_TnPNSM_9enable_ifIXaaaasr6detailE11is_not_selfISO_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSZ_EEvE4typeELPv0EEEOSO_ENKUlNS1_12fnref_detail4base7storageEcE_clES18_c Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFbDiES3_EC1IZNS1_24read_until_classic_spaceINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS7_18default_sentinel_tEEEEEDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESJ_EUlDiE_SO_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSQ_EEvE4typeELPv0EEEOSJ_ENKUlNS1_12fnref_detail4base7storageEDiE_clESZ_Di Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFbcES3_EC1IZNS1_23custom_word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEcEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_RKNSD_12format_specsERNSK_12basic_stringIT0_NSK_11char_traitsISW_EENSK_9allocatorISW_EEEEEUlcE_S13_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vISW_E18is_invocable_usingIRSW_EEvE4typeELPv0EEEOSM_ENKUlNS1_12fnref_detail4base7storageEcE_clES1D_c Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFbDiES3_EC1IRKZNKS1_25character_set_reader_implIcE16read_source_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_NS7_12specs_helperEEUlDiE_SU_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSX_EEvE4typeELPv0EEEOSM_ENKUlNS1_12fnref_detail4base7storageEDiE_clES16_Di Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFbcES3_EC1IRKZNKS1_25character_set_reader_implIcE16read_source_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_NS7_12specs_helperEEUlcE_SU_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSX_EEvE4typeELPv0EEEOSM_ENKUlNS1_12fnref_detail4base7storageEcE_clES16_c _ZZN3scn2v34impl12function_refIFbDiES3_EC1IZNS1_24read_until_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSD_EEEEEEDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESI_EUlDiE_SN_TnPNSG_9enable_ifIXaaaasr6detailE11is_not_selfISI_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSP_EEvE4typeELPv0EEEOSI_ENKUlNS1_12fnref_detail4base7storageEDiE_clESY_Di Line | Count | Source | 743 | 7.53k | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 7.53k | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 7.53k | else { | 749 | 7.53k | return obj(static_cast<decltype(args)>(args)...); | 750 | 7.53k | } | 751 | 7.53k | }), |
_ZZN3scn2v34impl12function_refIFbcES3_EC1IZNS1_23custom_word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSF_EEEEcEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNS0_6detail12format_specsERNSJ_12basic_stringIT0_NSJ_11char_traitsISW_EENSJ_9allocatorISW_EEEEEUlcE_S13_TnPNSJ_9enable_ifIXaaaasr6detailE11is_not_selfISL_S4_Entsr3stdE19is_member_pointer_vISW_E18is_invocable_usingIRSW_EEvE4typeELPv0EEEOSL_ENKUlNS1_12fnref_detail4base7storageEcE_clES1D_c Line | Count | Source | 743 | 620 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 620 | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 620 | else { | 749 | 620 | return obj(static_cast<decltype(args)>(args)...); | 750 | 620 | } | 751 | 620 | }), |
_ZZN3scn2v34impl12function_refIFbDiES3_EC1IRKZNKS1_25character_set_reader_implIcE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSF_EEEEEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_NS7_12specs_helperEEUlDiE_ST_TnPNSJ_9enable_ifIXaaaasr6detailE11is_not_selfISL_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSW_EEvE4typeELPv0EEEOSL_ENKUlNS1_12fnref_detail4base7storageEDiE_clES15_Di Line | Count | Source | 743 | 10.0k | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 10.0k | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 10.0k | else { | 749 | 10.0k | return obj(static_cast<decltype(args)>(args)...); | 750 | 10.0k | } | 751 | 10.0k | }), |
_ZZN3scn2v34impl12function_refIFbcES3_EC1IRKZNKS1_25character_set_reader_implIcE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSF_EEEEEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_NS7_12specs_helperEEUlcE_ST_TnPNSJ_9enable_ifIXaaaasr6detailE11is_not_selfISL_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSW_EEvE4typeELPv0EEEOSL_ENKUlNS1_12fnref_detail4base7storageEcE_clES15_c Line | Count | Source | 743 | 5.28k | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 5.28k | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 5.28k | else { | 749 | 5.28k | return obj(static_cast<decltype(args)>(args)...); | 750 | 5.28k | } | 751 | 5.28k | }), |
_ZZN3scn2v34impl12function_refIFbcES3_EC1IZNS1_23custom_word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEcEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_RKNS0_6detail12format_specsERNSH_12basic_stringIT0_NSH_11char_traitsISU_EENSH_9allocatorISU_EEEEEUlcE_S11_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vISU_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSJ_ENKUlNS1_12fnref_detail4base7storageEcE_clES1B_c Line | Count | Source | 743 | 698 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 698 | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 698 | else { | 749 | 698 | return obj(static_cast<decltype(args)>(args)...); | 750 | 698 | } | 751 | 698 | }), |
_ZZN3scn2v34impl12function_refIFbDiES3_EC1IRKZNKS1_25character_set_reader_implIcE16read_source_implINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_NS7_12specs_helperEEUlDiE_SR_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSJ_ENKUlNS1_12fnref_detail4base7storageEDiE_clES13_Di Line | Count | Source | 743 | 274k | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 274k | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 274k | else { | 749 | 274k | return obj(static_cast<decltype(args)>(args)...); | 750 | 274k | } | 751 | 274k | }), |
_ZZN3scn2v34impl12function_refIFbcES3_EC1IRKZNKS1_25character_set_reader_implIcE16read_source_implINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_NS7_12specs_helperEEUlcE_SR_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSJ_ENKUlNS1_12fnref_detail4base7storageEcE_clES13_c Line | Count | Source | 743 | 3.38k | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 3.38k | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 3.38k | else { | 749 | 3.38k | return obj(static_cast<decltype(args)>(args)...); | 750 | 3.38k | } | 751 | 3.38k | }), |
Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFbcES3_EC1IZNS1_23custom_word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENSA_18default_sentinel_tEEEEEwEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_RKNSE_12format_specsERNSM_12basic_stringIT0_NSM_11char_traitsISY_EENSM_9allocatorISY_EEEEEUlcE_S15_TnPNSM_9enable_ifIXaaaasr6detailE11is_not_selfISO_S4_Entsr3stdE19is_member_pointer_vISY_E18is_invocable_usingIRSY_EEvE4typeELPv0EEEOSO_ENKUlNS1_12fnref_detail4base7storageEcE_clES1F_c Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFbcES3_EC1IZNS1_23custom_word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEwEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_RKNSD_12format_specsERNSK_12basic_stringIT0_NSK_11char_traitsISW_EENSK_9allocatorISW_EEEEEUlcE_S13_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vISW_E18is_invocable_usingIRSW_EEvE4typeELPv0EEEOSM_ENKUlNS1_12fnref_detail4base7storageEcE_clES1D_c _ZZN3scn2v34impl12function_refIFbcES3_EC1IZNS1_23custom_word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSF_EEEEwEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNS0_6detail12format_specsERNSJ_12basic_stringIT0_NSJ_11char_traitsISW_EENSJ_9allocatorISW_EEEEEUlcE_S13_TnPNSJ_9enable_ifIXaaaasr6detailE11is_not_selfISL_S4_Entsr3stdE19is_member_pointer_vISW_E18is_invocable_usingIRSW_EEvE4typeELPv0EEEOSL_ENKUlNS1_12fnref_detail4base7storageEcE_clES1D_c Line | Count | Source | 743 | 620 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 620 | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 620 | else { | 749 | 620 | return obj(static_cast<decltype(args)>(args)...); | 750 | 620 | } | 751 | 620 | }), |
_ZZN3scn2v34impl12function_refIFbcES3_EC1IZNS1_23custom_word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEwEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_RKNS0_6detail12format_specsERNSH_12basic_stringIT0_NSH_11char_traitsISU_EENSH_9allocatorISU_EEEEEUlcE_S11_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vISU_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSJ_ENKUlNS1_12fnref_detail4base7storageEcE_clES1B_c Line | Count | Source | 743 | 698 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 698 | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 698 | else { | 749 | 698 | return obj(static_cast<decltype(args)>(args)...); | 750 | 698 | } | 751 | 698 | }), |
Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFbcES3_EC1IZNS1_23custom_word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENSA_18default_sentinel_tEEEEEcEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_RKNSE_12format_specsERNSM_17basic_string_viewIT0_NSM_11char_traitsISY_EEEEEUlcE_S13_TnPNSM_9enable_ifIXaaaasr6detailE11is_not_selfISO_S4_Entsr3stdE19is_member_pointer_vISY_E18is_invocable_usingIRSY_EEvE4typeELPv0EEEOSO_ENKUlNS1_12fnref_detail4base7storageEcE_clES1D_c Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFbcES3_EC1IZNS1_23custom_word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEcEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_RKNSD_12format_specsERNSK_17basic_string_viewIT0_NSK_11char_traitsISW_EEEEEUlcE_S11_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vISW_E18is_invocable_usingIRSW_EEvE4typeELPv0EEEOSM_ENKUlNS1_12fnref_detail4base7storageEcE_clES1B_c _ZZN3scn2v34impl12function_refIFbcES3_EC1IZNS1_23custom_word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSF_EEEEcEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNS0_6detail12format_specsERNSJ_17basic_string_viewIT0_NSJ_11char_traitsISW_EEEEEUlcE_S11_TnPNSJ_9enable_ifIXaaaasr6detailE11is_not_selfISL_S4_Entsr3stdE19is_member_pointer_vISW_E18is_invocable_usingIRSW_EEvE4typeELPv0EEEOSL_ENKUlNS1_12fnref_detail4base7storageEcE_clES1B_c Line | Count | Source | 743 | 620 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 620 | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 620 | else { | 749 | 620 | return obj(static_cast<decltype(args)>(args)...); | 750 | 620 | } | 751 | 620 | }), |
_ZZN3scn2v34impl12function_refIFbcES3_EC1IZNS1_23custom_word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEcEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_RKNS0_6detail12format_specsERNSH_17basic_string_viewIT0_NSH_11char_traitsISU_EEEEEUlcE_SZ_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vISU_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSJ_ENKUlNS1_12fnref_detail4base7storageEcE_clES19_c Line | Count | Source | 743 | 698 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 698 | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 698 | else { | 749 | 698 | return obj(static_cast<decltype(args)>(args)...); | 750 | 698 | } | 751 | 698 | }), |
Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFbcES3_EC1IZNS1_23custom_word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENSA_18default_sentinel_tEEEEEwEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_RKNSE_12format_specsERNSM_17basic_string_viewIT0_NSM_11char_traitsISY_EEEEEUlcE_S13_TnPNSM_9enable_ifIXaaaasr6detailE11is_not_selfISO_S4_Entsr3stdE19is_member_pointer_vISY_E18is_invocable_usingIRSY_EEvE4typeELPv0EEEOSO_ENKUlNS1_12fnref_detail4base7storageEcE_clES1D_c Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFbcES3_EC1IZNS1_23custom_word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEwEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_RKNSD_12format_specsERNSK_17basic_string_viewIT0_NSK_11char_traitsISW_EEEEEUlcE_S11_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vISW_E18is_invocable_usingIRSW_EEvE4typeELPv0EEEOSM_ENKUlNS1_12fnref_detail4base7storageEcE_clES1B_c Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFbcES3_EC1IZNS1_23custom_word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSF_EEEEwEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNS0_6detail12format_specsERNSJ_17basic_string_viewIT0_NSJ_11char_traitsISW_EEEEEUlcE_S11_TnPNSJ_9enable_ifIXaaaasr6detailE11is_not_selfISL_S4_Entsr3stdE19is_member_pointer_vISW_E18is_invocable_usingIRSW_EEvE4typeELPv0EEEOSL_ENKUlNS1_12fnref_detail4base7storageEcE_clES1B_c Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFbcES3_EC1IZNS1_23custom_word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEwEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_RKNS0_6detail12format_specsERNSH_17basic_string_viewIT0_NSH_11char_traitsISU_EEEEEUlcE_SZ_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vISU_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSJ_ENKUlNS1_12fnref_detail4base7storageEcE_clES19_c Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFbDiES3_EC1IZNS1_24read_while_classic_spaceINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS7_18default_sentinel_tEEEEEDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESJ_EUlDiE_SO_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSQ_EEvE4typeELPv0EEEOSJ_ENKUlNS1_12fnref_detail4base7storageEDiE_clESZ_Di _ZZN3scn2v34impl12function_refIFbwES3_EC1INSt3__110__not_fn_tIS4_EES8_TnPNS6_9enable_ifIXaaaasr6detailE11is_not_selfIT_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSB_EEvE4typeELPv0EEEOSA_ENKUlNS1_12fnref_detail4base7storageEwE_clESK_w Line | Count | Source | 743 | 2.84k | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 2.84k | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 2.84k | else { | 749 | 2.84k | return obj(static_cast<decltype(args)>(args)...); | 750 | 2.84k | } | 751 | 2.84k | }), |
Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFbwES3_EC1IRKZNS1_9skip_fillINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS8_18default_sentinel_tEEEEEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRT_EEEElEEEESM_lRKNSC_9fill_typeEbEUlwE_SV_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSY_EEvE4typeELPv0EEEOSM_ENKUlNS1_12fnref_detail4base7storageEwE_clES17_w Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFbDiES3_EC1IZNS1_24read_while_classic_spaceINS1_15take_width_viewINS7_INS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS8_18default_sentinel_tEEEEEEEEEDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESM_EUlDiE_SR_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRST_EEvE4typeELPv0EEEOSM_ENKUlNS1_12fnref_detail4base7storageEDiE_clES12_Di Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFbDiES3_EC1IZNS1_24read_while_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS8_18default_sentinel_tEEEEEEEDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESL_EUlDiE_SQ_TnPNSJ_9enable_ifIXaaaasr6detailE11is_not_selfISL_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSS_EEvE4typeELPv0EEEOSL_ENKUlNS1_12fnref_detail4base7storageEDiE_clES11_Di Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFbwES3_EC1IRKZNS1_9skip_fillINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS7_18default_sentinel_tEEEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS7_5beginEEclsr3stdE7declvalIRT_EEEElEEEESK_lRKNSB_9fill_typeEbEUlwE_ST_TnPNSI_9enable_ifIXaaaasr6detailE11is_not_selfISK_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSW_EEvE4typeELPv0EEEOSK_ENKUlNS1_12fnref_detail4base7storageEwE_clES15_w Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFbwES3_EC1IZNS1_34parse_integer_digits_without_thsepINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS7_18default_sentinel_tEEENS1_15take_width_viewINSA_ISG_SH_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESS_iEUlwE_SY_TnPNSQ_9enable_ifIXaaaasr6detailE11is_not_selfISS_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRS10_EEvE4typeELPv0EEEOSS_ENKUlNS1_12fnref_detail4base7storageEwE_clES19_w Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFbwES3_EC1IZNS1_34parse_integer_digits_without_thsepINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS7_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_iEUlwE_SQ_TnPNSI_9enable_ifIXaaaasr6detailE11is_not_selfISK_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSS_EEvE4typeELPv0EEEOSK_ENKUlNS1_12fnref_detail4base7storageEwE_clES11_w _ZZN3scn2v34impl12function_refIFvDiES3_EC1IZNS1_20calculate_text_widthIwEEmNSt3__117basic_string_viewIT_NS7_11char_traitsIS9_EEEEEUlDiE_SD_TnPNS7_9enable_ifIXaaaasr6detailE11is_not_selfIS9_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSF_EEvE4typeELPv0EEEOS9_ENKUlNS1_12fnref_detail4base7storageEDiE_clESO_Di Line | Count | Source | 743 | 7.38k | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 7.38k | cvref<T> obj = *get<T>(fn); | 745 | 7.38k | if constexpr (std::is_void_v<R>) { | 746 | 7.38k | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | | else { | 749 | | return obj(static_cast<decltype(args)>(args)...); | 750 | | } | 751 | 7.38k | }), |
Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFbwES3_EC1IRKZNS1_9skip_fillINS1_15take_width_viewINSt3__117basic_string_viewIwNS8_11char_traitsIwEEEEEEEENS0_13scan_expectedINS8_4pairIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT_EEEElEEEESH_lRKNS0_6detail9fill_typeEbEUlwE_SR_TnPNS8_9enable_ifIXaaaasr6detailE11is_not_selfISH_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSH_ENKUlNS1_12fnref_detail4base7storageEwE_clES13_w Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFbDiES3_EC1IZNS1_24read_while_classic_spaceINS1_15take_width_viewINS7_INSt3__117basic_string_viewIwNS8_11char_traitsIwEEEEEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS8_9add_constIT_E4typeEEEEESH_EUlDiE_SM_TnPNS8_9enable_ifIXaaaasr6detailE11is_not_selfISH_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSO_EEvE4typeELPv0EEEOSH_ENKUlNS1_12fnref_detail4base7storageEDiE_clESX_Di Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFbDiES3_EC1IZNS1_24read_while_classic_spaceINS1_15take_width_viewINSt3__117basic_string_viewIwNS8_11char_traitsIwEEEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS8_9add_constIT_E4typeEEEEESG_EUlDiE_SL_TnPNS8_9enable_ifIXaaaasr6detailE11is_not_selfISG_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSN_EEvE4typeELPv0EEEOSG_ENKUlNS1_12fnref_detail4base7storageEDiE_clESW_Di Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFbwES3_EC1IRKZNS1_9skip_fillINSt3__117basic_string_viewIwNS7_11char_traitsIwEEEEEENS0_13scan_expectedINS7_4pairIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT_EEEElEEEESF_lRKNS0_6detail9fill_typeEbEUlwE_SP_TnPNS7_9enable_ifIXaaaasr6detailE11is_not_selfISF_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSS_EEvE4typeELPv0EEEOSF_ENKUlNS1_12fnref_detail4base7storageEwE_clES11_w _ZZN3scn2v34impl12function_refIFbDiES3_EC1IZNS1_24read_while_classic_spaceINSt3__117basic_string_viewIwNS7_11char_traitsIwEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS7_9add_constIT_E4typeEEEEESE_EUlDiE_SJ_TnPNS7_9enable_ifIXaaaasr6detailE11is_not_selfISE_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSL_EEvE4typeELPv0EEEOSE_ENKUlNS1_12fnref_detail4base7storageEDiE_clESU_Di Line | Count | Source | 743 | 1.79k | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 1.79k | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 1.79k | else { | 749 | 1.79k | return obj(static_cast<decltype(args)>(args)...); | 750 | 1.79k | } | 751 | 1.79k | }), |
_ZZN3scn2v34impl12function_refIFbwES3_EC1IZNS1_34parse_integer_digits_without_thsepINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSE_EENS1_15take_width_viewINSA_ISE_SE_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESP_iEUlwE_SV_TnPNSN_9enable_ifIXaaaasr6detailE11is_not_selfISP_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSX_EEvE4typeELPv0EEEOSP_ENKUlNS1_12fnref_detail4base7storageEwE_clES16_w Line | Count | Source | 743 | 326 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 326 | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 326 | else { | 749 | 326 | return obj(static_cast<decltype(args)>(args)...); | 750 | 326 | } | 751 | 326 | }), |
_ZZN3scn2v34impl12function_refIFbwES3_EC1IRKZNS1_9skip_fillINS0_6ranges6detail9subrange_8subrangeIPKwSC_EEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS7_5beginEEclsr3stdE7declvalIRT_EEEElEEEESH_lRKNS0_6detail9fill_typeEbEUlwE_SR_TnPNSF_9enable_ifIXaaaasr6detailE11is_not_selfISH_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSH_ENKUlNS1_12fnref_detail4base7storageEwE_clES13_w Line | Count | Source | 743 | 960 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 960 | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 960 | else { | 749 | 960 | return obj(static_cast<decltype(args)>(args)...); | 750 | 960 | } | 751 | 960 | }), |
_ZZN3scn2v34impl12function_refIFbDiES3_EC1IZNS1_24read_while_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSD_EEEEEEDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESI_EUlDiE_SN_TnPNSG_9enable_ifIXaaaasr6detailE11is_not_selfISI_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSP_EEvE4typeELPv0EEEOSI_ENKUlNS1_12fnref_detail4base7storageEDiE_clESY_Di Line | Count | Source | 743 | 276 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 276 | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 276 | else { | 749 | 276 | return obj(static_cast<decltype(args)>(args)...); | 750 | 276 | } | 751 | 276 | }), |
_ZZN3scn2v34impl12function_refIFbDiES3_EC1IZNS1_24read_while_classic_spaceINS0_6ranges6detail9subrange_8subrangeIPKwSC_EEEEDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESG_EUlDiE_SL_TnPNSE_9enable_ifIXaaaasr6detailE11is_not_selfISG_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSN_EEvE4typeELPv0EEEOSG_ENKUlNS1_12fnref_detail4base7storageEDiE_clESW_Di Line | Count | Source | 743 | 186k | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 186k | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 186k | else { | 749 | 186k | return obj(static_cast<decltype(args)>(args)...); | 750 | 186k | } | 751 | 186k | }), |
Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS0_6ranges18default_sentinel_tEEEEERNS1_12float_readerIwEENS1_15take_width_viewINSA_6detail9subrange_8subrangeIS9_SB_EEEENS6_10locale_refEESO_EC1IZNS1_21reader_impl_for_floatIwE10read_specsISM_fEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESW_RKNS6_12format_specsERT0_SN_EUlSG_DpOT_E_S1A_TnPNSU_9enable_ifIXaaaasr6detailE11is_not_selfISW_SP_Entsr3stdE19is_member_pointer_vIS15_E18is_invocable_usingIS16_EEvE4typeELPv0EEEOSW_ENKUlNS1_12fnref_detail4base7storageESG_SM_SN_E_clES1J_SG_SM_SN_ Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFbwES3_EC1IZNS1_12float_readerIwE8read_nanINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEENS1_15take_width_viewINSC_ISI_SJ_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_EUlwE_S10_TnPNSS_9enable_ifIXaaaasr6detailE11is_not_selfISU_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRS12_EEvE4typeELPv0EEEOSU_ENKUlNS1_12fnref_detail4base7storageEwE_clES1B_w Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFbwES3_EC1IZNS1_12float_readerIwE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEENS1_15take_width_viewINSC_ISI_SJ_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_bEUlwE_S10_TnPNSS_9enable_ifIXaaaasr6detailE11is_not_selfISU_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRS12_EEvE4typeELPv0EEEOSU_ENKUlNS1_12fnref_detail4base7storageEwE_clES1B_w Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFbwES3_EC1IZNS1_12float_readerIwE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEENS1_15take_width_viewINSC_ISI_SJ_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_bEUlwE0_S10_TnPNSS_9enable_ifIXaaaasr6detailE11is_not_selfISU_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRS12_EEvE4typeELPv0EEEOSU_ENKUlNS1_12fnref_detail4base7storageEwE_clES1B_w Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFbwES3_EC1IZNS1_12float_readerIwE13read_exponentINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEENS1_15take_width_viewINSC_ISI_SJ_EEE8sentinelILb1EEEEEEEDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEST_NSR_17basic_string_viewIcNSR_11char_traitsIcEEEEEUlwE_S12_TnPNSR_9enable_ifIXaaaasr6detailE11is_not_selfIST_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRS14_EEvE4typeELPv0EEEOST_ENKUlNS1_12fnref_detail4base7storageEwE_clES1D_w Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFbwES3_EC1IZNS1_12float_readerIwE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEENS1_15take_width_viewINSC_ISI_SJ_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_bEUlwE_S10_TnPNSS_9enable_ifIXaaaasr6detailE11is_not_selfISU_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRS12_EEvE4typeELPv0EEEOSU_ENKUlNS1_12fnref_detail4base7storageEwE_clES1B_w Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFbwES3_EC1IZNS1_12float_readerIwE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEENS1_15take_width_viewINSC_ISI_SJ_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_bEUlwE0_S10_TnPNSS_9enable_ifIXaaaasr6detailE11is_not_selfISU_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRS12_EEvE4typeELPv0EEEOSU_ENKUlNS1_12fnref_detail4base7storageEwE_clES1B_w Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS0_6ranges18default_sentinel_tEEEEERNS1_12float_readerIwEENS1_15take_width_viewINSA_6detail9subrange_8subrangeIS9_SB_EEEENS6_10locale_refEESO_EC1IZNS1_21reader_impl_for_floatIwE10read_specsISM_fEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESW_RKNS6_12format_specsERT0_SN_EUlSG_DpOT_E0_S1A_TnPNSU_9enable_ifIXaaaasr6detailE11is_not_selfISW_SP_Entsr3stdE19is_member_pointer_vIS15_E18is_invocable_usingIS16_EEvE4typeELPv0EEEOSW_ENKUlNS1_12fnref_detail4base7storageESG_SM_SN_E_clES1J_SG_SM_SN_ Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFNS0_13scan_expectedINS0_6detail17basic_scan_bufferIwE16forward_iteratorEEERNS1_12float_readerIwEENS0_6ranges6detail9subrange_8subrangeIS7_NSC_18default_sentinel_tEEENS4_10locale_refEESJ_EC1IZNS1_21reader_impl_for_floatIwE10read_specsISH_fEENS3_IDTclL_ZNSC_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_RKNS4_12format_specsERT0_SI_EUlSB_DpOT_E_S15_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_SK_Entsr3stdE19is_member_pointer_vIS10_E18is_invocable_usingIS11_EEvE4typeELPv0EEEOSR_ENKUlNS1_12fnref_detail4base7storageESB_SH_SI_E_clES1E_SB_SH_SI_ Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFbwES3_EC1IZNS1_12float_readerIwE8read_nanINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_EUlwE_SS_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSM_ENKUlNS1_12fnref_detail4base7storageEwE_clES13_w Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFbwES3_EC1IZNS1_12float_readerIwE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_bEUlwE_SS_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSM_ENKUlNS1_12fnref_detail4base7storageEwE_clES13_w Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFbwES3_EC1IZNS1_12float_readerIwE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_bEUlwE0_SS_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSM_ENKUlNS1_12fnref_detail4base7storageEwE_clES13_w Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFbwES3_EC1IZNS1_12float_readerIwE13read_exponentINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEEEDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESL_NSJ_17basic_string_viewIcNSJ_11char_traitsIcEEEEEUlwE_SU_TnPNSJ_9enable_ifIXaaaasr6detailE11is_not_selfISL_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSW_EEvE4typeELPv0EEEOSL_ENKUlNS1_12fnref_detail4base7storageEwE_clES15_w Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFbwES3_EC1IZNS1_12float_readerIwE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_bEUlwE_SS_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSM_ENKUlNS1_12fnref_detail4base7storageEwE_clES13_w Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFbwES3_EC1IZNS1_12float_readerIwE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_bEUlwE0_SS_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSM_ENKUlNS1_12fnref_detail4base7storageEwE_clES13_w Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFNS0_13scan_expectedINS0_6detail17basic_scan_bufferIwE16forward_iteratorEEERNS1_12float_readerIwEENS0_6ranges6detail9subrange_8subrangeIS7_NSC_18default_sentinel_tEEENS4_10locale_refEESJ_EC1IZNS1_21reader_impl_for_floatIwE10read_specsISH_fEENS3_IDTclL_ZNSC_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_RKNS4_12format_specsERT0_SI_EUlSB_DpOT_E0_S15_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_SK_Entsr3stdE19is_member_pointer_vIS10_E18is_invocable_usingIS11_EEvE4typeELPv0EEEOSR_ENKUlNS1_12fnref_detail4base7storageESB_SH_SI_E_clES1E_SB_SH_SI_ Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwS7_EEEERNS1_12float_readerIwEENS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIS7_S7_EEEENS0_6detail10locale_refEESM_EC1IZNS1_21reader_impl_for_floatIwE10read_specsISJ_fEENS3_IDTclL_ZNSE_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_RKNSK_12format_specsERT0_SL_EUlSC_DpOT_E_S18_TnPNSS_9enable_ifIXaaaasr6detailE11is_not_selfISU_SN_Entsr3stdE19is_member_pointer_vIS13_E18is_invocable_usingIS14_EEvE4typeELPv0EEEOSU_ENKUlNS1_12fnref_detail4base7storageESC_SJ_SL_E_clES1H_SC_SJ_SL_ Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFbwES3_EC1IZNS1_12float_readerIwE8read_nanINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSG_EENS1_15take_width_viewINSC_ISG_SG_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_EUlwE_SX_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSZ_EEvE4typeELPv0EEEOSR_ENKUlNS1_12fnref_detail4base7storageEwE_clES18_w Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFbwES3_EC1IZNS1_12float_readerIwE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSG_EENS1_15take_width_viewINSC_ISG_SG_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_bEUlwE_SX_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSZ_EEvE4typeELPv0EEEOSR_ENKUlNS1_12fnref_detail4base7storageEwE_clES18_w _ZZN3scn2v34impl12function_refIFbwES3_EC1IZNS1_12float_readerIwE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSG_EENS1_15take_width_viewINSC_ISG_SG_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_bEUlwE0_SX_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSZ_EEvE4typeELPv0EEEOSR_ENKUlNS1_12fnref_detail4base7storageEwE_clES18_w Line | Count | Source | 743 | 6 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 6 | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 6 | else { | 749 | 6 | return obj(static_cast<decltype(args)>(args)...); | 750 | 6 | } | 751 | 6 | }), |
Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFbwES3_EC1IZNS1_12float_readerIwE13read_exponentINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSG_EENS1_15take_width_viewINSC_ISG_SG_EEE8sentinelILb1EEEEEEEDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESQ_NSO_17basic_string_viewIcNSO_11char_traitsIcEEEEEUlwE_SZ_TnPNSO_9enable_ifIXaaaasr6detailE11is_not_selfISQ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRS11_EEvE4typeELPv0EEEOSQ_ENKUlNS1_12fnref_detail4base7storageEwE_clES1A_w Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFbwES3_EC1IZNS1_12float_readerIwE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSG_EENS1_15take_width_viewINSC_ISG_SG_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_bEUlwE_SX_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSZ_EEvE4typeELPv0EEEOSR_ENKUlNS1_12fnref_detail4base7storageEwE_clES18_w _ZZN3scn2v34impl12function_refIFbwES3_EC1IZNS1_12float_readerIwE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSG_EENS1_15take_width_viewINSC_ISG_SG_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_bEUlwE0_SX_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSZ_EEvE4typeELPv0EEEOSR_ENKUlNS1_12fnref_detail4base7storageEwE_clES18_w Line | Count | Source | 743 | 104 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 104 | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 104 | else { | 749 | 104 | return obj(static_cast<decltype(args)>(args)...); | 750 | 104 | } | 751 | 104 | }), |
Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwS7_EEEERNS1_12float_readerIwEENS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIS7_S7_EEEENS0_6detail10locale_refEESM_EC1IZNS1_21reader_impl_for_floatIwE10read_specsISJ_fEENS3_IDTclL_ZNSE_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_RKNSK_12format_specsERT0_SL_EUlSC_DpOT_E0_S18_TnPNSS_9enable_ifIXaaaasr6detailE11is_not_selfISU_SN_Entsr3stdE19is_member_pointer_vIS13_E18is_invocable_usingIS14_EEvE4typeELPv0EEEOSU_ENKUlNS1_12fnref_detail4base7storageESC_SJ_SL_E_clES1H_SC_SJ_SL_ Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFNS0_13scan_expectedIPKwEERNS1_12float_readerIwEENS0_6ranges6detail9subrange_8subrangeIS5_S5_EENS0_6detail10locale_refEESH_EC1IZNS1_21reader_impl_for_floatIwE10read_specsISE_fEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESP_RKNSF_12format_specsERT0_SG_EUlS9_DpOT_E_S13_TnPNSN_9enable_ifIXaaaasr6detailE11is_not_selfISP_SI_Entsr3stdE19is_member_pointer_vISY_E18is_invocable_usingISZ_EEvE4typeELPv0EEEOSP_ENKUlNS1_12fnref_detail4base7storageES9_SE_SG_E_clES1C_S9_SE_SG_ Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFbwES3_EC1IZNS1_12float_readerIwE8read_nanINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_EUlwE_SP_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSR_EEvE4typeELPv0EEEOSJ_ENKUlNS1_12fnref_detail4base7storageEwE_clES10_w Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFbwES3_EC1IZNS1_12float_readerIwE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_bEUlwE_SP_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSR_EEvE4typeELPv0EEEOSJ_ENKUlNS1_12fnref_detail4base7storageEwE_clES10_w Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFbwES3_EC1IZNS1_12float_readerIwE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_bEUlwE0_SP_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSR_EEvE4typeELPv0EEEOSJ_ENKUlNS1_12fnref_detail4base7storageEwE_clES10_w Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFbwES3_EC1IZNS1_12float_readerIwE13read_exponentINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEEEDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESI_NSG_17basic_string_viewIcNSG_11char_traitsIcEEEEEUlwE_SR_TnPNSG_9enable_ifIXaaaasr6detailE11is_not_selfISI_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRST_EEvE4typeELPv0EEEOSI_ENKUlNS1_12fnref_detail4base7storageEwE_clES12_w Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFbwES3_EC1IZNS1_12float_readerIwE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_bEUlwE_SP_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSR_EEvE4typeELPv0EEEOSJ_ENKUlNS1_12fnref_detail4base7storageEwE_clES10_w _ZZN3scn2v34impl12function_refIFbwES3_EC1IZNS1_12float_readerIwE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_bEUlwE0_SP_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSR_EEvE4typeELPv0EEEOSJ_ENKUlNS1_12fnref_detail4base7storageEwE_clES10_w Line | Count | Source | 743 | 8 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 8 | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 8 | else { | 749 | 8 | return obj(static_cast<decltype(args)>(args)...); | 750 | 8 | } | 751 | 8 | }), |
Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFNS0_13scan_expectedIPKwEERNS1_12float_readerIwEENS0_6ranges6detail9subrange_8subrangeIS5_S5_EENS0_6detail10locale_refEESH_EC1IZNS1_21reader_impl_for_floatIwE10read_specsISE_fEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESP_RKNSF_12format_specsERT0_SG_EUlS9_DpOT_E0_S13_TnPNSN_9enable_ifIXaaaasr6detailE11is_not_selfISP_SI_Entsr3stdE19is_member_pointer_vISY_E18is_invocable_usingISZ_EEvE4typeELPv0EEEOSP_ENKUlNS1_12fnref_detail4base7storageES9_SE_SG_E_clES1C_S9_SE_SG_ Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS0_6ranges18default_sentinel_tEEEEERNS1_12float_readerIwEENS1_15take_width_viewINSA_6detail9subrange_8subrangeIS9_SB_EEEENS6_10locale_refEESO_EC1IZNS1_21reader_impl_for_floatIwE10read_specsISM_dEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESW_RKNS6_12format_specsERT0_SN_EUlSG_DpOT_E_S1A_TnPNSU_9enable_ifIXaaaasr6detailE11is_not_selfISW_SP_Entsr3stdE19is_member_pointer_vIS15_E18is_invocable_usingIS16_EEvE4typeELPv0EEEOSW_ENKUlNS1_12fnref_detail4base7storageESG_SM_SN_E_clES1J_SG_SM_SN_ Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS0_6ranges18default_sentinel_tEEEEERNS1_12float_readerIwEENS1_15take_width_viewINSA_6detail9subrange_8subrangeIS9_SB_EEEENS6_10locale_refEESO_EC1IZNS1_21reader_impl_for_floatIwE10read_specsISM_dEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESW_RKNS6_12format_specsERT0_SN_EUlSG_DpOT_E0_S1A_TnPNSU_9enable_ifIXaaaasr6detailE11is_not_selfISW_SP_Entsr3stdE19is_member_pointer_vIS15_E18is_invocable_usingIS16_EEvE4typeELPv0EEEOSW_ENKUlNS1_12fnref_detail4base7storageESG_SM_SN_E_clES1J_SG_SM_SN_ Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFNS0_13scan_expectedINS0_6detail17basic_scan_bufferIwE16forward_iteratorEEERNS1_12float_readerIwEENS0_6ranges6detail9subrange_8subrangeIS7_NSC_18default_sentinel_tEEENS4_10locale_refEESJ_EC1IZNS1_21reader_impl_for_floatIwE10read_specsISH_dEENS3_IDTclL_ZNSC_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_RKNS4_12format_specsERT0_SI_EUlSB_DpOT_E_S15_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_SK_Entsr3stdE19is_member_pointer_vIS10_E18is_invocable_usingIS11_EEvE4typeELPv0EEEOSR_ENKUlNS1_12fnref_detail4base7storageESB_SH_SI_E_clES1E_SB_SH_SI_ Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFNS0_13scan_expectedINS0_6detail17basic_scan_bufferIwE16forward_iteratorEEERNS1_12float_readerIwEENS0_6ranges6detail9subrange_8subrangeIS7_NSC_18default_sentinel_tEEENS4_10locale_refEESJ_EC1IZNS1_21reader_impl_for_floatIwE10read_specsISH_dEENS3_IDTclL_ZNSC_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_RKNS4_12format_specsERT0_SI_EUlSB_DpOT_E0_S15_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_SK_Entsr3stdE19is_member_pointer_vIS10_E18is_invocable_usingIS11_EEvE4typeELPv0EEEOSR_ENKUlNS1_12fnref_detail4base7storageESB_SH_SI_E_clES1E_SB_SH_SI_ _ZZN3scn2v34impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwS7_EEEERNS1_12float_readerIwEENS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIS7_S7_EEEENS0_6detail10locale_refEESM_EC1IZNS1_21reader_impl_for_floatIwE10read_specsISJ_dEENS3_IDTclL_ZNSE_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_RKNSK_12format_specsERT0_SL_EUlSC_DpOT_E_S18_TnPNSS_9enable_ifIXaaaasr6detailE11is_not_selfISU_SN_Entsr3stdE19is_member_pointer_vIS13_E18is_invocable_usingIS14_EEvE4typeELPv0EEEOSU_ENKUlNS1_12fnref_detail4base7storageESC_SJ_SL_E_clES1H_SC_SJ_SL_ Line | Count | Source | 743 | 8 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 8 | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 8 | else { | 749 | 8 | return obj(static_cast<decltype(args)>(args)...); | 750 | 8 | } | 751 | 8 | }), |
_ZZN3scn2v34impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwS7_EEEERNS1_12float_readerIwEENS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIS7_S7_EEEENS0_6detail10locale_refEESM_EC1IZNS1_21reader_impl_for_floatIwE10read_specsISJ_dEENS3_IDTclL_ZNSE_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_RKNSK_12format_specsERT0_SL_EUlSC_DpOT_E0_S18_TnPNSS_9enable_ifIXaaaasr6detailE11is_not_selfISU_SN_Entsr3stdE19is_member_pointer_vIS13_E18is_invocable_usingIS14_EEvE4typeELPv0EEEOSU_ENKUlNS1_12fnref_detail4base7storageESC_SJ_SL_E_clES1H_SC_SJ_SL_ Line | Count | Source | 743 | 102 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 102 | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 102 | else { | 749 | 102 | return obj(static_cast<decltype(args)>(args)...); | 750 | 102 | } | 751 | 102 | }), |
_ZZN3scn2v34impl12function_refIFNS0_13scan_expectedIPKwEERNS1_12float_readerIwEENS0_6ranges6detail9subrange_8subrangeIS5_S5_EENS0_6detail10locale_refEESH_EC1IZNS1_21reader_impl_for_floatIwE10read_specsISE_dEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESP_RKNSF_12format_specsERT0_SG_EUlS9_DpOT_E_S13_TnPNSN_9enable_ifIXaaaasr6detailE11is_not_selfISP_SI_Entsr3stdE19is_member_pointer_vISY_E18is_invocable_usingISZ_EEvE4typeELPv0EEEOSP_ENKUlNS1_12fnref_detail4base7storageES9_SE_SG_E_clES1C_S9_SE_SG_ Line | Count | Source | 743 | 8 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 8 | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 8 | else { | 749 | 8 | return obj(static_cast<decltype(args)>(args)...); | 750 | 8 | } | 751 | 8 | }), |
_ZZN3scn2v34impl12function_refIFNS0_13scan_expectedIPKwEERNS1_12float_readerIwEENS0_6ranges6detail9subrange_8subrangeIS5_S5_EENS0_6detail10locale_refEESH_EC1IZNS1_21reader_impl_for_floatIwE10read_specsISE_dEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESP_RKNSF_12format_specsERT0_SG_EUlS9_DpOT_E0_S13_TnPNSN_9enable_ifIXaaaasr6detailE11is_not_selfISP_SI_Entsr3stdE19is_member_pointer_vISY_E18is_invocable_usingISZ_EEvE4typeELPv0EEEOSP_ENKUlNS1_12fnref_detail4base7storageES9_SE_SG_E_clES1C_S9_SE_SG_ Line | Count | Source | 743 | 314 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 314 | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 314 | else { | 749 | 314 | return obj(static_cast<decltype(args)>(args)...); | 750 | 314 | } | 751 | 314 | }), |
Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS0_6ranges18default_sentinel_tEEEEERNS1_12float_readerIwEENS1_15take_width_viewINSA_6detail9subrange_8subrangeIS9_SB_EEEENS6_10locale_refEESO_EC1IZNS1_21reader_impl_for_floatIwE10read_specsISM_eEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESW_RKNS6_12format_specsERT0_SN_EUlSG_DpOT_E_S1A_TnPNSU_9enable_ifIXaaaasr6detailE11is_not_selfISW_SP_Entsr3stdE19is_member_pointer_vIS15_E18is_invocable_usingIS16_EEvE4typeELPv0EEEOSW_ENKUlNS1_12fnref_detail4base7storageESG_SM_SN_E_clES1J_SG_SM_SN_ Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS0_6ranges18default_sentinel_tEEEEERNS1_12float_readerIwEENS1_15take_width_viewINSA_6detail9subrange_8subrangeIS9_SB_EEEENS6_10locale_refEESO_EC1IZNS1_21reader_impl_for_floatIwE10read_specsISM_eEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESW_RKNS6_12format_specsERT0_SN_EUlSG_DpOT_E0_S1A_TnPNSU_9enable_ifIXaaaasr6detailE11is_not_selfISW_SP_Entsr3stdE19is_member_pointer_vIS15_E18is_invocable_usingIS16_EEvE4typeELPv0EEEOSW_ENKUlNS1_12fnref_detail4base7storageESG_SM_SN_E_clES1J_SG_SM_SN_ Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFNS0_13scan_expectedINS0_6detail17basic_scan_bufferIwE16forward_iteratorEEERNS1_12float_readerIwEENS0_6ranges6detail9subrange_8subrangeIS7_NSC_18default_sentinel_tEEENS4_10locale_refEESJ_EC1IZNS1_21reader_impl_for_floatIwE10read_specsISH_eEENS3_IDTclL_ZNSC_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_RKNS4_12format_specsERT0_SI_EUlSB_DpOT_E_S15_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_SK_Entsr3stdE19is_member_pointer_vIS10_E18is_invocable_usingIS11_EEvE4typeELPv0EEEOSR_ENKUlNS1_12fnref_detail4base7storageESB_SH_SI_E_clES1E_SB_SH_SI_ Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFNS0_13scan_expectedINS0_6detail17basic_scan_bufferIwE16forward_iteratorEEERNS1_12float_readerIwEENS0_6ranges6detail9subrange_8subrangeIS7_NSC_18default_sentinel_tEEENS4_10locale_refEESJ_EC1IZNS1_21reader_impl_for_floatIwE10read_specsISH_eEENS3_IDTclL_ZNSC_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_RKNS4_12format_specsERT0_SI_EUlSB_DpOT_E0_S15_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_SK_Entsr3stdE19is_member_pointer_vIS10_E18is_invocable_usingIS11_EEvE4typeELPv0EEEOSR_ENKUlNS1_12fnref_detail4base7storageESB_SH_SI_E_clES1E_SB_SH_SI_ Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwS7_EEEERNS1_12float_readerIwEENS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIS7_S7_EEEENS0_6detail10locale_refEESM_EC1IZNS1_21reader_impl_for_floatIwE10read_specsISJ_eEENS3_IDTclL_ZNSE_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_RKNSK_12format_specsERT0_SL_EUlSC_DpOT_E_S18_TnPNSS_9enable_ifIXaaaasr6detailE11is_not_selfISU_SN_Entsr3stdE19is_member_pointer_vIS13_E18is_invocable_usingIS14_EEvE4typeELPv0EEEOSU_ENKUlNS1_12fnref_detail4base7storageESC_SJ_SL_E_clES1H_SC_SJ_SL_ Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwS7_EEEERNS1_12float_readerIwEENS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIS7_S7_EEEENS0_6detail10locale_refEESM_EC1IZNS1_21reader_impl_for_floatIwE10read_specsISJ_eEENS3_IDTclL_ZNSE_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_RKNSK_12format_specsERT0_SL_EUlSC_DpOT_E0_S18_TnPNSS_9enable_ifIXaaaasr6detailE11is_not_selfISU_SN_Entsr3stdE19is_member_pointer_vIS13_E18is_invocable_usingIS14_EEvE4typeELPv0EEEOSU_ENKUlNS1_12fnref_detail4base7storageESC_SJ_SL_E_clES1H_SC_SJ_SL_ Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFNS0_13scan_expectedIPKwEERNS1_12float_readerIwEENS0_6ranges6detail9subrange_8subrangeIS5_S5_EENS0_6detail10locale_refEESH_EC1IZNS1_21reader_impl_for_floatIwE10read_specsISE_eEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESP_RKNSF_12format_specsERT0_SG_EUlS9_DpOT_E_S13_TnPNSN_9enable_ifIXaaaasr6detailE11is_not_selfISP_SI_Entsr3stdE19is_member_pointer_vISY_E18is_invocable_usingISZ_EEvE4typeELPv0EEEOSP_ENKUlNS1_12fnref_detail4base7storageES9_SE_SG_E_clES1C_S9_SE_SG_ Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFNS0_13scan_expectedIPKwEERNS1_12float_readerIwEENS0_6ranges6detail9subrange_8subrangeIS5_S5_EENS0_6detail10locale_refEESH_EC1IZNS1_21reader_impl_for_floatIwE10read_specsISE_eEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESP_RKNSF_12format_specsERT0_SG_EUlS9_DpOT_E0_S13_TnPNSN_9enable_ifIXaaaasr6detailE11is_not_selfISP_SI_Entsr3stdE19is_member_pointer_vISY_E18is_invocable_usingISZ_EEvE4typeELPv0EEEOSP_ENKUlNS1_12fnref_detail4base7storageES9_SE_SG_E_clES1C_S9_SE_SG_ Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFbDiES3_EC1IZNS1_24read_until_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS8_18default_sentinel_tEEEEEEEDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESL_EUlDiE_SQ_TnPNSJ_9enable_ifIXaaaasr6detailE11is_not_selfISL_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSS_EEvE4typeELPv0EEEOSL_ENKUlNS1_12fnref_detail4base7storageEDiE_clES11_Di Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFbwES3_EC1IZNS1_23custom_word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENSA_18default_sentinel_tEEEEEcEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_RKNSE_12format_specsERNSM_12basic_stringIT0_NSM_11char_traitsISY_EENSM_9allocatorISY_EEEEEUlwE_S15_TnPNSM_9enable_ifIXaaaasr6detailE11is_not_selfISO_S4_Entsr3stdE19is_member_pointer_vISY_E18is_invocable_usingIRSY_EEvE4typeELPv0EEEOSO_ENKUlNS1_12fnref_detail4base7storageEwE_clES1F_w Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFbDiES3_EC1IRKZNKS1_25character_set_reader_implIwE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENSA_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_NS7_12specs_helperEEUlDiE_SW_TnPNSM_9enable_ifIXaaaasr6detailE11is_not_selfISO_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSZ_EEvE4typeELPv0EEEOSO_ENKUlNS1_12fnref_detail4base7storageEDiE_clES18_Di Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFbwES3_EC1IRKZNKS1_25character_set_reader_implIwE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENSA_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_NS7_12specs_helperEEUlwE_SW_TnPNSM_9enable_ifIXaaaasr6detailE11is_not_selfISO_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSZ_EEvE4typeELPv0EEEOSO_ENKUlNS1_12fnref_detail4base7storageEwE_clES18_w Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFbDiES3_EC1IZNS1_24read_until_classic_spaceINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS7_18default_sentinel_tEEEEEDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESJ_EUlDiE_SO_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSQ_EEvE4typeELPv0EEEOSJ_ENKUlNS1_12fnref_detail4base7storageEDiE_clESZ_Di Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFbwES3_EC1IZNS1_23custom_word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEcEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_RKNSD_12format_specsERNSK_12basic_stringIT0_NSK_11char_traitsISW_EENSK_9allocatorISW_EEEEEUlwE_S13_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vISW_E18is_invocable_usingIRSW_EEvE4typeELPv0EEEOSM_ENKUlNS1_12fnref_detail4base7storageEwE_clES1D_w Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFbDiES3_EC1IRKZNKS1_25character_set_reader_implIwE16read_source_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_NS7_12specs_helperEEUlDiE_SU_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSX_EEvE4typeELPv0EEEOSM_ENKUlNS1_12fnref_detail4base7storageEDiE_clES16_Di Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFbwES3_EC1IRKZNKS1_25character_set_reader_implIwE16read_source_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_NS7_12specs_helperEEUlwE_SU_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSX_EEvE4typeELPv0EEEOSM_ENKUlNS1_12fnref_detail4base7storageEwE_clES16_w _ZZN3scn2v34impl12function_refIFbDiES3_EC1IZNS1_24read_until_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSD_EEEEEEDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESI_EUlDiE_SN_TnPNSG_9enable_ifIXaaaasr6detailE11is_not_selfISI_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSP_EEvE4typeELPv0EEEOSI_ENKUlNS1_12fnref_detail4base7storageEDiE_clESY_Di Line | Count | Source | 743 | 6.03k | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 6.03k | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 6.03k | else { | 749 | 6.03k | return obj(static_cast<decltype(args)>(args)...); | 750 | 6.03k | } | 751 | 6.03k | }), |
_ZZN3scn2v34impl12function_refIFbwES3_EC1IZNS1_23custom_word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSF_EEEEcEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNS0_6detail12format_specsERNSJ_12basic_stringIT0_NSJ_11char_traitsISW_EENSJ_9allocatorISW_EEEEEUlwE_S13_TnPNSJ_9enable_ifIXaaaasr6detailE11is_not_selfISL_S4_Entsr3stdE19is_member_pointer_vISW_E18is_invocable_usingIRSW_EEvE4typeELPv0EEEOSL_ENKUlNS1_12fnref_detail4base7storageEwE_clES1D_w Line | Count | Source | 743 | 338 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 338 | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 338 | else { | 749 | 338 | return obj(static_cast<decltype(args)>(args)...); | 750 | 338 | } | 751 | 338 | }), |
_ZZN3scn2v34impl12function_refIFbDiES3_EC1IRKZNKS1_25character_set_reader_implIwE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSF_EEEEEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_NS7_12specs_helperEEUlDiE_ST_TnPNSJ_9enable_ifIXaaaasr6detailE11is_not_selfISL_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSW_EEvE4typeELPv0EEEOSL_ENKUlNS1_12fnref_detail4base7storageEDiE_clES15_Di Line | Count | Source | 743 | 1.69k | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 1.69k | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 1.69k | else { | 749 | 1.69k | return obj(static_cast<decltype(args)>(args)...); | 750 | 1.69k | } | 751 | 1.69k | }), |
_ZZN3scn2v34impl12function_refIFbwES3_EC1IRKZNKS1_25character_set_reader_implIwE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSF_EEEEEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_NS7_12specs_helperEEUlwE_ST_TnPNSJ_9enable_ifIXaaaasr6detailE11is_not_selfISL_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSW_EEvE4typeELPv0EEEOSL_ENKUlNS1_12fnref_detail4base7storageEwE_clES15_w Line | Count | Source | 743 | 264 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 264 | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 264 | else { | 749 | 264 | return obj(static_cast<decltype(args)>(args)...); | 750 | 264 | } | 751 | 264 | }), |
_ZZN3scn2v34impl12function_refIFbDiES3_EC1IZNS1_24read_until_classic_spaceINS0_6ranges6detail9subrange_8subrangeIPKwSC_EEEEDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESG_EUlDiE_SL_TnPNSE_9enable_ifIXaaaasr6detailE11is_not_selfISG_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSN_EEvE4typeELPv0EEEOSG_ENKUlNS1_12fnref_detail4base7storageEDiE_clESW_Di Line | Count | Source | 743 | 22.8k | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 22.8k | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 22.8k | else { | 749 | 22.8k | return obj(static_cast<decltype(args)>(args)...); | 750 | 22.8k | } | 751 | 22.8k | }), |
_ZZN3scn2v34impl12function_refIFbwES3_EC1IZNS1_23custom_word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEcEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_RKNS0_6detail12format_specsERNSH_12basic_stringIT0_NSH_11char_traitsISU_EENSH_9allocatorISU_EEEEEUlwE_S11_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vISU_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSJ_ENKUlNS1_12fnref_detail4base7storageEwE_clES1B_w Line | Count | Source | 743 | 486 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 486 | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 486 | else { | 749 | 486 | return obj(static_cast<decltype(args)>(args)...); | 750 | 486 | } | 751 | 486 | }), |
_ZZN3scn2v34impl12function_refIFbDiES3_EC1IRKZNKS1_25character_set_reader_implIwE16read_source_implINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_NS7_12specs_helperEEUlDiE_SR_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSJ_ENKUlNS1_12fnref_detail4base7storageEDiE_clES13_Di Line | Count | Source | 743 | 4.33k | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 4.33k | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 4.33k | else { | 749 | 4.33k | return obj(static_cast<decltype(args)>(args)...); | 750 | 4.33k | } | 751 | 4.33k | }), |
_ZZN3scn2v34impl12function_refIFbwES3_EC1IRKZNKS1_25character_set_reader_implIwE16read_source_implINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_NS7_12specs_helperEEUlwE_SR_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSJ_ENKUlNS1_12fnref_detail4base7storageEwE_clES13_w Line | Count | Source | 743 | 1.27k | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 1.27k | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 1.27k | else { | 749 | 1.27k | return obj(static_cast<decltype(args)>(args)...); | 750 | 1.27k | } | 751 | 1.27k | }), |
Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFbwES3_EC1IZNS1_23custom_word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENSA_18default_sentinel_tEEEEEwEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_RKNSE_12format_specsERNSM_12basic_stringIT0_NSM_11char_traitsISY_EENSM_9allocatorISY_EEEEEUlwE_S15_TnPNSM_9enable_ifIXaaaasr6detailE11is_not_selfISO_S4_Entsr3stdE19is_member_pointer_vISY_E18is_invocable_usingIRSY_EEvE4typeELPv0EEEOSO_ENKUlNS1_12fnref_detail4base7storageEwE_clES1F_w Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFbwES3_EC1IZNS1_23custom_word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEwEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_RKNSD_12format_specsERNSK_12basic_stringIT0_NSK_11char_traitsISW_EENSK_9allocatorISW_EEEEEUlwE_S13_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vISW_E18is_invocable_usingIRSW_EEvE4typeELPv0EEEOSM_ENKUlNS1_12fnref_detail4base7storageEwE_clES1D_w _ZZN3scn2v34impl12function_refIFbwES3_EC1IZNS1_23custom_word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSF_EEEEwEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNS0_6detail12format_specsERNSJ_12basic_stringIT0_NSJ_11char_traitsISW_EENSJ_9allocatorISW_EEEEEUlwE_S13_TnPNSJ_9enable_ifIXaaaasr6detailE11is_not_selfISL_S4_Entsr3stdE19is_member_pointer_vISW_E18is_invocable_usingIRSW_EEvE4typeELPv0EEEOSL_ENKUlNS1_12fnref_detail4base7storageEwE_clES1D_w Line | Count | Source | 743 | 338 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 338 | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 338 | else { | 749 | 338 | return obj(static_cast<decltype(args)>(args)...); | 750 | 338 | } | 751 | 338 | }), |
_ZZN3scn2v34impl12function_refIFbwES3_EC1IZNS1_23custom_word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEwEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_RKNS0_6detail12format_specsERNSH_12basic_stringIT0_NSH_11char_traitsISU_EENSH_9allocatorISU_EEEEEUlwE_S11_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vISU_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSJ_ENKUlNS1_12fnref_detail4base7storageEwE_clES1B_w Line | Count | Source | 743 | 486 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 486 | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 486 | else { | 749 | 486 | return obj(static_cast<decltype(args)>(args)...); | 750 | 486 | } | 751 | 486 | }), |
Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFbwES3_EC1IZNS1_23custom_word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENSA_18default_sentinel_tEEEEEcEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_RKNSE_12format_specsERNSM_17basic_string_viewIT0_NSM_11char_traitsISY_EEEEEUlwE_S13_TnPNSM_9enable_ifIXaaaasr6detailE11is_not_selfISO_S4_Entsr3stdE19is_member_pointer_vISY_E18is_invocable_usingIRSY_EEvE4typeELPv0EEEOSO_ENKUlNS1_12fnref_detail4base7storageEwE_clES1D_w Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFbwES3_EC1IZNS1_23custom_word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEcEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_RKNSD_12format_specsERNSK_17basic_string_viewIT0_NSK_11char_traitsISW_EEEEEUlwE_S11_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vISW_E18is_invocable_usingIRSW_EEvE4typeELPv0EEEOSM_ENKUlNS1_12fnref_detail4base7storageEwE_clES1B_w Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFbwES3_EC1IZNS1_23custom_word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSF_EEEEcEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNS0_6detail12format_specsERNSJ_17basic_string_viewIT0_NSJ_11char_traitsISW_EEEEEUlwE_S11_TnPNSJ_9enable_ifIXaaaasr6detailE11is_not_selfISL_S4_Entsr3stdE19is_member_pointer_vISW_E18is_invocable_usingIRSW_EEvE4typeELPv0EEEOSL_ENKUlNS1_12fnref_detail4base7storageEwE_clES1B_w Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFbwES3_EC1IZNS1_23custom_word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEcEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_RKNS0_6detail12format_specsERNSH_17basic_string_viewIT0_NSH_11char_traitsISU_EEEEEUlwE_SZ_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vISU_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSJ_ENKUlNS1_12fnref_detail4base7storageEwE_clES19_w Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFbwES3_EC1IZNS1_23custom_word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENSA_18default_sentinel_tEEEEEwEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_RKNSE_12format_specsERNSM_17basic_string_viewIT0_NSM_11char_traitsISY_EEEEEUlwE_S13_TnPNSM_9enable_ifIXaaaasr6detailE11is_not_selfISO_S4_Entsr3stdE19is_member_pointer_vISY_E18is_invocable_usingIRSY_EEvE4typeELPv0EEEOSO_ENKUlNS1_12fnref_detail4base7storageEwE_clES1D_w Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFbwES3_EC1IZNS1_23custom_word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEwEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_RKNSD_12format_specsERNSK_17basic_string_viewIT0_NSK_11char_traitsISW_EEEEEUlwE_S11_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vISW_E18is_invocable_usingIRSW_EEvE4typeELPv0EEEOSM_ENKUlNS1_12fnref_detail4base7storageEwE_clES1B_w _ZZN3scn2v34impl12function_refIFbwES3_EC1IZNS1_23custom_word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSF_EEEEwEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNS0_6detail12format_specsERNSJ_17basic_string_viewIT0_NSJ_11char_traitsISW_EEEEEUlwE_S11_TnPNSJ_9enable_ifIXaaaasr6detailE11is_not_selfISL_S4_Entsr3stdE19is_member_pointer_vISW_E18is_invocable_usingIRSW_EEvE4typeELPv0EEEOSL_ENKUlNS1_12fnref_detail4base7storageEwE_clES1B_w Line | Count | Source | 743 | 338 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 338 | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 338 | else { | 749 | 338 | return obj(static_cast<decltype(args)>(args)...); | 750 | 338 | } | 751 | 338 | }), |
_ZZN3scn2v34impl12function_refIFbwES3_EC1IZNS1_23custom_word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEwEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_RKNS0_6detail12format_specsERNSH_17basic_string_viewIT0_NSH_11char_traitsISU_EEEEEUlwE_SZ_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vISU_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSJ_ENKUlNS1_12fnref_detail4base7storageEwE_clES19_w Line | Count | Source | 743 | 486 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 486 | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 486 | else { | 749 | 486 | return obj(static_cast<decltype(args)>(args)...); | 750 | 486 | } | 751 | 486 | }), |
Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFbDiES3_EC1IZNS1_24read_while_classic_spaceINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS7_18default_sentinel_tEEEEEDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESJ_EUlDiE_SO_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSQ_EEvE4typeELPv0EEEOSJ_ENKUlNS1_12fnref_detail4base7storageEDiE_clESZ_Di Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFbDiES3_EC1IZNS1_24read_until_classic_spaceINSt3__117basic_string_viewIwNS7_11char_traitsIwEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS7_9add_constIT_E4typeEEEEESE_EUlDiE_SJ_TnPNS7_9enable_ifIXaaaasr6detailE11is_not_selfISE_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSL_EEvE4typeELPv0EEEOSE_ENKUlNS1_12fnref_detail4base7storageEDiE_clESU_Di Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFNS0_13scan_expectedIPKcEERNS1_12float_readerIcEENS0_6ranges6detail9subrange_8subrangeIS5_S5_EENS0_6detail10locale_refEESH_EC1IZNS1_21reader_impl_for_floatIcE12read_defaultISE_fEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESP_RT0_SG_EUlS9_DpOT_E_S10_TnPNSN_9enable_ifIXaaaasr6detailE11is_not_selfISP_SI_Entsr3stdE19is_member_pointer_vISV_E18is_invocable_usingISW_EEvE4typeELPv0EEEOSP_ENKUlNS1_12fnref_detail4base7storageES9_SE_SG_E_clES19_S9_SE_SG_ _ZZN3scn2v34impl12function_refIFNS0_13scan_expectedIPKcEERNS1_12float_readerIcEENS0_6ranges6detail9subrange_8subrangeIS5_S5_EENS0_6detail10locale_refEESH_EC1IZNS1_21reader_impl_for_floatIcE12read_defaultISE_dEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESP_RT0_SG_EUlS9_DpOT_E_S10_TnPNSN_9enable_ifIXaaaasr6detailE11is_not_selfISP_SI_Entsr3stdE19is_member_pointer_vISV_E18is_invocable_usingISW_EEvE4typeELPv0EEEOSP_ENKUlNS1_12fnref_detail4base7storageES9_SE_SG_E_clES19_S9_SE_SG_ Line | Count | Source | 743 | 636 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 636 | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 636 | else { | 749 | 636 | return obj(static_cast<decltype(args)>(args)...); | 750 | 636 | } | 751 | 636 | }), |
Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFNS0_13scan_expectedIPKcEERNS1_12float_readerIcEENS0_6ranges6detail9subrange_8subrangeIS5_S5_EENS0_6detail10locale_refEESH_EC1IZNS1_21reader_impl_for_floatIcE12read_defaultISE_eEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESP_RT0_SG_EUlS9_DpOT_E_S10_TnPNSN_9enable_ifIXaaaasr6detailE11is_not_selfISP_SI_Entsr3stdE19is_member_pointer_vISV_E18is_invocable_usingISW_EEvE4typeELPv0EEEOSP_ENKUlNS1_12fnref_detail4base7storageES9_SE_SG_E_clES19_S9_SE_SG_ Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFNS0_13scan_expectedINS0_6detail17basic_scan_bufferIcE16forward_iteratorEEERNS1_12float_readerIcEENS0_6ranges6detail9subrange_8subrangeIS7_NSC_18default_sentinel_tEEENS4_10locale_refEESJ_EC1IZNS1_21reader_impl_for_floatIcE12read_defaultISH_fEENS3_IDTclL_ZNSC_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_RT0_SI_EUlSB_DpOT_E_S12_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_SK_Entsr3stdE19is_member_pointer_vISX_E18is_invocable_usingISY_EEvE4typeELPv0EEEOSR_ENKUlNS1_12fnref_detail4base7storageESB_SH_SI_E_clES1B_SB_SH_SI_ Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFNS0_13scan_expectedINS0_6detail17basic_scan_bufferIcE16forward_iteratorEEERNS1_12float_readerIcEENS0_6ranges6detail9subrange_8subrangeIS7_NSC_18default_sentinel_tEEENS4_10locale_refEESJ_EC1IZNS1_21reader_impl_for_floatIcE12read_defaultISH_dEENS3_IDTclL_ZNSC_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_RT0_SI_EUlSB_DpOT_E_S12_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_SK_Entsr3stdE19is_member_pointer_vISX_E18is_invocable_usingISY_EEvE4typeELPv0EEEOSR_ENKUlNS1_12fnref_detail4base7storageESB_SH_SI_E_clES1B_SB_SH_SI_ Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFNS0_13scan_expectedINS0_6detail17basic_scan_bufferIcE16forward_iteratorEEERNS1_12float_readerIcEENS0_6ranges6detail9subrange_8subrangeIS7_NSC_18default_sentinel_tEEENS4_10locale_refEESJ_EC1IZNS1_21reader_impl_for_floatIcE12read_defaultISH_eEENS3_IDTclL_ZNSC_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_RT0_SI_EUlSB_DpOT_E_S12_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_SK_Entsr3stdE19is_member_pointer_vISX_E18is_invocable_usingISY_EEvE4typeELPv0EEEOSR_ENKUlNS1_12fnref_detail4base7storageESB_SH_SI_E_clES1B_SB_SH_SI_ _ZZN3scn2v34impl12function_refIFbcES3_EC1IRKZNS1_9skip_fillINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSD_EEEEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRT_EEEElEEEESJ_lRKNS0_6detail9fill_typeEbEUlcE_ST_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSW_EEvE4typeELPv0EEEOSJ_ENKUlNS1_12fnref_detail4base7storageEcE_clES15_c Line | Count | Source | 743 | 606 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 606 | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 606 | else { | 749 | 606 | return obj(static_cast<decltype(args)>(args)...); | 750 | 606 | } | 751 | 606 | }), |
_ZZN3scn2v34impl12function_refIFbDiES3_EC1IZNS1_24read_while_classic_spaceINS1_15take_width_viewINS7_INS0_6ranges6detail9subrange_8subrangeIPKcSD_EEEEEEEEDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESJ_EUlDiE_SO_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSQ_EEvE4typeELPv0EEEOSJ_ENKUlNS1_12fnref_detail4base7storageEDiE_clESZ_Di Line | Count | Source | 743 | 2.96k | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 2.96k | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 2.96k | else { | 749 | 2.96k | return obj(static_cast<decltype(args)>(args)...); | 750 | 2.96k | } | 751 | 2.96k | }), |
Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFNS0_13scan_expectedIPKwEERNS1_12float_readerIwEENS0_6ranges6detail9subrange_8subrangeIS5_S5_EENS0_6detail10locale_refEESH_EC1IZNS1_21reader_impl_for_floatIwE12read_defaultISE_fEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESP_RT0_SG_EUlS9_DpOT_E_S10_TnPNSN_9enable_ifIXaaaasr6detailE11is_not_selfISP_SI_Entsr3stdE19is_member_pointer_vISV_E18is_invocable_usingISW_EEvE4typeELPv0EEEOSP_ENKUlNS1_12fnref_detail4base7storageES9_SE_SG_E_clES19_S9_SE_SG_ _ZZN3scn2v34impl12function_refIFNS0_13scan_expectedIPKwEERNS1_12float_readerIwEENS0_6ranges6detail9subrange_8subrangeIS5_S5_EENS0_6detail10locale_refEESH_EC1IZNS1_21reader_impl_for_floatIwE12read_defaultISE_dEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESP_RT0_SG_EUlS9_DpOT_E_S10_TnPNSN_9enable_ifIXaaaasr6detailE11is_not_selfISP_SI_Entsr3stdE19is_member_pointer_vISV_E18is_invocable_usingISW_EEvE4typeELPv0EEEOSP_ENKUlNS1_12fnref_detail4base7storageES9_SE_SG_E_clES19_S9_SE_SG_ Line | Count | Source | 743 | 474 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 474 | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 474 | else { | 749 | 474 | return obj(static_cast<decltype(args)>(args)...); | 750 | 474 | } | 751 | 474 | }), |
Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFNS0_13scan_expectedIPKwEERNS1_12float_readerIwEENS0_6ranges6detail9subrange_8subrangeIS5_S5_EENS0_6detail10locale_refEESH_EC1IZNS1_21reader_impl_for_floatIwE12read_defaultISE_eEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESP_RT0_SG_EUlS9_DpOT_E_S10_TnPNSN_9enable_ifIXaaaasr6detailE11is_not_selfISP_SI_Entsr3stdE19is_member_pointer_vISV_E18is_invocable_usingISW_EEvE4typeELPv0EEEOSP_ENKUlNS1_12fnref_detail4base7storageES9_SE_SG_E_clES19_S9_SE_SG_ _ZZN3scn2v34impl12function_refIFbwES3_EC1IRKZNS1_9skip_fillINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSD_EEEEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRT_EEEElEEEESJ_lRKNS0_6detail9fill_typeEbEUlwE_ST_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSW_EEvE4typeELPv0EEEOSJ_ENKUlNS1_12fnref_detail4base7storageEwE_clES15_w Line | Count | Source | 743 | 296 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 296 | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 296 | else { | 749 | 296 | return obj(static_cast<decltype(args)>(args)...); | 750 | 296 | } | 751 | 296 | }), |
_ZZN3scn2v34impl12function_refIFbDiES3_EC1IZNS1_24read_while_classic_spaceINS1_15take_width_viewINS7_INS0_6ranges6detail9subrange_8subrangeIPKwSD_EEEEEEEEDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESJ_EUlDiE_SO_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSQ_EEvE4typeELPv0EEEOSJ_ENKUlNS1_12fnref_detail4base7storageEDiE_clESZ_Di Line | Count | Source | 743 | 714 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 714 | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 714 | else { | 749 | 714 | return obj(static_cast<decltype(args)>(args)...); | 750 | 714 | } | 751 | 714 | }), |
Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFNS0_13scan_expectedINS0_6detail17basic_scan_bufferIwE16forward_iteratorEEERNS1_12float_readerIwEENS0_6ranges6detail9subrange_8subrangeIS7_NSC_18default_sentinel_tEEENS4_10locale_refEESJ_EC1IZNS1_21reader_impl_for_floatIwE12read_defaultISH_fEENS3_IDTclL_ZNSC_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_RT0_SI_EUlSB_DpOT_E_S12_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_SK_Entsr3stdE19is_member_pointer_vISX_E18is_invocable_usingISY_EEvE4typeELPv0EEEOSR_ENKUlNS1_12fnref_detail4base7storageESB_SH_SI_E_clES1B_SB_SH_SI_ Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFNS0_13scan_expectedINS0_6detail17basic_scan_bufferIwE16forward_iteratorEEERNS1_12float_readerIwEENS0_6ranges6detail9subrange_8subrangeIS7_NSC_18default_sentinel_tEEENS4_10locale_refEESJ_EC1IZNS1_21reader_impl_for_floatIwE12read_defaultISH_dEENS3_IDTclL_ZNSC_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_RT0_SI_EUlSB_DpOT_E_S12_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_SK_Entsr3stdE19is_member_pointer_vISX_E18is_invocable_usingISY_EEvE4typeELPv0EEEOSR_ENKUlNS1_12fnref_detail4base7storageESB_SH_SI_E_clES1B_SB_SH_SI_ Unexecuted instantiation: _ZZN3scn2v34impl12function_refIFNS0_13scan_expectedINS0_6detail17basic_scan_bufferIwE16forward_iteratorEEERNS1_12float_readerIwEENS0_6ranges6detail9subrange_8subrangeIS7_NSC_18default_sentinel_tEEENS4_10locale_refEESJ_EC1IZNS1_21reader_impl_for_floatIwE12read_defaultISH_eEENS3_IDTclL_ZNSC_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_RT0_SI_EUlSB_DpOT_E_S12_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_SK_Entsr3stdE19is_member_pointer_vISX_E18is_invocable_usingISY_EEvE4typeELPv0EEEOSR_ENKUlNS1_12fnref_detail4base7storageESB_SH_SI_E_clES1B_SB_SH_SI_ |
752 | 428k | m_storage(std::addressof(f)) |
753 | 428k | { |
754 | 428k | } _ZN3scn2v34impl12function_refIFbcES3_EC2INSt3__110__not_fn_tIS4_EES8_TnPNS6_9enable_ifIXaaaasr6detailE11is_not_selfIT_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSB_EEvE4typeELPv0EEEOSA_ Line | Count | Source | 742 | 3.52k | : m_fptr([](storage fn, | 743 | 3.52k | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 3.52k | cvref<T> obj = *get<T>(fn); | 745 | 3.52k | if constexpr (std::is_void_v<R>) { | 746 | 3.52k | obj(static_cast<decltype(args)>(args)...); | 747 | 3.52k | } | 748 | 3.52k | else { | 749 | 3.52k | return obj(static_cast<decltype(args)>(args)...); | 750 | 3.52k | } | 751 | 3.52k | }), | 752 | 3.52k | m_storage(std::addressof(f)) | 753 | 3.52k | { | 754 | 3.52k | } |
Unexecuted instantiation: _ZN3scn2v34impl12function_refIFbcES3_EC2IRKZNS1_9skip_fillINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS8_18default_sentinel_tEEEEEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRT_EEEElEEEESM_lRKNSC_9fill_typeEbEUlcE_SV_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSY_EEvE4typeELPv0EEEOSM_ _ZN3scn2v34impl12function_refIFbDiES3_EC2INSt3__110__not_fn_tIS4_EES8_TnPNS6_9enable_ifIXaaaasr6detailE11is_not_selfIT_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSB_EEvE4typeELPv0EEEOSA_ Line | Count | Source | 742 | 192k | : m_fptr([](storage fn, | 743 | 192k | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 192k | cvref<T> obj = *get<T>(fn); | 745 | 192k | if constexpr (std::is_void_v<R>) { | 746 | 192k | obj(static_cast<decltype(args)>(args)...); | 747 | 192k | } | 748 | 192k | else { | 749 | 192k | return obj(static_cast<decltype(args)>(args)...); | 750 | 192k | } | 751 | 192k | }), | 752 | 192k | m_storage(std::addressof(f)) | 753 | 192k | { | 754 | 192k | } |
Unexecuted instantiation: _ZN3scn2v34impl12function_refIFbDiES3_EC2IZNS1_24read_while_classic_spaceINS1_15take_width_viewINS7_INS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS8_18default_sentinel_tEEEEEEEEEDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESM_EUlDiE_SR_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRST_EEvE4typeELPv0EEEOSM_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFbDiES3_EC2IZNS1_24read_while_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS8_18default_sentinel_tEEEEEEEDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESL_EUlDiE_SQ_TnPNSJ_9enable_ifIXaaaasr6detailE11is_not_selfISL_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSS_EEvE4typeELPv0EEEOSL_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFbcES3_EC2IRKZNS1_9skip_fillINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS7_18default_sentinel_tEEEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS7_5beginEEclsr3stdE7declvalIRT_EEEElEEEESK_lRKNSB_9fill_typeEbEUlcE_ST_TnPNSI_9enable_ifIXaaaasr6detailE11is_not_selfISK_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSW_EEvE4typeELPv0EEEOSK_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFbcES3_EC2IZNS1_34parse_integer_digits_without_thsepINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS7_18default_sentinel_tEEENS1_15take_width_viewINSA_ISG_SH_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESS_iEUlcE_SY_TnPNSQ_9enable_ifIXaaaasr6detailE11is_not_selfISS_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRS10_EEvE4typeELPv0EEEOSS_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFbcES3_EC2IZNS1_34parse_integer_digits_without_thsepINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS7_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_iEUlcE_SQ_TnPNSI_9enable_ifIXaaaasr6detailE11is_not_selfISK_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSS_EEvE4typeELPv0EEEOSK_ _ZN3scn2v34impl12function_refIFvDiES3_EC2IZNS1_20calculate_text_widthIcEEmNSt3__117basic_string_viewIT_NS7_11char_traitsIS9_EEEEEUlDiE_SD_TnPNS7_9enable_ifIXaaaasr6detailE11is_not_selfIS9_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSF_EEvE4typeELPv0EEEOS9_ Line | Count | Source | 742 | 23.4k | : m_fptr([](storage fn, | 743 | 23.4k | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 23.4k | cvref<T> obj = *get<T>(fn); | 745 | 23.4k | if constexpr (std::is_void_v<R>) { | 746 | 23.4k | obj(static_cast<decltype(args)>(args)...); | 747 | 23.4k | } | 748 | 23.4k | else { | 749 | 23.4k | return obj(static_cast<decltype(args)>(args)...); | 750 | 23.4k | } | 751 | 23.4k | }), | 752 | 23.4k | m_storage(std::addressof(f)) | 753 | 23.4k | { | 754 | 23.4k | } |
Unexecuted instantiation: _ZN3scn2v34impl12function_refIFbcES3_EC2IRKZNS1_9skip_fillINS1_15take_width_viewINSt3__117basic_string_viewIcNS8_11char_traitsIcEEEEEEEENS0_13scan_expectedINS8_4pairIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT_EEEElEEEESH_lRKNS0_6detail9fill_typeEbEUlcE_SR_TnPNS8_9enable_ifIXaaaasr6detailE11is_not_selfISH_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSH_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFbDiES3_EC2IZNS1_24read_while_classic_spaceINS1_15take_width_viewINS7_INSt3__117basic_string_viewIcNS8_11char_traitsIcEEEEEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS8_9add_constIT_E4typeEEEEESH_EUlDiE_SM_TnPNS8_9enable_ifIXaaaasr6detailE11is_not_selfISH_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSO_EEvE4typeELPv0EEEOSH_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFbDiES3_EC2IZNS1_24read_while_classic_spaceINS1_15take_width_viewINSt3__117basic_string_viewIcNS8_11char_traitsIcEEEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS8_9add_constIT_E4typeEEEEESG_EUlDiE_SL_TnPNS8_9enable_ifIXaaaasr6detailE11is_not_selfISG_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSN_EEvE4typeELPv0EEEOSG_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFbcES3_EC2IRKZNS1_9skip_fillINSt3__117basic_string_viewIcNS7_11char_traitsIcEEEEEENS0_13scan_expectedINS7_4pairIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT_EEEElEEEESF_lRKNS0_6detail9fill_typeEbEUlcE_SP_TnPNS7_9enable_ifIXaaaasr6detailE11is_not_selfISF_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSS_EEvE4typeELPv0EEEOSF_ _ZN3scn2v34impl12function_refIFbcES3_EC2IZNS1_34parse_integer_digits_without_thsepINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSE_EENS1_15take_width_viewINSA_ISE_SE_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESP_iEUlcE_SV_TnPNSN_9enable_ifIXaaaasr6detailE11is_not_selfISP_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSX_EEvE4typeELPv0EEEOSP_ Line | Count | Source | 742 | 778 | : m_fptr([](storage fn, | 743 | 778 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 778 | cvref<T> obj = *get<T>(fn); | 745 | 778 | if constexpr (std::is_void_v<R>) { | 746 | 778 | obj(static_cast<decltype(args)>(args)...); | 747 | 778 | } | 748 | 778 | else { | 749 | 778 | return obj(static_cast<decltype(args)>(args)...); | 750 | 778 | } | 751 | 778 | }), | 752 | 778 | m_storage(std::addressof(f)) | 753 | 778 | { | 754 | 778 | } |
_ZN3scn2v34impl12function_refIFbcES3_EC2IRKZNS1_9skip_fillINS0_6ranges6detail9subrange_8subrangeIPKcSC_EEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS7_5beginEEclsr3stdE7declvalIRT_EEEElEEEESH_lRKNS0_6detail9fill_typeEbEUlcE_SR_TnPNSF_9enable_ifIXaaaasr6detailE11is_not_selfISH_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSH_ Line | Count | Source | 742 | 1.73k | : m_fptr([](storage fn, | 743 | 1.73k | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 1.73k | cvref<T> obj = *get<T>(fn); | 745 | 1.73k | if constexpr (std::is_void_v<R>) { | 746 | 1.73k | obj(static_cast<decltype(args)>(args)...); | 747 | 1.73k | } | 748 | 1.73k | else { | 749 | 1.73k | return obj(static_cast<decltype(args)>(args)...); | 750 | 1.73k | } | 751 | 1.73k | }), | 752 | 1.73k | m_storage(std::addressof(f)) | 753 | 1.73k | { | 754 | 1.73k | } |
_ZN3scn2v34impl12function_refIFbDiES3_EC2IZNS1_24read_while_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSD_EEEEEEDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESI_EUlDiE_SN_TnPNSG_9enable_ifIXaaaasr6detailE11is_not_selfISI_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSP_EEvE4typeELPv0EEEOSI_ Line | Count | Source | 742 | 468 | : m_fptr([](storage fn, | 743 | 468 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 468 | cvref<T> obj = *get<T>(fn); | 745 | 468 | if constexpr (std::is_void_v<R>) { | 746 | 468 | obj(static_cast<decltype(args)>(args)...); | 747 | 468 | } | 748 | 468 | else { | 749 | 468 | return obj(static_cast<decltype(args)>(args)...); | 750 | 468 | } | 751 | 468 | }), | 752 | 468 | m_storage(std::addressof(f)) | 753 | 468 | { | 754 | 468 | } |
Unexecuted instantiation: _ZN3scn2v34impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS0_6ranges18default_sentinel_tEEEEERNS1_12float_readerIcEENS1_15take_width_viewINSA_6detail9subrange_8subrangeIS9_SB_EEEENS6_10locale_refEESO_EC2IZNS1_21reader_impl_for_floatIcE10read_specsISM_fEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESW_RKNS6_12format_specsERT0_SN_EUlSG_DpOT_E_S1A_TnPNSU_9enable_ifIXaaaasr6detailE11is_not_selfISW_SP_Entsr3stdE19is_member_pointer_vIS15_E18is_invocable_usingIS16_EEvE4typeELPv0EEEOSW_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFbcES3_EC2IZNS1_12float_readerIcE8read_nanINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEENS1_15take_width_viewINSC_ISI_SJ_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_EUlcE_S10_TnPNSS_9enable_ifIXaaaasr6detailE11is_not_selfISU_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRS12_EEvE4typeELPv0EEEOSU_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFbcES3_EC2IZNS1_12float_readerIcE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEENS1_15take_width_viewINSC_ISI_SJ_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_bEUlcE_S10_TnPNSS_9enable_ifIXaaaasr6detailE11is_not_selfISU_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRS12_EEvE4typeELPv0EEEOSU_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFbcES3_EC2IZNS1_12float_readerIcE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEENS1_15take_width_viewINSC_ISI_SJ_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_bEUlcE0_S10_TnPNSS_9enable_ifIXaaaasr6detailE11is_not_selfISU_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRS12_EEvE4typeELPv0EEEOSU_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFbcES3_EC2IZNS1_12float_readerIcE13read_exponentINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEENS1_15take_width_viewINSC_ISI_SJ_EEE8sentinelILb1EEEEEEEDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEST_NSR_17basic_string_viewIcNSR_11char_traitsIcEEEEEUlcE_S12_TnPNSR_9enable_ifIXaaaasr6detailE11is_not_selfIST_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRS14_EEvE4typeELPv0EEEOST_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFbcES3_EC2IZNS1_12float_readerIcE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEENS1_15take_width_viewINSC_ISI_SJ_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_bEUlcE_S10_TnPNSS_9enable_ifIXaaaasr6detailE11is_not_selfISU_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRS12_EEvE4typeELPv0EEEOSU_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFbcES3_EC2IZNS1_12float_readerIcE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEENS1_15take_width_viewINSC_ISI_SJ_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_bEUlcE0_S10_TnPNSS_9enable_ifIXaaaasr6detailE11is_not_selfISU_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRS12_EEvE4typeELPv0EEEOSU_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS0_6ranges18default_sentinel_tEEEEERNS1_12float_readerIcEENS1_15take_width_viewINSA_6detail9subrange_8subrangeIS9_SB_EEEENS6_10locale_refEESO_EC2IZNS1_21reader_impl_for_floatIcE10read_specsISM_fEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESW_RKNS6_12format_specsERT0_SN_EUlSG_DpOT_E0_S1A_TnPNSU_9enable_ifIXaaaasr6detailE11is_not_selfISW_SP_Entsr3stdE19is_member_pointer_vIS15_E18is_invocable_usingIS16_EEvE4typeELPv0EEEOSW_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFNS0_13scan_expectedINS0_6detail17basic_scan_bufferIcE16forward_iteratorEEERNS1_12float_readerIcEENS0_6ranges6detail9subrange_8subrangeIS7_NSC_18default_sentinel_tEEENS4_10locale_refEESJ_EC2IZNS1_21reader_impl_for_floatIcE10read_specsISH_fEENS3_IDTclL_ZNSC_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_RKNS4_12format_specsERT0_SI_EUlSB_DpOT_E_S15_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_SK_Entsr3stdE19is_member_pointer_vIS10_E18is_invocable_usingIS11_EEvE4typeELPv0EEEOSR_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFbcES3_EC2IZNS1_12float_readerIcE8read_nanINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_EUlcE_SS_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSM_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFbcES3_EC2IZNS1_12float_readerIcE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_bEUlcE_SS_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSM_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFbcES3_EC2IZNS1_12float_readerIcE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_bEUlcE0_SS_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSM_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFbcES3_EC2IZNS1_12float_readerIcE13read_exponentINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEEEDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESL_NSJ_17basic_string_viewIcNSJ_11char_traitsIcEEEEEUlcE_SU_TnPNSJ_9enable_ifIXaaaasr6detailE11is_not_selfISL_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSW_EEvE4typeELPv0EEEOSL_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFbcES3_EC2IZNS1_12float_readerIcE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_bEUlcE_SS_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSM_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFbcES3_EC2IZNS1_12float_readerIcE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_bEUlcE0_SS_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSM_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFNS0_13scan_expectedINS0_6detail17basic_scan_bufferIcE16forward_iteratorEEERNS1_12float_readerIcEENS0_6ranges6detail9subrange_8subrangeIS7_NSC_18default_sentinel_tEEENS4_10locale_refEESJ_EC2IZNS1_21reader_impl_for_floatIcE10read_specsISH_fEENS3_IDTclL_ZNSC_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_RKNS4_12format_specsERT0_SI_EUlSB_DpOT_E0_S15_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_SK_Entsr3stdE19is_member_pointer_vIS10_E18is_invocable_usingIS11_EEvE4typeELPv0EEEOSR_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcS7_EEEERNS1_12float_readerIcEENS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIS7_S7_EEEENS0_6detail10locale_refEESM_EC2IZNS1_21reader_impl_for_floatIcE10read_specsISJ_fEENS3_IDTclL_ZNSE_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_RKNSK_12format_specsERT0_SL_EUlSC_DpOT_E_S18_TnPNSS_9enable_ifIXaaaasr6detailE11is_not_selfISU_SN_Entsr3stdE19is_member_pointer_vIS13_E18is_invocable_usingIS14_EEvE4typeELPv0EEEOSU_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFbcES3_EC2IZNS1_12float_readerIcE8read_nanINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSG_EENS1_15take_width_viewINSC_ISG_SG_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_EUlcE_SX_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSZ_EEvE4typeELPv0EEEOSR_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFbcES3_EC2IZNS1_12float_readerIcE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSG_EENS1_15take_width_viewINSC_ISG_SG_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_bEUlcE_SX_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSZ_EEvE4typeELPv0EEEOSR_ _ZN3scn2v34impl12function_refIFbcES3_EC2IZNS1_12float_readerIcE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSG_EENS1_15take_width_viewINSC_ISG_SG_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_bEUlcE0_SX_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSZ_EEvE4typeELPv0EEEOSR_ Line | Count | Source | 742 | 4 | : m_fptr([](storage fn, | 743 | 4 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 4 | cvref<T> obj = *get<T>(fn); | 745 | 4 | if constexpr (std::is_void_v<R>) { | 746 | 4 | obj(static_cast<decltype(args)>(args)...); | 747 | 4 | } | 748 | 4 | else { | 749 | 4 | return obj(static_cast<decltype(args)>(args)...); | 750 | 4 | } | 751 | 4 | }), | 752 | 4 | m_storage(std::addressof(f)) | 753 | 4 | { | 754 | 4 | } |
Unexecuted instantiation: _ZN3scn2v34impl12function_refIFbcES3_EC2IZNS1_12float_readerIcE13read_exponentINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSG_EENS1_15take_width_viewINSC_ISG_SG_EEE8sentinelILb1EEEEEEEDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESQ_NSO_17basic_string_viewIcNSO_11char_traitsIcEEEEEUlcE_SZ_TnPNSO_9enable_ifIXaaaasr6detailE11is_not_selfISQ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRS11_EEvE4typeELPv0EEEOSQ_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFbcES3_EC2IZNS1_12float_readerIcE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSG_EENS1_15take_width_viewINSC_ISG_SG_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_bEUlcE_SX_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSZ_EEvE4typeELPv0EEEOSR_ _ZN3scn2v34impl12function_refIFbcES3_EC2IZNS1_12float_readerIcE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSG_EENS1_15take_width_viewINSC_ISG_SG_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_bEUlcE0_SX_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSZ_EEvE4typeELPv0EEEOSR_ Line | Count | Source | 742 | 258 | : m_fptr([](storage fn, | 743 | 258 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 258 | cvref<T> obj = *get<T>(fn); | 745 | 258 | if constexpr (std::is_void_v<R>) { | 746 | 258 | obj(static_cast<decltype(args)>(args)...); | 747 | 258 | } | 748 | 258 | else { | 749 | 258 | return obj(static_cast<decltype(args)>(args)...); | 750 | 258 | } | 751 | 258 | }), | 752 | 258 | m_storage(std::addressof(f)) | 753 | 258 | { | 754 | 258 | } |
Unexecuted instantiation: _ZN3scn2v34impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcS7_EEEERNS1_12float_readerIcEENS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIS7_S7_EEEENS0_6detail10locale_refEESM_EC2IZNS1_21reader_impl_for_floatIcE10read_specsISJ_fEENS3_IDTclL_ZNSE_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_RKNSK_12format_specsERT0_SL_EUlSC_DpOT_E0_S18_TnPNSS_9enable_ifIXaaaasr6detailE11is_not_selfISU_SN_Entsr3stdE19is_member_pointer_vIS13_E18is_invocable_usingIS14_EEvE4typeELPv0EEEOSU_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFNS0_13scan_expectedIPKcEERNS1_12float_readerIcEENS0_6ranges6detail9subrange_8subrangeIS5_S5_EENS0_6detail10locale_refEESH_EC2IZNS1_21reader_impl_for_floatIcE10read_specsISE_fEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESP_RKNSF_12format_specsERT0_SG_EUlS9_DpOT_E_S13_TnPNSN_9enable_ifIXaaaasr6detailE11is_not_selfISP_SI_Entsr3stdE19is_member_pointer_vISY_E18is_invocable_usingISZ_EEvE4typeELPv0EEEOSP_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFbcES3_EC2IZNS1_12float_readerIcE8read_nanINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_EUlcE_SP_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSR_EEvE4typeELPv0EEEOSJ_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFbcES3_EC2IZNS1_12float_readerIcE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_bEUlcE_SP_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSR_EEvE4typeELPv0EEEOSJ_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFbcES3_EC2IZNS1_12float_readerIcE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_bEUlcE0_SP_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSR_EEvE4typeELPv0EEEOSJ_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFbcES3_EC2IZNS1_12float_readerIcE13read_exponentINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEEEDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESI_NSG_17basic_string_viewIcNSG_11char_traitsIcEEEEEUlcE_SR_TnPNSG_9enable_ifIXaaaasr6detailE11is_not_selfISI_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRST_EEvE4typeELPv0EEEOSI_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFbcES3_EC2IZNS1_12float_readerIcE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_bEUlcE_SP_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSR_EEvE4typeELPv0EEEOSJ_ _ZN3scn2v34impl12function_refIFbcES3_EC2IZNS1_12float_readerIcE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_bEUlcE0_SP_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSR_EEvE4typeELPv0EEEOSJ_ Line | Count | Source | 742 | 22 | : m_fptr([](storage fn, | 743 | 22 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 22 | cvref<T> obj = *get<T>(fn); | 745 | 22 | if constexpr (std::is_void_v<R>) { | 746 | 22 | obj(static_cast<decltype(args)>(args)...); | 747 | 22 | } | 748 | 22 | else { | 749 | 22 | return obj(static_cast<decltype(args)>(args)...); | 750 | 22 | } | 751 | 22 | }), | 752 | 22 | m_storage(std::addressof(f)) | 753 | 22 | { | 754 | 22 | } |
Unexecuted instantiation: _ZN3scn2v34impl12function_refIFNS0_13scan_expectedIPKcEERNS1_12float_readerIcEENS0_6ranges6detail9subrange_8subrangeIS5_S5_EENS0_6detail10locale_refEESH_EC2IZNS1_21reader_impl_for_floatIcE10read_specsISE_fEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESP_RKNSF_12format_specsERT0_SG_EUlS9_DpOT_E0_S13_TnPNSN_9enable_ifIXaaaasr6detailE11is_not_selfISP_SI_Entsr3stdE19is_member_pointer_vISY_E18is_invocable_usingISZ_EEvE4typeELPv0EEEOSP_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS0_6ranges18default_sentinel_tEEEEERNS1_12float_readerIcEENS1_15take_width_viewINSA_6detail9subrange_8subrangeIS9_SB_EEEENS6_10locale_refEESO_EC2IZNS1_21reader_impl_for_floatIcE10read_specsISM_dEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESW_RKNS6_12format_specsERT0_SN_EUlSG_DpOT_E_S1A_TnPNSU_9enable_ifIXaaaasr6detailE11is_not_selfISW_SP_Entsr3stdE19is_member_pointer_vIS15_E18is_invocable_usingIS16_EEvE4typeELPv0EEEOSW_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS0_6ranges18default_sentinel_tEEEEERNS1_12float_readerIcEENS1_15take_width_viewINSA_6detail9subrange_8subrangeIS9_SB_EEEENS6_10locale_refEESO_EC2IZNS1_21reader_impl_for_floatIcE10read_specsISM_dEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESW_RKNS6_12format_specsERT0_SN_EUlSG_DpOT_E0_S1A_TnPNSU_9enable_ifIXaaaasr6detailE11is_not_selfISW_SP_Entsr3stdE19is_member_pointer_vIS15_E18is_invocable_usingIS16_EEvE4typeELPv0EEEOSW_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFNS0_13scan_expectedINS0_6detail17basic_scan_bufferIcE16forward_iteratorEEERNS1_12float_readerIcEENS0_6ranges6detail9subrange_8subrangeIS7_NSC_18default_sentinel_tEEENS4_10locale_refEESJ_EC2IZNS1_21reader_impl_for_floatIcE10read_specsISH_dEENS3_IDTclL_ZNSC_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_RKNS4_12format_specsERT0_SI_EUlSB_DpOT_E_S15_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_SK_Entsr3stdE19is_member_pointer_vIS10_E18is_invocable_usingIS11_EEvE4typeELPv0EEEOSR_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFNS0_13scan_expectedINS0_6detail17basic_scan_bufferIcE16forward_iteratorEEERNS1_12float_readerIcEENS0_6ranges6detail9subrange_8subrangeIS7_NSC_18default_sentinel_tEEENS4_10locale_refEESJ_EC2IZNS1_21reader_impl_for_floatIcE10read_specsISH_dEENS3_IDTclL_ZNSC_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_RKNS4_12format_specsERT0_SI_EUlSB_DpOT_E0_S15_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_SK_Entsr3stdE19is_member_pointer_vIS10_E18is_invocable_usingIS11_EEvE4typeELPv0EEEOSR_ _ZN3scn2v34impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcS7_EEEERNS1_12float_readerIcEENS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIS7_S7_EEEENS0_6detail10locale_refEESM_EC2IZNS1_21reader_impl_for_floatIcE10read_specsISJ_dEENS3_IDTclL_ZNSE_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_RKNSK_12format_specsERT0_SL_EUlSC_DpOT_E_S18_TnPNSS_9enable_ifIXaaaasr6detailE11is_not_selfISU_SN_Entsr3stdE19is_member_pointer_vIS13_E18is_invocable_usingIS14_EEvE4typeELPv0EEEOSU_ Line | Count | Source | 742 | 8 | : m_fptr([](storage fn, | 743 | 8 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 8 | cvref<T> obj = *get<T>(fn); | 745 | 8 | if constexpr (std::is_void_v<R>) { | 746 | 8 | obj(static_cast<decltype(args)>(args)...); | 747 | 8 | } | 748 | 8 | else { | 749 | 8 | return obj(static_cast<decltype(args)>(args)...); | 750 | 8 | } | 751 | 8 | }), | 752 | 8 | m_storage(std::addressof(f)) | 753 | 8 | { | 754 | 8 | } |
_ZN3scn2v34impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcS7_EEEERNS1_12float_readerIcEENS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIS7_S7_EEEENS0_6detail10locale_refEESM_EC2IZNS1_21reader_impl_for_floatIcE10read_specsISJ_dEENS3_IDTclL_ZNSE_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_RKNSK_12format_specsERT0_SL_EUlSC_DpOT_E0_S18_TnPNSS_9enable_ifIXaaaasr6detailE11is_not_selfISU_SN_Entsr3stdE19is_member_pointer_vIS13_E18is_invocable_usingIS14_EEvE4typeELPv0EEEOSU_ Line | Count | Source | 742 | 254 | : m_fptr([](storage fn, | 743 | 254 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 254 | cvref<T> obj = *get<T>(fn); | 745 | 254 | if constexpr (std::is_void_v<R>) { | 746 | 254 | obj(static_cast<decltype(args)>(args)...); | 747 | 254 | } | 748 | 254 | else { | 749 | 254 | return obj(static_cast<decltype(args)>(args)...); | 750 | 254 | } | 751 | 254 | }), | 752 | 254 | m_storage(std::addressof(f)) | 753 | 254 | { | 754 | 254 | } |
_ZN3scn2v34impl12function_refIFNS0_13scan_expectedIPKcEERNS1_12float_readerIcEENS0_6ranges6detail9subrange_8subrangeIS5_S5_EENS0_6detail10locale_refEESH_EC2IZNS1_21reader_impl_for_floatIcE10read_specsISE_dEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESP_RKNSF_12format_specsERT0_SG_EUlS9_DpOT_E_S13_TnPNSN_9enable_ifIXaaaasr6detailE11is_not_selfISP_SI_Entsr3stdE19is_member_pointer_vISY_E18is_invocable_usingISZ_EEvE4typeELPv0EEEOSP_ Line | Count | Source | 742 | 8 | : m_fptr([](storage fn, | 743 | 8 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 8 | cvref<T> obj = *get<T>(fn); | 745 | 8 | if constexpr (std::is_void_v<R>) { | 746 | 8 | obj(static_cast<decltype(args)>(args)...); | 747 | 8 | } | 748 | 8 | else { | 749 | 8 | return obj(static_cast<decltype(args)>(args)...); | 750 | 8 | } | 751 | 8 | }), | 752 | 8 | m_storage(std::addressof(f)) | 753 | 8 | { | 754 | 8 | } |
_ZN3scn2v34impl12function_refIFNS0_13scan_expectedIPKcEERNS1_12float_readerIcEENS0_6ranges6detail9subrange_8subrangeIS5_S5_EENS0_6detail10locale_refEESH_EC2IZNS1_21reader_impl_for_floatIcE10read_specsISE_dEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESP_RKNSF_12format_specsERT0_SG_EUlS9_DpOT_E0_S13_TnPNSN_9enable_ifIXaaaasr6detailE11is_not_selfISP_SI_Entsr3stdE19is_member_pointer_vISY_E18is_invocable_usingISZ_EEvE4typeELPv0EEEOSP_ Line | Count | Source | 742 | 268 | : m_fptr([](storage fn, | 743 | 268 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 268 | cvref<T> obj = *get<T>(fn); | 745 | 268 | if constexpr (std::is_void_v<R>) { | 746 | 268 | obj(static_cast<decltype(args)>(args)...); | 747 | 268 | } | 748 | 268 | else { | 749 | 268 | return obj(static_cast<decltype(args)>(args)...); | 750 | 268 | } | 751 | 268 | }), | 752 | 268 | m_storage(std::addressof(f)) | 753 | 268 | { | 754 | 268 | } |
Unexecuted instantiation: _ZN3scn2v34impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS0_6ranges18default_sentinel_tEEEEERNS1_12float_readerIcEENS1_15take_width_viewINSA_6detail9subrange_8subrangeIS9_SB_EEEENS6_10locale_refEESO_EC2IZNS1_21reader_impl_for_floatIcE10read_specsISM_eEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESW_RKNS6_12format_specsERT0_SN_EUlSG_DpOT_E_S1A_TnPNSU_9enable_ifIXaaaasr6detailE11is_not_selfISW_SP_Entsr3stdE19is_member_pointer_vIS15_E18is_invocable_usingIS16_EEvE4typeELPv0EEEOSW_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS0_6ranges18default_sentinel_tEEEEERNS1_12float_readerIcEENS1_15take_width_viewINSA_6detail9subrange_8subrangeIS9_SB_EEEENS6_10locale_refEESO_EC2IZNS1_21reader_impl_for_floatIcE10read_specsISM_eEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESW_RKNS6_12format_specsERT0_SN_EUlSG_DpOT_E0_S1A_TnPNSU_9enable_ifIXaaaasr6detailE11is_not_selfISW_SP_Entsr3stdE19is_member_pointer_vIS15_E18is_invocable_usingIS16_EEvE4typeELPv0EEEOSW_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFNS0_13scan_expectedINS0_6detail17basic_scan_bufferIcE16forward_iteratorEEERNS1_12float_readerIcEENS0_6ranges6detail9subrange_8subrangeIS7_NSC_18default_sentinel_tEEENS4_10locale_refEESJ_EC2IZNS1_21reader_impl_for_floatIcE10read_specsISH_eEENS3_IDTclL_ZNSC_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_RKNS4_12format_specsERT0_SI_EUlSB_DpOT_E_S15_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_SK_Entsr3stdE19is_member_pointer_vIS10_E18is_invocable_usingIS11_EEvE4typeELPv0EEEOSR_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFNS0_13scan_expectedINS0_6detail17basic_scan_bufferIcE16forward_iteratorEEERNS1_12float_readerIcEENS0_6ranges6detail9subrange_8subrangeIS7_NSC_18default_sentinel_tEEENS4_10locale_refEESJ_EC2IZNS1_21reader_impl_for_floatIcE10read_specsISH_eEENS3_IDTclL_ZNSC_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_RKNS4_12format_specsERT0_SI_EUlSB_DpOT_E0_S15_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_SK_Entsr3stdE19is_member_pointer_vIS10_E18is_invocable_usingIS11_EEvE4typeELPv0EEEOSR_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcS7_EEEERNS1_12float_readerIcEENS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIS7_S7_EEEENS0_6detail10locale_refEESM_EC2IZNS1_21reader_impl_for_floatIcE10read_specsISJ_eEENS3_IDTclL_ZNSE_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_RKNSK_12format_specsERT0_SL_EUlSC_DpOT_E_S18_TnPNSS_9enable_ifIXaaaasr6detailE11is_not_selfISU_SN_Entsr3stdE19is_member_pointer_vIS13_E18is_invocable_usingIS14_EEvE4typeELPv0EEEOSU_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcS7_EEEERNS1_12float_readerIcEENS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIS7_S7_EEEENS0_6detail10locale_refEESM_EC2IZNS1_21reader_impl_for_floatIcE10read_specsISJ_eEENS3_IDTclL_ZNSE_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_RKNSK_12format_specsERT0_SL_EUlSC_DpOT_E0_S18_TnPNSS_9enable_ifIXaaaasr6detailE11is_not_selfISU_SN_Entsr3stdE19is_member_pointer_vIS13_E18is_invocable_usingIS14_EEvE4typeELPv0EEEOSU_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFNS0_13scan_expectedIPKcEERNS1_12float_readerIcEENS0_6ranges6detail9subrange_8subrangeIS5_S5_EENS0_6detail10locale_refEESH_EC2IZNS1_21reader_impl_for_floatIcE10read_specsISE_eEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESP_RKNSF_12format_specsERT0_SG_EUlS9_DpOT_E_S13_TnPNSN_9enable_ifIXaaaasr6detailE11is_not_selfISP_SI_Entsr3stdE19is_member_pointer_vISY_E18is_invocable_usingISZ_EEvE4typeELPv0EEEOSP_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFNS0_13scan_expectedIPKcEERNS1_12float_readerIcEENS0_6ranges6detail9subrange_8subrangeIS5_S5_EENS0_6detail10locale_refEESH_EC2IZNS1_21reader_impl_for_floatIcE10read_specsISE_eEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESP_RKNSF_12format_specsERT0_SG_EUlS9_DpOT_E0_S13_TnPNSN_9enable_ifIXaaaasr6detailE11is_not_selfISP_SI_Entsr3stdE19is_member_pointer_vISY_E18is_invocable_usingISZ_EEvE4typeELPv0EEEOSP_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFbDiES3_EC2IZNS1_24read_until_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS8_18default_sentinel_tEEEEEEEDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESL_EUlDiE_SQ_TnPNSJ_9enable_ifIXaaaasr6detailE11is_not_selfISL_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSS_EEvE4typeELPv0EEEOSL_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFbcES3_EC2IZNS1_23custom_word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENSA_18default_sentinel_tEEEEEcEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_RKNSE_12format_specsERNSM_12basic_stringIT0_NSM_11char_traitsISY_EENSM_9allocatorISY_EEEEEUlcE_S15_TnPNSM_9enable_ifIXaaaasr6detailE11is_not_selfISO_S4_Entsr3stdE19is_member_pointer_vISY_E18is_invocable_usingIRSY_EEvE4typeELPv0EEEOSO_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFbDiES3_EC2IRKZNKS1_25character_set_reader_implIcE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENSA_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_NS7_12specs_helperEEUlDiE_SW_TnPNSM_9enable_ifIXaaaasr6detailE11is_not_selfISO_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSZ_EEvE4typeELPv0EEEOSO_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFbcES3_EC2IRKZNKS1_25character_set_reader_implIcE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENSA_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_NS7_12specs_helperEEUlcE_SW_TnPNSM_9enable_ifIXaaaasr6detailE11is_not_selfISO_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSZ_EEvE4typeELPv0EEEOSO_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFbDiES3_EC2IZNS1_24read_until_classic_spaceINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS7_18default_sentinel_tEEEEEDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESJ_EUlDiE_SO_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSQ_EEvE4typeELPv0EEEOSJ_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFbcES3_EC2IZNS1_23custom_word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEcEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_RKNSD_12format_specsERNSK_12basic_stringIT0_NSK_11char_traitsISW_EENSK_9allocatorISW_EEEEEUlcE_S13_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vISW_E18is_invocable_usingIRSW_EEvE4typeELPv0EEEOSM_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFbDiES3_EC2IRKZNKS1_25character_set_reader_implIcE16read_source_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_NS7_12specs_helperEEUlDiE_SU_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSX_EEvE4typeELPv0EEEOSM_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFbcES3_EC2IRKZNKS1_25character_set_reader_implIcE16read_source_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_NS7_12specs_helperEEUlcE_SU_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSX_EEvE4typeELPv0EEEOSM_ _ZN3scn2v34impl12function_refIFbDiES3_EC2IZNS1_24read_until_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSD_EEEEEEDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESI_EUlDiE_SN_TnPNSG_9enable_ifIXaaaasr6detailE11is_not_selfISI_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSP_EEvE4typeELPv0EEEOSI_ Line | Count | Source | 742 | 714 | : m_fptr([](storage fn, | 743 | 714 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 714 | cvref<T> obj = *get<T>(fn); | 745 | 714 | if constexpr (std::is_void_v<R>) { | 746 | 714 | obj(static_cast<decltype(args)>(args)...); | 747 | 714 | } | 748 | 714 | else { | 749 | 714 | return obj(static_cast<decltype(args)>(args)...); | 750 | 714 | } | 751 | 714 | }), | 752 | 714 | m_storage(std::addressof(f)) | 753 | 714 | { | 754 | 714 | } |
_ZN3scn2v34impl12function_refIFbcES3_EC2IZNS1_23custom_word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSF_EEEEcEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNS0_6detail12format_specsERNSJ_12basic_stringIT0_NSJ_11char_traitsISW_EENSJ_9allocatorISW_EEEEEUlcE_S13_TnPNSJ_9enable_ifIXaaaasr6detailE11is_not_selfISL_S4_Entsr3stdE19is_member_pointer_vISW_E18is_invocable_usingIRSW_EEvE4typeELPv0EEEOSL_ Line | Count | Source | 742 | 30 | : m_fptr([](storage fn, | 743 | 30 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 30 | cvref<T> obj = *get<T>(fn); | 745 | 30 | if constexpr (std::is_void_v<R>) { | 746 | 30 | obj(static_cast<decltype(args)>(args)...); | 747 | 30 | } | 748 | 30 | else { | 749 | 30 | return obj(static_cast<decltype(args)>(args)...); | 750 | 30 | } | 751 | 30 | }), | 752 | 30 | m_storage(std::addressof(f)) | 753 | 30 | { | 754 | 30 | } |
_ZN3scn2v34impl12function_refIFbDiES3_EC2IRKZNKS1_25character_set_reader_implIcE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSF_EEEEEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_NS7_12specs_helperEEUlDiE_ST_TnPNSJ_9enable_ifIXaaaasr6detailE11is_not_selfISL_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSW_EEvE4typeELPv0EEEOSL_ Line | Count | Source | 742 | 372 | : m_fptr([](storage fn, | 743 | 372 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 372 | cvref<T> obj = *get<T>(fn); | 745 | 372 | if constexpr (std::is_void_v<R>) { | 746 | 372 | obj(static_cast<decltype(args)>(args)...); | 747 | 372 | } | 748 | 372 | else { | 749 | 372 | return obj(static_cast<decltype(args)>(args)...); | 750 | 372 | } | 751 | 372 | }), | 752 | 372 | m_storage(std::addressof(f)) | 753 | 372 | { | 754 | 372 | } |
_ZN3scn2v34impl12function_refIFbcES3_EC2IRKZNKS1_25character_set_reader_implIcE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSF_EEEEEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_NS7_12specs_helperEEUlcE_ST_TnPNSJ_9enable_ifIXaaaasr6detailE11is_not_selfISL_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSW_EEvE4typeELPv0EEEOSL_ Line | Count | Source | 742 | 294 | : m_fptr([](storage fn, | 743 | 294 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 294 | cvref<T> obj = *get<T>(fn); | 745 | 294 | if constexpr (std::is_void_v<R>) { | 746 | 294 | obj(static_cast<decltype(args)>(args)...); | 747 | 294 | } | 748 | 294 | else { | 749 | 294 | return obj(static_cast<decltype(args)>(args)...); | 750 | 294 | } | 751 | 294 | }), | 752 | 294 | m_storage(std::addressof(f)) | 753 | 294 | { | 754 | 294 | } |
_ZN3scn2v34impl12function_refIFbcES3_EC2IZNS1_23custom_word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEcEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_RKNS0_6detail12format_specsERNSH_12basic_stringIT0_NSH_11char_traitsISU_EENSH_9allocatorISU_EEEEEUlcE_S11_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vISU_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSJ_ Line | Count | Source | 742 | 30 | : m_fptr([](storage fn, | 743 | 30 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 30 | cvref<T> obj = *get<T>(fn); | 745 | 30 | if constexpr (std::is_void_v<R>) { | 746 | 30 | obj(static_cast<decltype(args)>(args)...); | 747 | 30 | } | 748 | 30 | else { | 749 | 30 | return obj(static_cast<decltype(args)>(args)...); | 750 | 30 | } | 751 | 30 | }), | 752 | 30 | m_storage(std::addressof(f)) | 753 | 30 | { | 754 | 30 | } |
_ZN3scn2v34impl12function_refIFbDiES3_EC2IRKZNKS1_25character_set_reader_implIcE16read_source_implINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_NS7_12specs_helperEEUlDiE_SR_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSJ_ Line | Count | Source | 742 | 2.33k | : m_fptr([](storage fn, | 743 | 2.33k | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 2.33k | cvref<T> obj = *get<T>(fn); | 745 | 2.33k | if constexpr (std::is_void_v<R>) { | 746 | 2.33k | obj(static_cast<decltype(args)>(args)...); | 747 | 2.33k | } | 748 | 2.33k | else { | 749 | 2.33k | return obj(static_cast<decltype(args)>(args)...); | 750 | 2.33k | } | 751 | 2.33k | }), | 752 | 2.33k | m_storage(std::addressof(f)) | 753 | 2.33k | { | 754 | 2.33k | } |
_ZN3scn2v34impl12function_refIFbcES3_EC2IRKZNKS1_25character_set_reader_implIcE16read_source_implINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_NS7_12specs_helperEEUlcE_SR_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSJ_ Line | Count | Source | 742 | 264 | : m_fptr([](storage fn, | 743 | 264 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 264 | cvref<T> obj = *get<T>(fn); | 745 | 264 | if constexpr (std::is_void_v<R>) { | 746 | 264 | obj(static_cast<decltype(args)>(args)...); | 747 | 264 | } | 748 | 264 | else { | 749 | 264 | return obj(static_cast<decltype(args)>(args)...); | 750 | 264 | } | 751 | 264 | }), | 752 | 264 | m_storage(std::addressof(f)) | 753 | 264 | { | 754 | 264 | } |
Unexecuted instantiation: _ZN3scn2v34impl12function_refIFbcES3_EC2IZNS1_23custom_word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENSA_18default_sentinel_tEEEEEwEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_RKNSE_12format_specsERNSM_12basic_stringIT0_NSM_11char_traitsISY_EENSM_9allocatorISY_EEEEEUlcE_S15_TnPNSM_9enable_ifIXaaaasr6detailE11is_not_selfISO_S4_Entsr3stdE19is_member_pointer_vISY_E18is_invocable_usingIRSY_EEvE4typeELPv0EEEOSO_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFbcES3_EC2IZNS1_23custom_word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEwEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_RKNSD_12format_specsERNSK_12basic_stringIT0_NSK_11char_traitsISW_EENSK_9allocatorISW_EEEEEUlcE_S13_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vISW_E18is_invocable_usingIRSW_EEvE4typeELPv0EEEOSM_ _ZN3scn2v34impl12function_refIFbcES3_EC2IZNS1_23custom_word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSF_EEEEwEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNS0_6detail12format_specsERNSJ_12basic_stringIT0_NSJ_11char_traitsISW_EENSJ_9allocatorISW_EEEEEUlcE_S13_TnPNSJ_9enable_ifIXaaaasr6detailE11is_not_selfISL_S4_Entsr3stdE19is_member_pointer_vISW_E18is_invocable_usingIRSW_EEvE4typeELPv0EEEOSL_ Line | Count | Source | 742 | 30 | : m_fptr([](storage fn, | 743 | 30 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 30 | cvref<T> obj = *get<T>(fn); | 745 | 30 | if constexpr (std::is_void_v<R>) { | 746 | 30 | obj(static_cast<decltype(args)>(args)...); | 747 | 30 | } | 748 | 30 | else { | 749 | 30 | return obj(static_cast<decltype(args)>(args)...); | 750 | 30 | } | 751 | 30 | }), | 752 | 30 | m_storage(std::addressof(f)) | 753 | 30 | { | 754 | 30 | } |
_ZN3scn2v34impl12function_refIFbcES3_EC2IZNS1_23custom_word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEwEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_RKNS0_6detail12format_specsERNSH_12basic_stringIT0_NSH_11char_traitsISU_EENSH_9allocatorISU_EEEEEUlcE_S11_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vISU_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSJ_ Line | Count | Source | 742 | 30 | : m_fptr([](storage fn, | 743 | 30 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 30 | cvref<T> obj = *get<T>(fn); | 745 | 30 | if constexpr (std::is_void_v<R>) { | 746 | 30 | obj(static_cast<decltype(args)>(args)...); | 747 | 30 | } | 748 | 30 | else { | 749 | 30 | return obj(static_cast<decltype(args)>(args)...); | 750 | 30 | } | 751 | 30 | }), | 752 | 30 | m_storage(std::addressof(f)) | 753 | 30 | { | 754 | 30 | } |
Unexecuted instantiation: _ZN3scn2v34impl12function_refIFbcES3_EC2IZNS1_23custom_word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENSA_18default_sentinel_tEEEEEcEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_RKNSE_12format_specsERNSM_17basic_string_viewIT0_NSM_11char_traitsISY_EEEEEUlcE_S13_TnPNSM_9enable_ifIXaaaasr6detailE11is_not_selfISO_S4_Entsr3stdE19is_member_pointer_vISY_E18is_invocable_usingIRSY_EEvE4typeELPv0EEEOSO_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFbcES3_EC2IZNS1_23custom_word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEcEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_RKNSD_12format_specsERNSK_17basic_string_viewIT0_NSK_11char_traitsISW_EEEEEUlcE_S11_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vISW_E18is_invocable_usingIRSW_EEvE4typeELPv0EEEOSM_ _ZN3scn2v34impl12function_refIFbcES3_EC2IZNS1_23custom_word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSF_EEEEcEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNS0_6detail12format_specsERNSJ_17basic_string_viewIT0_NSJ_11char_traitsISW_EEEEEUlcE_S11_TnPNSJ_9enable_ifIXaaaasr6detailE11is_not_selfISL_S4_Entsr3stdE19is_member_pointer_vISW_E18is_invocable_usingIRSW_EEvE4typeELPv0EEEOSL_ Line | Count | Source | 742 | 30 | : m_fptr([](storage fn, | 743 | 30 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 30 | cvref<T> obj = *get<T>(fn); | 745 | 30 | if constexpr (std::is_void_v<R>) { | 746 | 30 | obj(static_cast<decltype(args)>(args)...); | 747 | 30 | } | 748 | 30 | else { | 749 | 30 | return obj(static_cast<decltype(args)>(args)...); | 750 | 30 | } | 751 | 30 | }), | 752 | 30 | m_storage(std::addressof(f)) | 753 | 30 | { | 754 | 30 | } |
_ZN3scn2v34impl12function_refIFbcES3_EC2IZNS1_23custom_word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEcEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_RKNS0_6detail12format_specsERNSH_17basic_string_viewIT0_NSH_11char_traitsISU_EEEEEUlcE_SZ_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vISU_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSJ_ Line | Count | Source | 742 | 30 | : m_fptr([](storage fn, | 743 | 30 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 30 | cvref<T> obj = *get<T>(fn); | 745 | 30 | if constexpr (std::is_void_v<R>) { | 746 | 30 | obj(static_cast<decltype(args)>(args)...); | 747 | 30 | } | 748 | 30 | else { | 749 | 30 | return obj(static_cast<decltype(args)>(args)...); | 750 | 30 | } | 751 | 30 | }), | 752 | 30 | m_storage(std::addressof(f)) | 753 | 30 | { | 754 | 30 | } |
Unexecuted instantiation: _ZN3scn2v34impl12function_refIFbcES3_EC2IZNS1_23custom_word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENSA_18default_sentinel_tEEEEEwEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_RKNSE_12format_specsERNSM_17basic_string_viewIT0_NSM_11char_traitsISY_EEEEEUlcE_S13_TnPNSM_9enable_ifIXaaaasr6detailE11is_not_selfISO_S4_Entsr3stdE19is_member_pointer_vISY_E18is_invocable_usingIRSY_EEvE4typeELPv0EEEOSO_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFbcES3_EC2IZNS1_23custom_word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEwEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_RKNSD_12format_specsERNSK_17basic_string_viewIT0_NSK_11char_traitsISW_EEEEEUlcE_S11_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vISW_E18is_invocable_usingIRSW_EEvE4typeELPv0EEEOSM_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFbcES3_EC2IZNS1_23custom_word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSF_EEEEwEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNS0_6detail12format_specsERNSJ_17basic_string_viewIT0_NSJ_11char_traitsISW_EEEEEUlcE_S11_TnPNSJ_9enable_ifIXaaaasr6detailE11is_not_selfISL_S4_Entsr3stdE19is_member_pointer_vISW_E18is_invocable_usingIRSW_EEvE4typeELPv0EEEOSL_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFbcES3_EC2IZNS1_23custom_word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEwEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_RKNS0_6detail12format_specsERNSH_17basic_string_viewIT0_NSH_11char_traitsISU_EEEEEUlcE_SZ_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vISU_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSJ_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFbDiES3_EC2IZNS1_24read_while_classic_spaceINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS7_18default_sentinel_tEEEEEDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESJ_EUlDiE_SO_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSQ_EEvE4typeELPv0EEEOSJ_ _ZN3scn2v34impl12function_refIFbwES3_EC2INSt3__110__not_fn_tIS4_EES8_TnPNS6_9enable_ifIXaaaasr6detailE11is_not_selfIT_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSB_EEvE4typeELPv0EEEOSA_ Line | Count | Source | 742 | 1.28k | : m_fptr([](storage fn, | 743 | 1.28k | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 1.28k | cvref<T> obj = *get<T>(fn); | 745 | 1.28k | if constexpr (std::is_void_v<R>) { | 746 | 1.28k | obj(static_cast<decltype(args)>(args)...); | 747 | 1.28k | } | 748 | 1.28k | else { | 749 | 1.28k | return obj(static_cast<decltype(args)>(args)...); | 750 | 1.28k | } | 751 | 1.28k | }), | 752 | 1.28k | m_storage(std::addressof(f)) | 753 | 1.28k | { | 754 | 1.28k | } |
Unexecuted instantiation: _ZN3scn2v34impl12function_refIFbwES3_EC2IRKZNS1_9skip_fillINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS8_18default_sentinel_tEEEEEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRT_EEEElEEEESM_lRKNSC_9fill_typeEbEUlwE_SV_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSY_EEvE4typeELPv0EEEOSM_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFbDiES3_EC2IZNS1_24read_while_classic_spaceINS1_15take_width_viewINS7_INS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS8_18default_sentinel_tEEEEEEEEEDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESM_EUlDiE_SR_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRST_EEvE4typeELPv0EEEOSM_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFbDiES3_EC2IZNS1_24read_while_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS8_18default_sentinel_tEEEEEEEDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESL_EUlDiE_SQ_TnPNSJ_9enable_ifIXaaaasr6detailE11is_not_selfISL_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSS_EEvE4typeELPv0EEEOSL_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFbwES3_EC2IRKZNS1_9skip_fillINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS7_18default_sentinel_tEEEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS7_5beginEEclsr3stdE7declvalIRT_EEEElEEEESK_lRKNSB_9fill_typeEbEUlwE_ST_TnPNSI_9enable_ifIXaaaasr6detailE11is_not_selfISK_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSW_EEvE4typeELPv0EEEOSK_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFbwES3_EC2IZNS1_34parse_integer_digits_without_thsepINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS7_18default_sentinel_tEEENS1_15take_width_viewINSA_ISG_SH_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESS_iEUlwE_SY_TnPNSQ_9enable_ifIXaaaasr6detailE11is_not_selfISS_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRS10_EEvE4typeELPv0EEEOSS_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFbwES3_EC2IZNS1_34parse_integer_digits_without_thsepINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS7_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_iEUlwE_SQ_TnPNSI_9enable_ifIXaaaasr6detailE11is_not_selfISK_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSS_EEvE4typeELPv0EEEOSK_ _ZN3scn2v34impl12function_refIFvDiES3_EC2IZNS1_20calculate_text_widthIwEEmNSt3__117basic_string_viewIT_NS7_11char_traitsIS9_EEEEEUlDiE_SD_TnPNS7_9enable_ifIXaaaasr6detailE11is_not_selfIS9_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSF_EEvE4typeELPv0EEEOS9_ Line | Count | Source | 742 | 3.47k | : m_fptr([](storage fn, | 743 | 3.47k | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 3.47k | cvref<T> obj = *get<T>(fn); | 745 | 3.47k | if constexpr (std::is_void_v<R>) { | 746 | 3.47k | obj(static_cast<decltype(args)>(args)...); | 747 | 3.47k | } | 748 | 3.47k | else { | 749 | 3.47k | return obj(static_cast<decltype(args)>(args)...); | 750 | 3.47k | } | 751 | 3.47k | }), | 752 | 3.47k | m_storage(std::addressof(f)) | 753 | 3.47k | { | 754 | 3.47k | } |
Unexecuted instantiation: _ZN3scn2v34impl12function_refIFbwES3_EC2IRKZNS1_9skip_fillINS1_15take_width_viewINSt3__117basic_string_viewIwNS8_11char_traitsIwEEEEEEEENS0_13scan_expectedINS8_4pairIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT_EEEElEEEESH_lRKNS0_6detail9fill_typeEbEUlwE_SR_TnPNS8_9enable_ifIXaaaasr6detailE11is_not_selfISH_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSH_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFbDiES3_EC2IZNS1_24read_while_classic_spaceINS1_15take_width_viewINS7_INSt3__117basic_string_viewIwNS8_11char_traitsIwEEEEEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS8_9add_constIT_E4typeEEEEESH_EUlDiE_SM_TnPNS8_9enable_ifIXaaaasr6detailE11is_not_selfISH_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSO_EEvE4typeELPv0EEEOSH_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFbDiES3_EC2IZNS1_24read_while_classic_spaceINS1_15take_width_viewINSt3__117basic_string_viewIwNS8_11char_traitsIwEEEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS8_9add_constIT_E4typeEEEEESG_EUlDiE_SL_TnPNS8_9enable_ifIXaaaasr6detailE11is_not_selfISG_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSN_EEvE4typeELPv0EEEOSG_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFbwES3_EC2IRKZNS1_9skip_fillINSt3__117basic_string_viewIwNS7_11char_traitsIwEEEEEENS0_13scan_expectedINS7_4pairIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT_EEEElEEEESF_lRKNS0_6detail9fill_typeEbEUlwE_SP_TnPNS7_9enable_ifIXaaaasr6detailE11is_not_selfISF_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSS_EEvE4typeELPv0EEEOSF_ _ZN3scn2v34impl12function_refIFbDiES3_EC2IZNS1_24read_while_classic_spaceINSt3__117basic_string_viewIwNS7_11char_traitsIwEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS7_9add_constIT_E4typeEEEEESE_EUlDiE_SJ_TnPNS7_9enable_ifIXaaaasr6detailE11is_not_selfISE_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSL_EEvE4typeELPv0EEEOSE_ Line | Count | Source | 742 | 90.0k | : m_fptr([](storage fn, | 743 | 90.0k | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 90.0k | cvref<T> obj = *get<T>(fn); | 745 | 90.0k | if constexpr (std::is_void_v<R>) { | 746 | 90.0k | obj(static_cast<decltype(args)>(args)...); | 747 | 90.0k | } | 748 | 90.0k | else { | 749 | 90.0k | return obj(static_cast<decltype(args)>(args)...); | 750 | 90.0k | } | 751 | 90.0k | }), | 752 | 90.0k | m_storage(std::addressof(f)) | 753 | 90.0k | { | 754 | 90.0k | } |
_ZN3scn2v34impl12function_refIFbwES3_EC2IZNS1_34parse_integer_digits_without_thsepINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSE_EENS1_15take_width_viewINSA_ISE_SE_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESP_iEUlwE_SV_TnPNSN_9enable_ifIXaaaasr6detailE11is_not_selfISP_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSX_EEvE4typeELPv0EEEOSP_ Line | Count | Source | 742 | 326 | : m_fptr([](storage fn, | 743 | 326 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 326 | cvref<T> obj = *get<T>(fn); | 745 | 326 | if constexpr (std::is_void_v<R>) { | 746 | 326 | obj(static_cast<decltype(args)>(args)...); | 747 | 326 | } | 748 | 326 | else { | 749 | 326 | return obj(static_cast<decltype(args)>(args)...); | 750 | 326 | } | 751 | 326 | }), | 752 | 326 | m_storage(std::addressof(f)) | 753 | 326 | { | 754 | 326 | } |
_ZN3scn2v34impl12function_refIFbwES3_EC2IRKZNS1_9skip_fillINS0_6ranges6detail9subrange_8subrangeIPKwSC_EEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS7_5beginEEclsr3stdE7declvalIRT_EEEElEEEESH_lRKNS0_6detail9fill_typeEbEUlwE_SR_TnPNSF_9enable_ifIXaaaasr6detailE11is_not_selfISH_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSH_ Line | Count | Source | 742 | 510 | : m_fptr([](storage fn, | 743 | 510 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 510 | cvref<T> obj = *get<T>(fn); | 745 | 510 | if constexpr (std::is_void_v<R>) { | 746 | 510 | obj(static_cast<decltype(args)>(args)...); | 747 | 510 | } | 748 | 510 | else { | 749 | 510 | return obj(static_cast<decltype(args)>(args)...); | 750 | 510 | } | 751 | 510 | }), | 752 | 510 | m_storage(std::addressof(f)) | 753 | 510 | { | 754 | 510 | } |
_ZN3scn2v34impl12function_refIFbDiES3_EC2IZNS1_24read_while_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSD_EEEEEEDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESI_EUlDiE_SN_TnPNSG_9enable_ifIXaaaasr6detailE11is_not_selfISI_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSP_EEvE4typeELPv0EEEOSI_ Line | Count | Source | 742 | 180 | : m_fptr([](storage fn, | 743 | 180 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 180 | cvref<T> obj = *get<T>(fn); | 745 | 180 | if constexpr (std::is_void_v<R>) { | 746 | 180 | obj(static_cast<decltype(args)>(args)...); | 747 | 180 | } | 748 | 180 | else { | 749 | 180 | return obj(static_cast<decltype(args)>(args)...); | 750 | 180 | } | 751 | 180 | }), | 752 | 180 | m_storage(std::addressof(f)) | 753 | 180 | { | 754 | 180 | } |
_ZN3scn2v34impl12function_refIFbDiES3_EC2IZNS1_24read_while_classic_spaceINS0_6ranges6detail9subrange_8subrangeIPKwSC_EEEEDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESG_EUlDiE_SL_TnPNSE_9enable_ifIXaaaasr6detailE11is_not_selfISG_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSN_EEvE4typeELPv0EEEOSG_ Line | Count | Source | 742 | 96.6k | : m_fptr([](storage fn, | 743 | 96.6k | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 96.6k | cvref<T> obj = *get<T>(fn); | 745 | 96.6k | if constexpr (std::is_void_v<R>) { | 746 | 96.6k | obj(static_cast<decltype(args)>(args)...); | 747 | 96.6k | } | 748 | 96.6k | else { | 749 | 96.6k | return obj(static_cast<decltype(args)>(args)...); | 750 | 96.6k | } | 751 | 96.6k | }), | 752 | 96.6k | m_storage(std::addressof(f)) | 753 | 96.6k | { | 754 | 96.6k | } |
Unexecuted instantiation: _ZN3scn2v34impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS0_6ranges18default_sentinel_tEEEEERNS1_12float_readerIwEENS1_15take_width_viewINSA_6detail9subrange_8subrangeIS9_SB_EEEENS6_10locale_refEESO_EC2IZNS1_21reader_impl_for_floatIwE10read_specsISM_fEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESW_RKNS6_12format_specsERT0_SN_EUlSG_DpOT_E_S1A_TnPNSU_9enable_ifIXaaaasr6detailE11is_not_selfISW_SP_Entsr3stdE19is_member_pointer_vIS15_E18is_invocable_usingIS16_EEvE4typeELPv0EEEOSW_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFbwES3_EC2IZNS1_12float_readerIwE8read_nanINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEENS1_15take_width_viewINSC_ISI_SJ_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_EUlwE_S10_TnPNSS_9enable_ifIXaaaasr6detailE11is_not_selfISU_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRS12_EEvE4typeELPv0EEEOSU_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFbwES3_EC2IZNS1_12float_readerIwE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEENS1_15take_width_viewINSC_ISI_SJ_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_bEUlwE_S10_TnPNSS_9enable_ifIXaaaasr6detailE11is_not_selfISU_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRS12_EEvE4typeELPv0EEEOSU_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFbwES3_EC2IZNS1_12float_readerIwE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEENS1_15take_width_viewINSC_ISI_SJ_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_bEUlwE0_S10_TnPNSS_9enable_ifIXaaaasr6detailE11is_not_selfISU_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRS12_EEvE4typeELPv0EEEOSU_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFbwES3_EC2IZNS1_12float_readerIwE13read_exponentINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEENS1_15take_width_viewINSC_ISI_SJ_EEE8sentinelILb1EEEEEEEDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEST_NSR_17basic_string_viewIcNSR_11char_traitsIcEEEEEUlwE_S12_TnPNSR_9enable_ifIXaaaasr6detailE11is_not_selfIST_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRS14_EEvE4typeELPv0EEEOST_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFbwES3_EC2IZNS1_12float_readerIwE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEENS1_15take_width_viewINSC_ISI_SJ_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_bEUlwE_S10_TnPNSS_9enable_ifIXaaaasr6detailE11is_not_selfISU_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRS12_EEvE4typeELPv0EEEOSU_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFbwES3_EC2IZNS1_12float_readerIwE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEENS1_15take_width_viewINSC_ISI_SJ_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_bEUlwE0_S10_TnPNSS_9enable_ifIXaaaasr6detailE11is_not_selfISU_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRS12_EEvE4typeELPv0EEEOSU_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS0_6ranges18default_sentinel_tEEEEERNS1_12float_readerIwEENS1_15take_width_viewINSA_6detail9subrange_8subrangeIS9_SB_EEEENS6_10locale_refEESO_EC2IZNS1_21reader_impl_for_floatIwE10read_specsISM_fEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESW_RKNS6_12format_specsERT0_SN_EUlSG_DpOT_E0_S1A_TnPNSU_9enable_ifIXaaaasr6detailE11is_not_selfISW_SP_Entsr3stdE19is_member_pointer_vIS15_E18is_invocable_usingIS16_EEvE4typeELPv0EEEOSW_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFNS0_13scan_expectedINS0_6detail17basic_scan_bufferIwE16forward_iteratorEEERNS1_12float_readerIwEENS0_6ranges6detail9subrange_8subrangeIS7_NSC_18default_sentinel_tEEENS4_10locale_refEESJ_EC2IZNS1_21reader_impl_for_floatIwE10read_specsISH_fEENS3_IDTclL_ZNSC_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_RKNS4_12format_specsERT0_SI_EUlSB_DpOT_E_S15_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_SK_Entsr3stdE19is_member_pointer_vIS10_E18is_invocable_usingIS11_EEvE4typeELPv0EEEOSR_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFbwES3_EC2IZNS1_12float_readerIwE8read_nanINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_EUlwE_SS_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSM_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFbwES3_EC2IZNS1_12float_readerIwE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_bEUlwE_SS_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSM_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFbwES3_EC2IZNS1_12float_readerIwE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_bEUlwE0_SS_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSM_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFbwES3_EC2IZNS1_12float_readerIwE13read_exponentINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEEEDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESL_NSJ_17basic_string_viewIcNSJ_11char_traitsIcEEEEEUlwE_SU_TnPNSJ_9enable_ifIXaaaasr6detailE11is_not_selfISL_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSW_EEvE4typeELPv0EEEOSL_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFbwES3_EC2IZNS1_12float_readerIwE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_bEUlwE_SS_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSM_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFbwES3_EC2IZNS1_12float_readerIwE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_bEUlwE0_SS_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSM_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFNS0_13scan_expectedINS0_6detail17basic_scan_bufferIwE16forward_iteratorEEERNS1_12float_readerIwEENS0_6ranges6detail9subrange_8subrangeIS7_NSC_18default_sentinel_tEEENS4_10locale_refEESJ_EC2IZNS1_21reader_impl_for_floatIwE10read_specsISH_fEENS3_IDTclL_ZNSC_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_RKNS4_12format_specsERT0_SI_EUlSB_DpOT_E0_S15_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_SK_Entsr3stdE19is_member_pointer_vIS10_E18is_invocable_usingIS11_EEvE4typeELPv0EEEOSR_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwS7_EEEERNS1_12float_readerIwEENS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIS7_S7_EEEENS0_6detail10locale_refEESM_EC2IZNS1_21reader_impl_for_floatIwE10read_specsISJ_fEENS3_IDTclL_ZNSE_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_RKNSK_12format_specsERT0_SL_EUlSC_DpOT_E_S18_TnPNSS_9enable_ifIXaaaasr6detailE11is_not_selfISU_SN_Entsr3stdE19is_member_pointer_vIS13_E18is_invocable_usingIS14_EEvE4typeELPv0EEEOSU_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFbwES3_EC2IZNS1_12float_readerIwE8read_nanINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSG_EENS1_15take_width_viewINSC_ISG_SG_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_EUlwE_SX_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSZ_EEvE4typeELPv0EEEOSR_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFbwES3_EC2IZNS1_12float_readerIwE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSG_EENS1_15take_width_viewINSC_ISG_SG_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_bEUlwE_SX_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSZ_EEvE4typeELPv0EEEOSR_ _ZN3scn2v34impl12function_refIFbwES3_EC2IZNS1_12float_readerIwE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSG_EENS1_15take_width_viewINSC_ISG_SG_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_bEUlwE0_SX_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSZ_EEvE4typeELPv0EEEOSR_ Line | Count | Source | 742 | 6 | : m_fptr([](storage fn, | 743 | 6 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 6 | cvref<T> obj = *get<T>(fn); | 745 | 6 | if constexpr (std::is_void_v<R>) { | 746 | 6 | obj(static_cast<decltype(args)>(args)...); | 747 | 6 | } | 748 | 6 | else { | 749 | 6 | return obj(static_cast<decltype(args)>(args)...); | 750 | 6 | } | 751 | 6 | }), | 752 | 6 | m_storage(std::addressof(f)) | 753 | 6 | { | 754 | 6 | } |
Unexecuted instantiation: _ZN3scn2v34impl12function_refIFbwES3_EC2IZNS1_12float_readerIwE13read_exponentINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSG_EENS1_15take_width_viewINSC_ISG_SG_EEE8sentinelILb1EEEEEEEDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESQ_NSO_17basic_string_viewIcNSO_11char_traitsIcEEEEEUlwE_SZ_TnPNSO_9enable_ifIXaaaasr6detailE11is_not_selfISQ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRS11_EEvE4typeELPv0EEEOSQ_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFbwES3_EC2IZNS1_12float_readerIwE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSG_EENS1_15take_width_viewINSC_ISG_SG_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_bEUlwE_SX_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSZ_EEvE4typeELPv0EEEOSR_ _ZN3scn2v34impl12function_refIFbwES3_EC2IZNS1_12float_readerIwE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSG_EENS1_15take_width_viewINSC_ISG_SG_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_bEUlwE0_SX_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSZ_EEvE4typeELPv0EEEOSR_ Line | Count | Source | 742 | 104 | : m_fptr([](storage fn, | 743 | 104 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 104 | cvref<T> obj = *get<T>(fn); | 745 | 104 | if constexpr (std::is_void_v<R>) { | 746 | 104 | obj(static_cast<decltype(args)>(args)...); | 747 | 104 | } | 748 | 104 | else { | 749 | 104 | return obj(static_cast<decltype(args)>(args)...); | 750 | 104 | } | 751 | 104 | }), | 752 | 104 | m_storage(std::addressof(f)) | 753 | 104 | { | 754 | 104 | } |
Unexecuted instantiation: _ZN3scn2v34impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwS7_EEEERNS1_12float_readerIwEENS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIS7_S7_EEEENS0_6detail10locale_refEESM_EC2IZNS1_21reader_impl_for_floatIwE10read_specsISJ_fEENS3_IDTclL_ZNSE_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_RKNSK_12format_specsERT0_SL_EUlSC_DpOT_E0_S18_TnPNSS_9enable_ifIXaaaasr6detailE11is_not_selfISU_SN_Entsr3stdE19is_member_pointer_vIS13_E18is_invocable_usingIS14_EEvE4typeELPv0EEEOSU_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFNS0_13scan_expectedIPKwEERNS1_12float_readerIwEENS0_6ranges6detail9subrange_8subrangeIS5_S5_EENS0_6detail10locale_refEESH_EC2IZNS1_21reader_impl_for_floatIwE10read_specsISE_fEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESP_RKNSF_12format_specsERT0_SG_EUlS9_DpOT_E_S13_TnPNSN_9enable_ifIXaaaasr6detailE11is_not_selfISP_SI_Entsr3stdE19is_member_pointer_vISY_E18is_invocable_usingISZ_EEvE4typeELPv0EEEOSP_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFbwES3_EC2IZNS1_12float_readerIwE8read_nanINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_EUlwE_SP_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSR_EEvE4typeELPv0EEEOSJ_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFbwES3_EC2IZNS1_12float_readerIwE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_bEUlwE_SP_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSR_EEvE4typeELPv0EEEOSJ_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFbwES3_EC2IZNS1_12float_readerIwE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_bEUlwE0_SP_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSR_EEvE4typeELPv0EEEOSJ_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFbwES3_EC2IZNS1_12float_readerIwE13read_exponentINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEEEDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESI_NSG_17basic_string_viewIcNSG_11char_traitsIcEEEEEUlwE_SR_TnPNSG_9enable_ifIXaaaasr6detailE11is_not_selfISI_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRST_EEvE4typeELPv0EEEOSI_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFbwES3_EC2IZNS1_12float_readerIwE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_bEUlwE_SP_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSR_EEvE4typeELPv0EEEOSJ_ _ZN3scn2v34impl12function_refIFbwES3_EC2IZNS1_12float_readerIwE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_bEUlwE0_SP_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSR_EEvE4typeELPv0EEEOSJ_ Line | Count | Source | 742 | 8 | : m_fptr([](storage fn, | 743 | 8 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 8 | cvref<T> obj = *get<T>(fn); | 745 | 8 | if constexpr (std::is_void_v<R>) { | 746 | 8 | obj(static_cast<decltype(args)>(args)...); | 747 | 8 | } | 748 | 8 | else { | 749 | 8 | return obj(static_cast<decltype(args)>(args)...); | 750 | 8 | } | 751 | 8 | }), | 752 | 8 | m_storage(std::addressof(f)) | 753 | 8 | { | 754 | 8 | } |
Unexecuted instantiation: _ZN3scn2v34impl12function_refIFNS0_13scan_expectedIPKwEERNS1_12float_readerIwEENS0_6ranges6detail9subrange_8subrangeIS5_S5_EENS0_6detail10locale_refEESH_EC2IZNS1_21reader_impl_for_floatIwE10read_specsISE_fEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESP_RKNSF_12format_specsERT0_SG_EUlS9_DpOT_E0_S13_TnPNSN_9enable_ifIXaaaasr6detailE11is_not_selfISP_SI_Entsr3stdE19is_member_pointer_vISY_E18is_invocable_usingISZ_EEvE4typeELPv0EEEOSP_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS0_6ranges18default_sentinel_tEEEEERNS1_12float_readerIwEENS1_15take_width_viewINSA_6detail9subrange_8subrangeIS9_SB_EEEENS6_10locale_refEESO_EC2IZNS1_21reader_impl_for_floatIwE10read_specsISM_dEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESW_RKNS6_12format_specsERT0_SN_EUlSG_DpOT_E_S1A_TnPNSU_9enable_ifIXaaaasr6detailE11is_not_selfISW_SP_Entsr3stdE19is_member_pointer_vIS15_E18is_invocable_usingIS16_EEvE4typeELPv0EEEOSW_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS0_6ranges18default_sentinel_tEEEEERNS1_12float_readerIwEENS1_15take_width_viewINSA_6detail9subrange_8subrangeIS9_SB_EEEENS6_10locale_refEESO_EC2IZNS1_21reader_impl_for_floatIwE10read_specsISM_dEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESW_RKNS6_12format_specsERT0_SN_EUlSG_DpOT_E0_S1A_TnPNSU_9enable_ifIXaaaasr6detailE11is_not_selfISW_SP_Entsr3stdE19is_member_pointer_vIS15_E18is_invocable_usingIS16_EEvE4typeELPv0EEEOSW_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFNS0_13scan_expectedINS0_6detail17basic_scan_bufferIwE16forward_iteratorEEERNS1_12float_readerIwEENS0_6ranges6detail9subrange_8subrangeIS7_NSC_18default_sentinel_tEEENS4_10locale_refEESJ_EC2IZNS1_21reader_impl_for_floatIwE10read_specsISH_dEENS3_IDTclL_ZNSC_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_RKNS4_12format_specsERT0_SI_EUlSB_DpOT_E_S15_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_SK_Entsr3stdE19is_member_pointer_vIS10_E18is_invocable_usingIS11_EEvE4typeELPv0EEEOSR_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFNS0_13scan_expectedINS0_6detail17basic_scan_bufferIwE16forward_iteratorEEERNS1_12float_readerIwEENS0_6ranges6detail9subrange_8subrangeIS7_NSC_18default_sentinel_tEEENS4_10locale_refEESJ_EC2IZNS1_21reader_impl_for_floatIwE10read_specsISH_dEENS3_IDTclL_ZNSC_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_RKNS4_12format_specsERT0_SI_EUlSB_DpOT_E0_S15_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_SK_Entsr3stdE19is_member_pointer_vIS10_E18is_invocable_usingIS11_EEvE4typeELPv0EEEOSR_ _ZN3scn2v34impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwS7_EEEERNS1_12float_readerIwEENS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIS7_S7_EEEENS0_6detail10locale_refEESM_EC2IZNS1_21reader_impl_for_floatIwE10read_specsISJ_dEENS3_IDTclL_ZNSE_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_RKNSK_12format_specsERT0_SL_EUlSC_DpOT_E_S18_TnPNSS_9enable_ifIXaaaasr6detailE11is_not_selfISU_SN_Entsr3stdE19is_member_pointer_vIS13_E18is_invocable_usingIS14_EEvE4typeELPv0EEEOSU_ Line | Count | Source | 742 | 8 | : m_fptr([](storage fn, | 743 | 8 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 8 | cvref<T> obj = *get<T>(fn); | 745 | 8 | if constexpr (std::is_void_v<R>) { | 746 | 8 | obj(static_cast<decltype(args)>(args)...); | 747 | 8 | } | 748 | 8 | else { | 749 | 8 | return obj(static_cast<decltype(args)>(args)...); | 750 | 8 | } | 751 | 8 | }), | 752 | 8 | m_storage(std::addressof(f)) | 753 | 8 | { | 754 | 8 | } |
_ZN3scn2v34impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwS7_EEEERNS1_12float_readerIwEENS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIS7_S7_EEEENS0_6detail10locale_refEESM_EC2IZNS1_21reader_impl_for_floatIwE10read_specsISJ_dEENS3_IDTclL_ZNSE_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_RKNSK_12format_specsERT0_SL_EUlSC_DpOT_E0_S18_TnPNSS_9enable_ifIXaaaasr6detailE11is_not_selfISU_SN_Entsr3stdE19is_member_pointer_vIS13_E18is_invocable_usingIS14_EEvE4typeELPv0EEEOSU_ Line | Count | Source | 742 | 102 | : m_fptr([](storage fn, | 743 | 102 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 102 | cvref<T> obj = *get<T>(fn); | 745 | 102 | if constexpr (std::is_void_v<R>) { | 746 | 102 | obj(static_cast<decltype(args)>(args)...); | 747 | 102 | } | 748 | 102 | else { | 749 | 102 | return obj(static_cast<decltype(args)>(args)...); | 750 | 102 | } | 751 | 102 | }), | 752 | 102 | m_storage(std::addressof(f)) | 753 | 102 | { | 754 | 102 | } |
_ZN3scn2v34impl12function_refIFNS0_13scan_expectedIPKwEERNS1_12float_readerIwEENS0_6ranges6detail9subrange_8subrangeIS5_S5_EENS0_6detail10locale_refEESH_EC2IZNS1_21reader_impl_for_floatIwE10read_specsISE_dEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESP_RKNSF_12format_specsERT0_SG_EUlS9_DpOT_E_S13_TnPNSN_9enable_ifIXaaaasr6detailE11is_not_selfISP_SI_Entsr3stdE19is_member_pointer_vISY_E18is_invocable_usingISZ_EEvE4typeELPv0EEEOSP_ Line | Count | Source | 742 | 8 | : m_fptr([](storage fn, | 743 | 8 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 8 | cvref<T> obj = *get<T>(fn); | 745 | 8 | if constexpr (std::is_void_v<R>) { | 746 | 8 | obj(static_cast<decltype(args)>(args)...); | 747 | 8 | } | 748 | 8 | else { | 749 | 8 | return obj(static_cast<decltype(args)>(args)...); | 750 | 8 | } | 751 | 8 | }), | 752 | 8 | m_storage(std::addressof(f)) | 753 | 8 | { | 754 | 8 | } |
_ZN3scn2v34impl12function_refIFNS0_13scan_expectedIPKwEERNS1_12float_readerIwEENS0_6ranges6detail9subrange_8subrangeIS5_S5_EENS0_6detail10locale_refEESH_EC2IZNS1_21reader_impl_for_floatIwE10read_specsISE_dEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESP_RKNSF_12format_specsERT0_SG_EUlS9_DpOT_E0_S13_TnPNSN_9enable_ifIXaaaasr6detailE11is_not_selfISP_SI_Entsr3stdE19is_member_pointer_vISY_E18is_invocable_usingISZ_EEvE4typeELPv0EEEOSP_ Line | Count | Source | 742 | 314 | : m_fptr([](storage fn, | 743 | 314 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 314 | cvref<T> obj = *get<T>(fn); | 745 | 314 | if constexpr (std::is_void_v<R>) { | 746 | 314 | obj(static_cast<decltype(args)>(args)...); | 747 | 314 | } | 748 | 314 | else { | 749 | 314 | return obj(static_cast<decltype(args)>(args)...); | 750 | 314 | } | 751 | 314 | }), | 752 | 314 | m_storage(std::addressof(f)) | 753 | 314 | { | 754 | 314 | } |
Unexecuted instantiation: _ZN3scn2v34impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS0_6ranges18default_sentinel_tEEEEERNS1_12float_readerIwEENS1_15take_width_viewINSA_6detail9subrange_8subrangeIS9_SB_EEEENS6_10locale_refEESO_EC2IZNS1_21reader_impl_for_floatIwE10read_specsISM_eEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESW_RKNS6_12format_specsERT0_SN_EUlSG_DpOT_E_S1A_TnPNSU_9enable_ifIXaaaasr6detailE11is_not_selfISW_SP_Entsr3stdE19is_member_pointer_vIS15_E18is_invocable_usingIS16_EEvE4typeELPv0EEEOSW_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS0_6ranges18default_sentinel_tEEEEERNS1_12float_readerIwEENS1_15take_width_viewINSA_6detail9subrange_8subrangeIS9_SB_EEEENS6_10locale_refEESO_EC2IZNS1_21reader_impl_for_floatIwE10read_specsISM_eEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESW_RKNS6_12format_specsERT0_SN_EUlSG_DpOT_E0_S1A_TnPNSU_9enable_ifIXaaaasr6detailE11is_not_selfISW_SP_Entsr3stdE19is_member_pointer_vIS15_E18is_invocable_usingIS16_EEvE4typeELPv0EEEOSW_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFNS0_13scan_expectedINS0_6detail17basic_scan_bufferIwE16forward_iteratorEEERNS1_12float_readerIwEENS0_6ranges6detail9subrange_8subrangeIS7_NSC_18default_sentinel_tEEENS4_10locale_refEESJ_EC2IZNS1_21reader_impl_for_floatIwE10read_specsISH_eEENS3_IDTclL_ZNSC_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_RKNS4_12format_specsERT0_SI_EUlSB_DpOT_E_S15_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_SK_Entsr3stdE19is_member_pointer_vIS10_E18is_invocable_usingIS11_EEvE4typeELPv0EEEOSR_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFNS0_13scan_expectedINS0_6detail17basic_scan_bufferIwE16forward_iteratorEEERNS1_12float_readerIwEENS0_6ranges6detail9subrange_8subrangeIS7_NSC_18default_sentinel_tEEENS4_10locale_refEESJ_EC2IZNS1_21reader_impl_for_floatIwE10read_specsISH_eEENS3_IDTclL_ZNSC_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_RKNS4_12format_specsERT0_SI_EUlSB_DpOT_E0_S15_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_SK_Entsr3stdE19is_member_pointer_vIS10_E18is_invocable_usingIS11_EEvE4typeELPv0EEEOSR_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwS7_EEEERNS1_12float_readerIwEENS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIS7_S7_EEEENS0_6detail10locale_refEESM_EC2IZNS1_21reader_impl_for_floatIwE10read_specsISJ_eEENS3_IDTclL_ZNSE_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_RKNSK_12format_specsERT0_SL_EUlSC_DpOT_E_S18_TnPNSS_9enable_ifIXaaaasr6detailE11is_not_selfISU_SN_Entsr3stdE19is_member_pointer_vIS13_E18is_invocable_usingIS14_EEvE4typeELPv0EEEOSU_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwS7_EEEERNS1_12float_readerIwEENS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIS7_S7_EEEENS0_6detail10locale_refEESM_EC2IZNS1_21reader_impl_for_floatIwE10read_specsISJ_eEENS3_IDTclL_ZNSE_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_RKNSK_12format_specsERT0_SL_EUlSC_DpOT_E0_S18_TnPNSS_9enable_ifIXaaaasr6detailE11is_not_selfISU_SN_Entsr3stdE19is_member_pointer_vIS13_E18is_invocable_usingIS14_EEvE4typeELPv0EEEOSU_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFNS0_13scan_expectedIPKwEERNS1_12float_readerIwEENS0_6ranges6detail9subrange_8subrangeIS5_S5_EENS0_6detail10locale_refEESH_EC2IZNS1_21reader_impl_for_floatIwE10read_specsISE_eEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESP_RKNSF_12format_specsERT0_SG_EUlS9_DpOT_E_S13_TnPNSN_9enable_ifIXaaaasr6detailE11is_not_selfISP_SI_Entsr3stdE19is_member_pointer_vISY_E18is_invocable_usingISZ_EEvE4typeELPv0EEEOSP_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFNS0_13scan_expectedIPKwEERNS1_12float_readerIwEENS0_6ranges6detail9subrange_8subrangeIS5_S5_EENS0_6detail10locale_refEESH_EC2IZNS1_21reader_impl_for_floatIwE10read_specsISE_eEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESP_RKNSF_12format_specsERT0_SG_EUlS9_DpOT_E0_S13_TnPNSN_9enable_ifIXaaaasr6detailE11is_not_selfISP_SI_Entsr3stdE19is_member_pointer_vISY_E18is_invocable_usingISZ_EEvE4typeELPv0EEEOSP_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFbDiES3_EC2IZNS1_24read_until_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS8_18default_sentinel_tEEEEEEEDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESL_EUlDiE_SQ_TnPNSJ_9enable_ifIXaaaasr6detailE11is_not_selfISL_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSS_EEvE4typeELPv0EEEOSL_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFbwES3_EC2IZNS1_23custom_word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENSA_18default_sentinel_tEEEEEcEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_RKNSE_12format_specsERNSM_12basic_stringIT0_NSM_11char_traitsISY_EENSM_9allocatorISY_EEEEEUlwE_S15_TnPNSM_9enable_ifIXaaaasr6detailE11is_not_selfISO_S4_Entsr3stdE19is_member_pointer_vISY_E18is_invocable_usingIRSY_EEvE4typeELPv0EEEOSO_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFbDiES3_EC2IRKZNKS1_25character_set_reader_implIwE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENSA_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_NS7_12specs_helperEEUlDiE_SW_TnPNSM_9enable_ifIXaaaasr6detailE11is_not_selfISO_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSZ_EEvE4typeELPv0EEEOSO_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFbwES3_EC2IRKZNKS1_25character_set_reader_implIwE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENSA_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_NS7_12specs_helperEEUlwE_SW_TnPNSM_9enable_ifIXaaaasr6detailE11is_not_selfISO_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSZ_EEvE4typeELPv0EEEOSO_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFbDiES3_EC2IZNS1_24read_until_classic_spaceINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS7_18default_sentinel_tEEEEEDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESJ_EUlDiE_SO_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSQ_EEvE4typeELPv0EEEOSJ_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFbwES3_EC2IZNS1_23custom_word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEcEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_RKNSD_12format_specsERNSK_12basic_stringIT0_NSK_11char_traitsISW_EENSK_9allocatorISW_EEEEEUlwE_S13_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vISW_E18is_invocable_usingIRSW_EEvE4typeELPv0EEEOSM_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFbDiES3_EC2IRKZNKS1_25character_set_reader_implIwE16read_source_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_NS7_12specs_helperEEUlDiE_SU_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSX_EEvE4typeELPv0EEEOSM_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFbwES3_EC2IRKZNKS1_25character_set_reader_implIwE16read_source_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_NS7_12specs_helperEEUlwE_SU_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSX_EEvE4typeELPv0EEEOSM_ _ZN3scn2v34impl12function_refIFbDiES3_EC2IZNS1_24read_until_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSD_EEEEEEDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESI_EUlDiE_SN_TnPNSG_9enable_ifIXaaaasr6detailE11is_not_selfISI_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSP_EEvE4typeELPv0EEEOSI_ Line | Count | Source | 742 | 276 | : m_fptr([](storage fn, | 743 | 276 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 276 | cvref<T> obj = *get<T>(fn); | 745 | 276 | if constexpr (std::is_void_v<R>) { | 746 | 276 | obj(static_cast<decltype(args)>(args)...); | 747 | 276 | } | 748 | 276 | else { | 749 | 276 | return obj(static_cast<decltype(args)>(args)...); | 750 | 276 | } | 751 | 276 | }), | 752 | 276 | m_storage(std::addressof(f)) | 753 | 276 | { | 754 | 276 | } |
_ZN3scn2v34impl12function_refIFbwES3_EC2IZNS1_23custom_word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSF_EEEEcEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNS0_6detail12format_specsERNSJ_12basic_stringIT0_NSJ_11char_traitsISW_EENSJ_9allocatorISW_EEEEEUlwE_S13_TnPNSJ_9enable_ifIXaaaasr6detailE11is_not_selfISL_S4_Entsr3stdE19is_member_pointer_vISW_E18is_invocable_usingIRSW_EEvE4typeELPv0EEEOSL_ Line | Count | Source | 742 | 22 | : m_fptr([](storage fn, | 743 | 22 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 22 | cvref<T> obj = *get<T>(fn); | 745 | 22 | if constexpr (std::is_void_v<R>) { | 746 | 22 | obj(static_cast<decltype(args)>(args)...); | 747 | 22 | } | 748 | 22 | else { | 749 | 22 | return obj(static_cast<decltype(args)>(args)...); | 750 | 22 | } | 751 | 22 | }), | 752 | 22 | m_storage(std::addressof(f)) | 753 | 22 | { | 754 | 22 | } |
_ZN3scn2v34impl12function_refIFbDiES3_EC2IRKZNKS1_25character_set_reader_implIwE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSF_EEEEEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_NS7_12specs_helperEEUlDiE_ST_TnPNSJ_9enable_ifIXaaaasr6detailE11is_not_selfISL_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSW_EEvE4typeELPv0EEEOSL_ Line | Count | Source | 742 | 180 | : m_fptr([](storage fn, | 743 | 180 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 180 | cvref<T> obj = *get<T>(fn); | 745 | 180 | if constexpr (std::is_void_v<R>) { | 746 | 180 | obj(static_cast<decltype(args)>(args)...); | 747 | 180 | } | 748 | 180 | else { | 749 | 180 | return obj(static_cast<decltype(args)>(args)...); | 750 | 180 | } | 751 | 180 | }), | 752 | 180 | m_storage(std::addressof(f)) | 753 | 180 | { | 754 | 180 | } |
_ZN3scn2v34impl12function_refIFbwES3_EC2IRKZNKS1_25character_set_reader_implIwE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSF_EEEEEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_NS7_12specs_helperEEUlwE_ST_TnPNSJ_9enable_ifIXaaaasr6detailE11is_not_selfISL_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSW_EEvE4typeELPv0EEEOSL_ Line | Count | Source | 742 | 78 | : m_fptr([](storage fn, | 743 | 78 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 78 | cvref<T> obj = *get<T>(fn); | 745 | 78 | if constexpr (std::is_void_v<R>) { | 746 | 78 | obj(static_cast<decltype(args)>(args)...); | 747 | 78 | } | 748 | 78 | else { | 749 | 78 | return obj(static_cast<decltype(args)>(args)...); | 750 | 78 | } | 751 | 78 | }), | 752 | 78 | m_storage(std::addressof(f)) | 753 | 78 | { | 754 | 78 | } |
_ZN3scn2v34impl12function_refIFbDiES3_EC2IZNS1_24read_until_classic_spaceINS0_6ranges6detail9subrange_8subrangeIPKwSC_EEEEDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESG_EUlDiE_SL_TnPNSE_9enable_ifIXaaaasr6detailE11is_not_selfISG_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSN_EEvE4typeELPv0EEEOSG_ Line | Count | Source | 742 | 2.35k | : m_fptr([](storage fn, | 743 | 2.35k | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 2.35k | cvref<T> obj = *get<T>(fn); | 745 | 2.35k | if constexpr (std::is_void_v<R>) { | 746 | 2.35k | obj(static_cast<decltype(args)>(args)...); | 747 | 2.35k | } | 748 | 2.35k | else { | 749 | 2.35k | return obj(static_cast<decltype(args)>(args)...); | 750 | 2.35k | } | 751 | 2.35k | }), | 752 | 2.35k | m_storage(std::addressof(f)) | 753 | 2.35k | { | 754 | 2.35k | } |
_ZN3scn2v34impl12function_refIFbwES3_EC2IZNS1_23custom_word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEcEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_RKNS0_6detail12format_specsERNSH_12basic_stringIT0_NSH_11char_traitsISU_EENSH_9allocatorISU_EEEEEUlwE_S11_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vISU_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSJ_ Line | Count | Source | 742 | 36 | : m_fptr([](storage fn, | 743 | 36 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 36 | cvref<T> obj = *get<T>(fn); | 745 | 36 | if constexpr (std::is_void_v<R>) { | 746 | 36 | obj(static_cast<decltype(args)>(args)...); | 747 | 36 | } | 748 | 36 | else { | 749 | 36 | return obj(static_cast<decltype(args)>(args)...); | 750 | 36 | } | 751 | 36 | }), | 752 | 36 | m_storage(std::addressof(f)) | 753 | 36 | { | 754 | 36 | } |
_ZN3scn2v34impl12function_refIFbDiES3_EC2IRKZNKS1_25character_set_reader_implIwE16read_source_implINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_NS7_12specs_helperEEUlDiE_SR_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSJ_ Line | Count | Source | 742 | 342 | : m_fptr([](storage fn, | 743 | 342 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 342 | cvref<T> obj = *get<T>(fn); | 745 | 342 | if constexpr (std::is_void_v<R>) { | 746 | 342 | obj(static_cast<decltype(args)>(args)...); | 747 | 342 | } | 748 | 342 | else { | 749 | 342 | return obj(static_cast<decltype(args)>(args)...); | 750 | 342 | } | 751 | 342 | }), | 752 | 342 | m_storage(std::addressof(f)) | 753 | 342 | { | 754 | 342 | } |
_ZN3scn2v34impl12function_refIFbwES3_EC2IRKZNKS1_25character_set_reader_implIwE16read_source_implINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_NS7_12specs_helperEEUlwE_SR_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSJ_ Line | Count | Source | 742 | 96 | : m_fptr([](storage fn, | 743 | 96 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 96 | cvref<T> obj = *get<T>(fn); | 745 | 96 | if constexpr (std::is_void_v<R>) { | 746 | 96 | obj(static_cast<decltype(args)>(args)...); | 747 | 96 | } | 748 | 96 | else { | 749 | 96 | return obj(static_cast<decltype(args)>(args)...); | 750 | 96 | } | 751 | 96 | }), | 752 | 96 | m_storage(std::addressof(f)) | 753 | 96 | { | 754 | 96 | } |
Unexecuted instantiation: _ZN3scn2v34impl12function_refIFbwES3_EC2IZNS1_23custom_word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENSA_18default_sentinel_tEEEEEwEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_RKNSE_12format_specsERNSM_12basic_stringIT0_NSM_11char_traitsISY_EENSM_9allocatorISY_EEEEEUlwE_S15_TnPNSM_9enable_ifIXaaaasr6detailE11is_not_selfISO_S4_Entsr3stdE19is_member_pointer_vISY_E18is_invocable_usingIRSY_EEvE4typeELPv0EEEOSO_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFbwES3_EC2IZNS1_23custom_word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEwEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_RKNSD_12format_specsERNSK_12basic_stringIT0_NSK_11char_traitsISW_EENSK_9allocatorISW_EEEEEUlwE_S13_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vISW_E18is_invocable_usingIRSW_EEvE4typeELPv0EEEOSM_ _ZN3scn2v34impl12function_refIFbwES3_EC2IZNS1_23custom_word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSF_EEEEwEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNS0_6detail12format_specsERNSJ_12basic_stringIT0_NSJ_11char_traitsISW_EENSJ_9allocatorISW_EEEEEUlwE_S13_TnPNSJ_9enable_ifIXaaaasr6detailE11is_not_selfISL_S4_Entsr3stdE19is_member_pointer_vISW_E18is_invocable_usingIRSW_EEvE4typeELPv0EEEOSL_ Line | Count | Source | 742 | 22 | : m_fptr([](storage fn, | 743 | 22 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 22 | cvref<T> obj = *get<T>(fn); | 745 | 22 | if constexpr (std::is_void_v<R>) { | 746 | 22 | obj(static_cast<decltype(args)>(args)...); | 747 | 22 | } | 748 | 22 | else { | 749 | 22 | return obj(static_cast<decltype(args)>(args)...); | 750 | 22 | } | 751 | 22 | }), | 752 | 22 | m_storage(std::addressof(f)) | 753 | 22 | { | 754 | 22 | } |
_ZN3scn2v34impl12function_refIFbwES3_EC2IZNS1_23custom_word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEwEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_RKNS0_6detail12format_specsERNSH_12basic_stringIT0_NSH_11char_traitsISU_EENSH_9allocatorISU_EEEEEUlwE_S11_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vISU_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSJ_ Line | Count | Source | 742 | 36 | : m_fptr([](storage fn, | 743 | 36 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 36 | cvref<T> obj = *get<T>(fn); | 745 | 36 | if constexpr (std::is_void_v<R>) { | 746 | 36 | obj(static_cast<decltype(args)>(args)...); | 747 | 36 | } | 748 | 36 | else { | 749 | 36 | return obj(static_cast<decltype(args)>(args)...); | 750 | 36 | } | 751 | 36 | }), | 752 | 36 | m_storage(std::addressof(f)) | 753 | 36 | { | 754 | 36 | } |
Unexecuted instantiation: _ZN3scn2v34impl12function_refIFbwES3_EC2IZNS1_23custom_word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENSA_18default_sentinel_tEEEEEcEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_RKNSE_12format_specsERNSM_17basic_string_viewIT0_NSM_11char_traitsISY_EEEEEUlwE_S13_TnPNSM_9enable_ifIXaaaasr6detailE11is_not_selfISO_S4_Entsr3stdE19is_member_pointer_vISY_E18is_invocable_usingIRSY_EEvE4typeELPv0EEEOSO_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFbwES3_EC2IZNS1_23custom_word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEcEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_RKNSD_12format_specsERNSK_17basic_string_viewIT0_NSK_11char_traitsISW_EEEEEUlwE_S11_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vISW_E18is_invocable_usingIRSW_EEvE4typeELPv0EEEOSM_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFbwES3_EC2IZNS1_23custom_word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSF_EEEEcEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNS0_6detail12format_specsERNSJ_17basic_string_viewIT0_NSJ_11char_traitsISW_EEEEEUlwE_S11_TnPNSJ_9enable_ifIXaaaasr6detailE11is_not_selfISL_S4_Entsr3stdE19is_member_pointer_vISW_E18is_invocable_usingIRSW_EEvE4typeELPv0EEEOSL_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFbwES3_EC2IZNS1_23custom_word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEcEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_RKNS0_6detail12format_specsERNSH_17basic_string_viewIT0_NSH_11char_traitsISU_EEEEEUlwE_SZ_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vISU_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSJ_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFbwES3_EC2IZNS1_23custom_word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENSA_18default_sentinel_tEEEEEwEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_RKNSE_12format_specsERNSM_17basic_string_viewIT0_NSM_11char_traitsISY_EEEEEUlwE_S13_TnPNSM_9enable_ifIXaaaasr6detailE11is_not_selfISO_S4_Entsr3stdE19is_member_pointer_vISY_E18is_invocable_usingIRSY_EEvE4typeELPv0EEEOSO_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFbwES3_EC2IZNS1_23custom_word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEwEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_RKNSD_12format_specsERNSK_17basic_string_viewIT0_NSK_11char_traitsISW_EEEEEUlwE_S11_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vISW_E18is_invocable_usingIRSW_EEvE4typeELPv0EEEOSM_ _ZN3scn2v34impl12function_refIFbwES3_EC2IZNS1_23custom_word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSF_EEEEwEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNS0_6detail12format_specsERNSJ_17basic_string_viewIT0_NSJ_11char_traitsISW_EEEEEUlwE_S11_TnPNSJ_9enable_ifIXaaaasr6detailE11is_not_selfISL_S4_Entsr3stdE19is_member_pointer_vISW_E18is_invocable_usingIRSW_EEvE4typeELPv0EEEOSL_ Line | Count | Source | 742 | 22 | : m_fptr([](storage fn, | 743 | 22 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 22 | cvref<T> obj = *get<T>(fn); | 745 | 22 | if constexpr (std::is_void_v<R>) { | 746 | 22 | obj(static_cast<decltype(args)>(args)...); | 747 | 22 | } | 748 | 22 | else { | 749 | 22 | return obj(static_cast<decltype(args)>(args)...); | 750 | 22 | } | 751 | 22 | }), | 752 | 22 | m_storage(std::addressof(f)) | 753 | 22 | { | 754 | 22 | } |
_ZN3scn2v34impl12function_refIFbwES3_EC2IZNS1_23custom_word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEwEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_RKNS0_6detail12format_specsERNSH_17basic_string_viewIT0_NSH_11char_traitsISU_EEEEEUlwE_SZ_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vISU_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSJ_ Line | Count | Source | 742 | 36 | : m_fptr([](storage fn, | 743 | 36 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 36 | cvref<T> obj = *get<T>(fn); | 745 | 36 | if constexpr (std::is_void_v<R>) { | 746 | 36 | obj(static_cast<decltype(args)>(args)...); | 747 | 36 | } | 748 | 36 | else { | 749 | 36 | return obj(static_cast<decltype(args)>(args)...); | 750 | 36 | } | 751 | 36 | }), | 752 | 36 | m_storage(std::addressof(f)) | 753 | 36 | { | 754 | 36 | } |
Unexecuted instantiation: _ZN3scn2v34impl12function_refIFbDiES3_EC2IZNS1_24read_while_classic_spaceINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS7_18default_sentinel_tEEEEEDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESJ_EUlDiE_SO_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSQ_EEvE4typeELPv0EEEOSJ_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFbDiES3_EC2IZNS1_24read_until_classic_spaceINSt3__117basic_string_viewIwNS7_11char_traitsIwEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS7_9add_constIT_E4typeEEEEESE_EUlDiE_SJ_TnPNS7_9enable_ifIXaaaasr6detailE11is_not_selfISE_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSL_EEvE4typeELPv0EEEOSE_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFNS0_13scan_expectedIPKcEERNS1_12float_readerIcEENS0_6ranges6detail9subrange_8subrangeIS5_S5_EENS0_6detail10locale_refEESH_EC2IZNS1_21reader_impl_for_floatIcE12read_defaultISE_fEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESP_RT0_SG_EUlS9_DpOT_E_S10_TnPNSN_9enable_ifIXaaaasr6detailE11is_not_selfISP_SI_Entsr3stdE19is_member_pointer_vISV_E18is_invocable_usingISW_EEvE4typeELPv0EEEOSP_ _ZN3scn2v34impl12function_refIFNS0_13scan_expectedIPKcEERNS1_12float_readerIcEENS0_6ranges6detail9subrange_8subrangeIS5_S5_EENS0_6detail10locale_refEESH_EC2IZNS1_21reader_impl_for_floatIcE12read_defaultISE_dEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESP_RT0_SG_EUlS9_DpOT_E_S10_TnPNSN_9enable_ifIXaaaasr6detailE11is_not_selfISP_SI_Entsr3stdE19is_member_pointer_vISV_E18is_invocable_usingISW_EEvE4typeELPv0EEEOSP_ Line | Count | Source | 742 | 636 | : m_fptr([](storage fn, | 743 | 636 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 636 | cvref<T> obj = *get<T>(fn); | 745 | 636 | if constexpr (std::is_void_v<R>) { | 746 | 636 | obj(static_cast<decltype(args)>(args)...); | 747 | 636 | } | 748 | 636 | else { | 749 | 636 | return obj(static_cast<decltype(args)>(args)...); | 750 | 636 | } | 751 | 636 | }), | 752 | 636 | m_storage(std::addressof(f)) | 753 | 636 | { | 754 | 636 | } |
Unexecuted instantiation: _ZN3scn2v34impl12function_refIFNS0_13scan_expectedIPKcEERNS1_12float_readerIcEENS0_6ranges6detail9subrange_8subrangeIS5_S5_EENS0_6detail10locale_refEESH_EC2IZNS1_21reader_impl_for_floatIcE12read_defaultISE_eEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESP_RT0_SG_EUlS9_DpOT_E_S10_TnPNSN_9enable_ifIXaaaasr6detailE11is_not_selfISP_SI_Entsr3stdE19is_member_pointer_vISV_E18is_invocable_usingISW_EEvE4typeELPv0EEEOSP_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFNS0_13scan_expectedINS0_6detail17basic_scan_bufferIcE16forward_iteratorEEERNS1_12float_readerIcEENS0_6ranges6detail9subrange_8subrangeIS7_NSC_18default_sentinel_tEEENS4_10locale_refEESJ_EC2IZNS1_21reader_impl_for_floatIcE12read_defaultISH_fEENS3_IDTclL_ZNSC_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_RT0_SI_EUlSB_DpOT_E_S12_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_SK_Entsr3stdE19is_member_pointer_vISX_E18is_invocable_usingISY_EEvE4typeELPv0EEEOSR_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFNS0_13scan_expectedINS0_6detail17basic_scan_bufferIcE16forward_iteratorEEERNS1_12float_readerIcEENS0_6ranges6detail9subrange_8subrangeIS7_NSC_18default_sentinel_tEEENS4_10locale_refEESJ_EC2IZNS1_21reader_impl_for_floatIcE12read_defaultISH_dEENS3_IDTclL_ZNSC_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_RT0_SI_EUlSB_DpOT_E_S12_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_SK_Entsr3stdE19is_member_pointer_vISX_E18is_invocable_usingISY_EEvE4typeELPv0EEEOSR_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFNS0_13scan_expectedINS0_6detail17basic_scan_bufferIcE16forward_iteratorEEERNS1_12float_readerIcEENS0_6ranges6detail9subrange_8subrangeIS7_NSC_18default_sentinel_tEEENS4_10locale_refEESJ_EC2IZNS1_21reader_impl_for_floatIcE12read_defaultISH_eEENS3_IDTclL_ZNSC_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_RT0_SI_EUlSB_DpOT_E_S12_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_SK_Entsr3stdE19is_member_pointer_vISX_E18is_invocable_usingISY_EEvE4typeELPv0EEEOSR_ _ZN3scn2v34impl12function_refIFbcES3_EC2IRKZNS1_9skip_fillINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSD_EEEEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRT_EEEElEEEESJ_lRKNS0_6detail9fill_typeEbEUlcE_ST_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSW_EEvE4typeELPv0EEEOSJ_ Line | Count | Source | 742 | 424 | : m_fptr([](storage fn, | 743 | 424 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 424 | cvref<T> obj = *get<T>(fn); | 745 | 424 | if constexpr (std::is_void_v<R>) { | 746 | 424 | obj(static_cast<decltype(args)>(args)...); | 747 | 424 | } | 748 | 424 | else { | 749 | 424 | return obj(static_cast<decltype(args)>(args)...); | 750 | 424 | } | 751 | 424 | }), | 752 | 424 | m_storage(std::addressof(f)) | 753 | 424 | { | 754 | 424 | } |
_ZN3scn2v34impl12function_refIFbDiES3_EC2IZNS1_24read_while_classic_spaceINS1_15take_width_viewINS7_INS0_6ranges6detail9subrange_8subrangeIPKcSD_EEEEEEEEDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESJ_EUlDiE_SO_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSQ_EEvE4typeELPv0EEEOSJ_ Line | Count | Source | 742 | 1.89k | : m_fptr([](storage fn, | 743 | 1.89k | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 1.89k | cvref<T> obj = *get<T>(fn); | 745 | 1.89k | if constexpr (std::is_void_v<R>) { | 746 | 1.89k | obj(static_cast<decltype(args)>(args)...); | 747 | 1.89k | } | 748 | 1.89k | else { | 749 | 1.89k | return obj(static_cast<decltype(args)>(args)...); | 750 | 1.89k | } | 751 | 1.89k | }), | 752 | 1.89k | m_storage(std::addressof(f)) | 753 | 1.89k | { | 754 | 1.89k | } |
Unexecuted instantiation: _ZN3scn2v34impl12function_refIFNS0_13scan_expectedIPKwEERNS1_12float_readerIwEENS0_6ranges6detail9subrange_8subrangeIS5_S5_EENS0_6detail10locale_refEESH_EC2IZNS1_21reader_impl_for_floatIwE12read_defaultISE_fEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESP_RT0_SG_EUlS9_DpOT_E_S10_TnPNSN_9enable_ifIXaaaasr6detailE11is_not_selfISP_SI_Entsr3stdE19is_member_pointer_vISV_E18is_invocable_usingISW_EEvE4typeELPv0EEEOSP_ _ZN3scn2v34impl12function_refIFNS0_13scan_expectedIPKwEERNS1_12float_readerIwEENS0_6ranges6detail9subrange_8subrangeIS5_S5_EENS0_6detail10locale_refEESH_EC2IZNS1_21reader_impl_for_floatIwE12read_defaultISE_dEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESP_RT0_SG_EUlS9_DpOT_E_S10_TnPNSN_9enable_ifIXaaaasr6detailE11is_not_selfISP_SI_Entsr3stdE19is_member_pointer_vISV_E18is_invocable_usingISW_EEvE4typeELPv0EEEOSP_ Line | Count | Source | 742 | 474 | : m_fptr([](storage fn, | 743 | 474 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 474 | cvref<T> obj = *get<T>(fn); | 745 | 474 | if constexpr (std::is_void_v<R>) { | 746 | 474 | obj(static_cast<decltype(args)>(args)...); | 747 | 474 | } | 748 | 474 | else { | 749 | 474 | return obj(static_cast<decltype(args)>(args)...); | 750 | 474 | } | 751 | 474 | }), | 752 | 474 | m_storage(std::addressof(f)) | 753 | 474 | { | 754 | 474 | } |
Unexecuted instantiation: _ZN3scn2v34impl12function_refIFNS0_13scan_expectedIPKwEERNS1_12float_readerIwEENS0_6ranges6detail9subrange_8subrangeIS5_S5_EENS0_6detail10locale_refEESH_EC2IZNS1_21reader_impl_for_floatIwE12read_defaultISE_eEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESP_RT0_SG_EUlS9_DpOT_E_S10_TnPNSN_9enable_ifIXaaaasr6detailE11is_not_selfISP_SI_Entsr3stdE19is_member_pointer_vISV_E18is_invocable_usingISW_EEvE4typeELPv0EEEOSP_ _ZN3scn2v34impl12function_refIFbwES3_EC2IRKZNS1_9skip_fillINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSD_EEEEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRT_EEEElEEEESJ_lRKNS0_6detail9fill_typeEbEUlwE_ST_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSW_EEvE4typeELPv0EEEOSJ_ Line | Count | Source | 742 | 250 | : m_fptr([](storage fn, | 743 | 250 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 250 | cvref<T> obj = *get<T>(fn); | 745 | 250 | if constexpr (std::is_void_v<R>) { | 746 | 250 | obj(static_cast<decltype(args)>(args)...); | 747 | 250 | } | 748 | 250 | else { | 749 | 250 | return obj(static_cast<decltype(args)>(args)...); | 750 | 250 | } | 751 | 250 | }), | 752 | 250 | m_storage(std::addressof(f)) | 753 | 250 | { | 754 | 250 | } |
_ZN3scn2v34impl12function_refIFbDiES3_EC2IZNS1_24read_while_classic_spaceINS1_15take_width_viewINS7_INS0_6ranges6detail9subrange_8subrangeIPKwSD_EEEEEEEEDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESJ_EUlDiE_SO_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSQ_EEvE4typeELPv0EEEOSJ_ Line | Count | Source | 742 | 714 | : m_fptr([](storage fn, | 743 | 714 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 714 | cvref<T> obj = *get<T>(fn); | 745 | 714 | if constexpr (std::is_void_v<R>) { | 746 | 714 | obj(static_cast<decltype(args)>(args)...); | 747 | 714 | } | 748 | 714 | else { | 749 | 714 | return obj(static_cast<decltype(args)>(args)...); | 750 | 714 | } | 751 | 714 | }), | 752 | 714 | m_storage(std::addressof(f)) | 753 | 714 | { | 754 | 714 | } |
Unexecuted instantiation: _ZN3scn2v34impl12function_refIFNS0_13scan_expectedINS0_6detail17basic_scan_bufferIwE16forward_iteratorEEERNS1_12float_readerIwEENS0_6ranges6detail9subrange_8subrangeIS7_NSC_18default_sentinel_tEEENS4_10locale_refEESJ_EC2IZNS1_21reader_impl_for_floatIwE12read_defaultISH_fEENS3_IDTclL_ZNSC_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_RT0_SI_EUlSB_DpOT_E_S12_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_SK_Entsr3stdE19is_member_pointer_vISX_E18is_invocable_usingISY_EEvE4typeELPv0EEEOSR_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFNS0_13scan_expectedINS0_6detail17basic_scan_bufferIwE16forward_iteratorEEERNS1_12float_readerIwEENS0_6ranges6detail9subrange_8subrangeIS7_NSC_18default_sentinel_tEEENS4_10locale_refEESJ_EC2IZNS1_21reader_impl_for_floatIwE12read_defaultISH_dEENS3_IDTclL_ZNSC_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_RT0_SI_EUlSB_DpOT_E_S12_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_SK_Entsr3stdE19is_member_pointer_vISX_E18is_invocable_usingISY_EEvE4typeELPv0EEEOSR_ Unexecuted instantiation: _ZN3scn2v34impl12function_refIFNS0_13scan_expectedINS0_6detail17basic_scan_bufferIwE16forward_iteratorEEERNS1_12float_readerIwEENS0_6ranges6detail9subrange_8subrangeIS7_NSC_18default_sentinel_tEEENS4_10locale_refEESJ_EC2IZNS1_21reader_impl_for_floatIwE12read_defaultISH_eEENS3_IDTclL_ZNSC_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_RT0_SI_EUlSB_DpOT_E_S12_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_SK_Entsr3stdE19is_member_pointer_vISX_E18is_invocable_usingISY_EEvE4typeELPv0EEEOSR_ |
755 | | |
756 | | template <typename T, |
757 | | std::enable_if_t<detail::is_not_self<T, function_ref> && |
758 | | !std::is_pointer_v<T>>* = nullptr> |
759 | | function_ref& operator=(T) = delete; |
760 | | |
761 | | constexpr R operator()(Args... args) const noexcept(noex) |
762 | 1.07M | { |
763 | 1.07M | return m_fptr(m_storage, SCN_FWD(args)...); |
764 | 1.07M | } scn::v3::impl::function_ref<bool (char), bool (char)>::operator()(char) const Line | Count | Source | 762 | 23.8k | { | 763 | 23.8k | return m_fptr(m_storage, SCN_FWD(args)...); | 764 | 23.8k | } |
scn::v3::impl::function_ref<bool (char32_t), bool (char32_t)>::operator()(char32_t) const Line | Count | Source | 762 | 996k | { | 763 | 996k | return m_fptr(m_storage, SCN_FWD(args)...); | 764 | 996k | } |
scn::v3::impl::function_ref<void (char32_t), void (char32_t)>::operator()(char32_t) const Line | Count | Source | 762 | 46.3k | { | 763 | 46.3k | return m_fptr(m_storage, SCN_FWD(args)...); | 764 | 46.3k | } |
Unexecuted instantiation: scn::v3::impl::function_ref<scn::v3::scan_expected<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> > (scn::v3::impl::float_reader<char>&, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >, scn::v3::detail::locale_ref), scn::v3::scan_expected<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> > (scn::v3::impl::float_reader<char>&, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >, scn::v3::detail::locale_ref)>::operator()(scn::v3::impl::float_reader<char>&, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >, scn::v3::detail::locale_ref) const Unexecuted instantiation: scn::v3::impl::function_ref<scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<char>::forward_iterator> (scn::v3::impl::float_reader<char>&, scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::detail::locale_ref), scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<char>::forward_iterator> (scn::v3::impl::float_reader<char>&, scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::detail::locale_ref)>::operator()(scn::v3::impl::float_reader<char>&, scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::detail::locale_ref) const scn::v3::impl::function_ref<scn::v3::scan_expected<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> > (scn::v3::impl::float_reader<char>&, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> >, scn::v3::detail::locale_ref), scn::v3::scan_expected<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> > (scn::v3::impl::float_reader<char>&, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> >, scn::v3::detail::locale_ref)>::operator()(scn::v3::impl::float_reader<char>&, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> >, scn::v3::detail::locale_ref) const Line | Count | Source | 762 | 262 | { | 763 | 262 | return m_fptr(m_storage, SCN_FWD(args)...); | 764 | 262 | } |
scn::v3::impl::function_ref<scn::v3::scan_expected<char const*> (scn::v3::impl::float_reader<char>&, scn::v3::ranges::detail::subrange_::subrange<char const*, char const*>, scn::v3::detail::locale_ref), scn::v3::scan_expected<char const*> (scn::v3::impl::float_reader<char>&, scn::v3::ranges::detail::subrange_::subrange<char const*, char const*>, scn::v3::detail::locale_ref)>::operator()(scn::v3::impl::float_reader<char>&, scn::v3::ranges::detail::subrange_::subrange<char const*, char const*>, scn::v3::detail::locale_ref) const Line | Count | Source | 762 | 912 | { | 763 | 912 | return m_fptr(m_storage, SCN_FWD(args)...); | 764 | 912 | } |
scn::v3::impl::function_ref<bool (wchar_t), bool (wchar_t)>::operator()(wchar_t) const Line | Count | Source | 762 | 8.54k | { | 763 | 8.54k | return m_fptr(m_storage, SCN_FWD(args)...); | 764 | 8.54k | } |
Unexecuted instantiation: scn::v3::impl::function_ref<scn::v3::scan_expected<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> > (scn::v3::impl::float_reader<wchar_t>&, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >, scn::v3::detail::locale_ref), scn::v3::scan_expected<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> > (scn::v3::impl::float_reader<wchar_t>&, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >, scn::v3::detail::locale_ref)>::operator()(scn::v3::impl::float_reader<wchar_t>&, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >, scn::v3::detail::locale_ref) const Unexecuted instantiation: scn::v3::impl::function_ref<scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator> (scn::v3::impl::float_reader<wchar_t>&, scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::detail::locale_ref), scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator> (scn::v3::impl::float_reader<wchar_t>&, scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::detail::locale_ref)>::operator()(scn::v3::impl::float_reader<wchar_t>&, scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::detail::locale_ref) const scn::v3::impl::function_ref<scn::v3::scan_expected<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> > (scn::v3::impl::float_reader<wchar_t>&, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >, scn::v3::detail::locale_ref), scn::v3::scan_expected<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> > (scn::v3::impl::float_reader<wchar_t>&, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >, scn::v3::detail::locale_ref)>::operator()(scn::v3::impl::float_reader<wchar_t>&, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >, scn::v3::detail::locale_ref) const Line | Count | Source | 762 | 110 | { | 763 | 110 | return m_fptr(m_storage, SCN_FWD(args)...); | 764 | 110 | } |
scn::v3::impl::function_ref<scn::v3::scan_expected<wchar_t const*> (scn::v3::impl::float_reader<wchar_t>&, scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>, scn::v3::detail::locale_ref), scn::v3::scan_expected<wchar_t const*> (scn::v3::impl::float_reader<wchar_t>&, scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>, scn::v3::detail::locale_ref)>::operator()(scn::v3::impl::float_reader<wchar_t>&, scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>, scn::v3::detail::locale_ref) const Line | Count | Source | 762 | 796 | { | 763 | 796 | return m_fptr(m_storage, SCN_FWD(args)...); | 764 | 796 | } |
|
765 | | |
766 | | private: |
767 | | fwd_t* m_fptr{nullptr}; |
768 | | storage m_storage; |
769 | | }; |
770 | | |
771 | | template <typename F, std::enable_if_t<std::is_function_v<F>>* = nullptr> |
772 | | function_ref(F*) -> function_ref<F>; |
773 | | } // namespace impl |
774 | | |
775 | | ///////////////////////////////////////////////////////////////// |
776 | | // Internal error types |
777 | | ///////////////////////////////////////////////////////////////// |
778 | | |
779 | | namespace impl { |
780 | | enum class eof_error { good, eof }; |
781 | | |
782 | | inline constexpr bool operator!(eof_error e) |
783 | 45.2k | { |
784 | 45.2k | return e != eof_error::good; |
785 | 45.2k | } |
786 | | |
787 | | template <typename T> |
788 | | struct eof_expected : public expected<T, eof_error> { |
789 | | using base = expected<T, eof_error>; |
790 | | using base::base; |
791 | | |
792 | | constexpr eof_expected(const base& other) : base(other) {} |
793 | | constexpr eof_expected(base&& other) : base(SCN_MOVE(other)) {} |
794 | | }; |
795 | | |
796 | | inline constexpr auto make_eof_scan_error(eof_error err) |
797 | 174 | { |
798 | 174 | SCN_EXPECT(err == eof_error::eof); |
799 | 174 | return scan_error{scan_error::end_of_range, "EOF"}; |
800 | 174 | } |
801 | | |
802 | | struct SCN_TRIVIAL_ABI parse_error { |
803 | | enum code { good, eof, error }; |
804 | | using code_t = code; |
805 | | |
806 | | constexpr parse_error() = default; |
807 | 43.0k | constexpr parse_error(code c) : m_code(c) |
808 | 43.0k | { |
809 | 43.0k | SCN_UNLIKELY_ATTR SCN_UNUSED(m_code); |
810 | 43.0k | } |
811 | | |
812 | | constexpr explicit operator bool() const |
813 | 0 | { |
814 | 0 | return m_code == good; |
815 | 0 | } |
816 | | constexpr explicit operator code_t() const |
817 | 0 | { |
818 | 0 | return m_code; |
819 | 0 | } |
820 | | |
821 | | friend constexpr bool operator==(parse_error a, parse_error b) |
822 | 15.5k | { |
823 | 15.5k | return a.m_code == b.m_code; |
824 | 15.5k | } |
825 | | friend constexpr bool operator!=(parse_error a, parse_error b) |
826 | 0 | { |
827 | 0 | return !(a == b); |
828 | 0 | } |
829 | | |
830 | | private: |
831 | | code m_code{good}; |
832 | | }; |
833 | | |
834 | | template <typename T> |
835 | | struct parse_expected : public expected<T, parse_error> { |
836 | | using base = expected<T, parse_error>; |
837 | | using base::base; |
838 | | |
839 | | constexpr parse_expected(const base& other) : base(other) {} |
840 | | constexpr parse_expected(base&& other) : base(SCN_MOVE(other)) {} |
841 | | }; |
842 | | |
843 | | inline constexpr parse_error make_eof_parse_error(eof_error err) |
844 | 716 | { |
845 | 716 | SCN_EXPECT(err == eof_error::eof); |
846 | 716 | return parse_error::eof; |
847 | 716 | } |
848 | | |
849 | | inline constexpr scan_error make_scan_error_from_parse_error( |
850 | | parse_error err, |
851 | | enum scan_error::code code, |
852 | | const char* msg) |
853 | 3.58k | { |
854 | 3.58k | if (err == parse_error::good) { |
855 | 0 | return {}; |
856 | 0 | } |
857 | | |
858 | 3.58k | if (err == parse_error::eof) { |
859 | 78 | return scan_error{scan_error::end_of_range, "EOF"}; |
860 | 78 | } |
861 | | |
862 | 3.50k | return scan_error{code, msg}; |
863 | 3.58k | } |
864 | | |
865 | | inline constexpr auto map_parse_error_to_scan_error(enum scan_error::code code, |
866 | | const char* msg) |
867 | 3.58k | { |
868 | 3.58k | return [code, msg](parse_error err) { |
869 | 3.58k | return make_scan_error_from_parse_error(err, code, msg); |
870 | 3.58k | }; |
871 | 3.58k | } |
872 | | } // namespace impl |
873 | | |
874 | | namespace detail { |
875 | | template <typename T> |
876 | | struct is_expected_impl<scn::impl::parse_expected<T>> : std::true_type {}; |
877 | | } // namespace detail |
878 | | |
879 | | ///////////////////////////////////////////////////////////////// |
880 | | // Range reading support |
881 | | ///////////////////////////////////////////////////////////////// |
882 | | |
883 | | namespace impl { |
884 | | #if SCN_MSVC_DEBUG_ITERATORS |
885 | | #define SCN_NEED_MS_DEBUG_ITERATOR_WORKAROUND 1 |
886 | | #else |
887 | | #define SCN_NEED_MS_DEBUG_ITERATOR_WORKAROUND 0 |
888 | | #endif |
889 | | |
890 | | template <typename T> |
891 | | constexpr bool range_supports_nocopy() noexcept |
892 | | { |
893 | | #if SCN_NEED_MS_DEBUG_ITERATOR_WORKAROUND |
894 | | return ranges::contiguous_range<T> || |
895 | | (ranges::random_access_range<T> && |
896 | | detail::can_make_address_from_iterator<ranges::iterator_t<T>>); |
897 | | #else |
898 | | return ranges::contiguous_range<T>; |
899 | | #endif |
900 | | } |
901 | | |
902 | | template <typename R> |
903 | | constexpr auto range_nocopy_data(const R& r) noexcept |
904 | | { |
905 | | static_assert(range_supports_nocopy<R>()); |
906 | | #if SCN_NEED_MS_DEBUG_ITERATOR_WORKAROUND |
907 | | return detail::to_address(ranges::begin(r)); |
908 | | #else |
909 | | return ranges::data(r); |
910 | | #endif |
911 | | } |
912 | | |
913 | | template <typename R> |
914 | | constexpr auto range_nocopy_size(const R& r) noexcept |
915 | | { |
916 | | static_assert(range_supports_nocopy<R>()); |
917 | | #if SCN_NEED_MS_DEBUG_ITERATOR_WORKAROUND |
918 | | return static_cast<size_t>(ranges::distance(detail::to_address(r.begin()), |
919 | | detail::to_address(r.end()))); |
920 | | #else |
921 | | return r.size(); |
922 | | #endif |
923 | | } |
924 | | |
925 | | template <typename I, typename S> |
926 | | SCN_NODISCARD constexpr bool is_range_eof(I begin, S end) |
927 | 363M | { |
928 | | #if SCN_NEED_MS_DEBUG_ITERATOR_WORKAROUND |
929 | | if constexpr (ranges::contiguous_iterator<I> || |
930 | | (ranges::random_access_iterator<I> && |
931 | | detail::can_make_address_from_iterator<I>)) { |
932 | | return detail::to_address(begin) == detail::to_address(end); |
933 | | } |
934 | | else |
935 | | #endif |
936 | 363M | { |
937 | 363M | return begin == end; |
938 | 363M | } |
939 | 363M | } Unexecuted instantiation: bool scn::v3::impl::is_range_eof<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> >, scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> > >::sentinel<true> >(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> >, scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> > >::sentinel<true>) Unexecuted instantiation: bool scn::v3::impl::is_range_eof<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> >(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true>) Unexecuted instantiation: bool scn::v3::impl::is_range_eof<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>(scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t) Unexecuted instantiation: bool scn::v3::impl::is_range_eof<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> >, scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > > >::sentinel<true> >(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> >, scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > > >::sentinel<true>) Unexecuted instantiation: bool scn::v3::impl::is_range_eof<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> >(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true>) bool scn::v3::impl::is_range_eof<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> >(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true>) Line | Count | Source | 927 | 22.8k | { | 928 | | #if SCN_NEED_MS_DEBUG_ITERATOR_WORKAROUND | 929 | | if constexpr (ranges::contiguous_iterator<I> || | 930 | | (ranges::random_access_iterator<I> && | 931 | | detail::can_make_address_from_iterator<I>)) { | 932 | | return detail::to_address(begin) == detail::to_address(end); | 933 | | } | 934 | | else | 935 | | #endif | 936 | 22.8k | { | 937 | 22.8k | return begin == end; | 938 | 22.8k | } | 939 | 22.8k | } |
bool scn::v3::impl::is_range_eof<char const*, char const*>(char const*, char const*) Line | Count | Source | 927 | 336k | { | 928 | | #if SCN_NEED_MS_DEBUG_ITERATOR_WORKAROUND | 929 | | if constexpr (ranges::contiguous_iterator<I> || | 930 | | (ranges::random_access_iterator<I> && | 931 | | detail::can_make_address_from_iterator<I>)) { | 932 | | return detail::to_address(begin) == detail::to_address(end); | 933 | | } | 934 | | else | 935 | | #endif | 936 | 336k | { | 937 | 336k | return begin == end; | 938 | 336k | } | 939 | 336k | } |
Unexecuted instantiation: bool scn::v3::impl::is_range_eof<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> >, scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> > >::sentinel<true> >(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> >, scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> > >::sentinel<true>) Unexecuted instantiation: bool scn::v3::impl::is_range_eof<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> >(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true>) Unexecuted instantiation: bool scn::v3::impl::is_range_eof<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>(scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t) Unexecuted instantiation: bool scn::v3::impl::is_range_eof<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> >, scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > > >::sentinel<true> >(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> >, scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > > >::sentinel<true>) Unexecuted instantiation: bool scn::v3::impl::is_range_eof<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> >(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true>) bool scn::v3::impl::is_range_eof<wchar_t const*, wchar_t const*>(wchar_t const*, wchar_t const*) Line | Count | Source | 927 | 362M | { | 928 | | #if SCN_NEED_MS_DEBUG_ITERATOR_WORKAROUND | 929 | | if constexpr (ranges::contiguous_iterator<I> || | 930 | | (ranges::random_access_iterator<I> && | 931 | | detail::can_make_address_from_iterator<I>)) { | 932 | | return detail::to_address(begin) == detail::to_address(end); | 933 | | } | 934 | | else | 935 | | #endif | 936 | 362M | { | 937 | 362M | return begin == end; | 938 | 362M | } | 939 | 362M | } |
bool scn::v3::impl::is_range_eof<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> >(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true>) Line | Count | Source | 927 | 8.86k | { | 928 | | #if SCN_NEED_MS_DEBUG_ITERATOR_WORKAROUND | 929 | | if constexpr (ranges::contiguous_iterator<I> || | 930 | | (ranges::random_access_iterator<I> && | 931 | | detail::can_make_address_from_iterator<I>)) { | 932 | | return detail::to_address(begin) == detail::to_address(end); | 933 | | } | 934 | | else | 935 | | #endif | 936 | 8.86k | { | 937 | 8.86k | return begin == end; | 938 | 8.86k | } | 939 | 8.86k | } |
bool scn::v3::impl::is_range_eof<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> >, scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> > >::sentinel<true> >(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> >, scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> > >::sentinel<true>) Line | Count | Source | 927 | 4.85k | { | 928 | | #if SCN_NEED_MS_DEBUG_ITERATOR_WORKAROUND | 929 | | if constexpr (ranges::contiguous_iterator<I> || | 930 | | (ranges::random_access_iterator<I> && | 931 | | detail::can_make_address_from_iterator<I>)) { | 932 | | return detail::to_address(begin) == detail::to_address(end); | 933 | | } | 934 | | else | 935 | | #endif | 936 | 4.85k | { | 937 | 4.85k | return begin == end; | 938 | 4.85k | } | 939 | 4.85k | } |
bool scn::v3::impl::is_range_eof<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> >, scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> > >::sentinel<true> >(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> >, scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> > >::sentinel<true>) Line | Count | Source | 927 | 1.42k | { | 928 | | #if SCN_NEED_MS_DEBUG_ITERATOR_WORKAROUND | 929 | | if constexpr (ranges::contiguous_iterator<I> || | 930 | | (ranges::random_access_iterator<I> && | 931 | | detail::can_make_address_from_iterator<I>)) { | 932 | | return detail::to_address(begin) == detail::to_address(end); | 933 | | } | 934 | | else | 935 | | #endif | 936 | 1.42k | { | 937 | 1.42k | return begin == end; | 938 | 1.42k | } | 939 | 1.42k | } |
|
940 | | |
941 | | template <typename Range> |
942 | | SCN_NODISCARD constexpr bool is_range_eof(Range r) |
943 | 569k | { |
944 | 569k | return is_range_eof(r.begin(), r.end()); |
945 | 569k | } Unexecuted instantiation: bool scn::v3::impl::is_range_eof<scn::v3::ranges::detail::subrange_::subrange<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> >, scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> > >::sentinel<true> > >(scn::v3::ranges::detail::subrange_::subrange<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> >, scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> > >::sentinel<true> >) Unexecuted instantiation: bool scn::v3::impl::is_range_eof<scn::v3::ranges::detail::subrange_::subrange<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> > >(scn::v3::ranges::detail::subrange_::subrange<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> >) Unexecuted instantiation: bool scn::v3::impl::is_range_eof<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> > >(scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >) Unexecuted instantiation: bool scn::v3::impl::is_range_eof<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >(scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>) Unexecuted instantiation: bool scn::v3::impl::is_range_eof<scn::v3::ranges::detail::subrange_::subrange<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> >, scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > > >::sentinel<true> > >(scn::v3::ranges::detail::subrange_::subrange<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> >, scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > > >::sentinel<true> >) Unexecuted instantiation: bool scn::v3::impl::is_range_eof<scn::v3::ranges::detail::subrange_::subrange<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> > >(scn::v3::ranges::detail::subrange_::subrange<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> >) bool scn::v3::impl::is_range_eof<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> > >(scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> >) Line | Count | Source | 943 | 1.84k | { | 944 | 1.84k | return is_range_eof(r.begin(), r.end()); | 945 | 1.84k | } |
bool scn::v3::impl::is_range_eof<scn::v3::ranges::detail::subrange_::subrange<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> > >(scn::v3::ranges::detail::subrange_::subrange<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> >) Line | Count | Source | 943 | 20.9k | { | 944 | 20.9k | return is_range_eof(r.begin(), r.end()); | 945 | 20.9k | } |
bool scn::v3::impl::is_range_eof<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> >(scn::v3::ranges::detail::subrange_::subrange<char const*, char const*>) Line | Count | Source | 943 | 297k | { | 944 | 297k | return is_range_eof(r.begin(), r.end()); | 945 | 297k | } |
Unexecuted instantiation: bool scn::v3::impl::is_range_eof<scn::v3::ranges::detail::subrange_::subrange<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> >, scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> > >::sentinel<true> > >(scn::v3::ranges::detail::subrange_::subrange<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> >, scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> > >::sentinel<true> >) Unexecuted instantiation: bool scn::v3::impl::is_range_eof<scn::v3::ranges::detail::subrange_::subrange<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> > >(scn::v3::ranges::detail::subrange_::subrange<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> >) Unexecuted instantiation: bool scn::v3::impl::is_range_eof<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> > >(scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >) Unexecuted instantiation: bool scn::v3::impl::is_range_eof<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >(scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>) Unexecuted instantiation: bool scn::v3::impl::is_range_eof<scn::v3::ranges::detail::subrange_::subrange<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> >, scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > > >::sentinel<true> > >(scn::v3::ranges::detail::subrange_::subrange<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> >, scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > > >::sentinel<true> >) Unexecuted instantiation: bool scn::v3::impl::is_range_eof<scn::v3::ranges::detail::subrange_::subrange<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> > >(scn::v3::ranges::detail::subrange_::subrange<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> >) bool scn::v3::impl::is_range_eof<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >(scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>) Line | Count | Source | 943 | 233k | { | 944 | 233k | return is_range_eof(r.begin(), r.end()); | 945 | 233k | } |
bool scn::v3::impl::is_range_eof<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> > >(scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >) Line | Count | Source | 943 | 812 | { | 944 | 812 | return is_range_eof(r.begin(), r.end()); | 945 | 812 | } |
bool scn::v3::impl::is_range_eof<scn::v3::ranges::detail::subrange_::subrange<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> > >(scn::v3::ranges::detail::subrange_::subrange<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> >) Line | Count | Source | 943 | 8.04k | { | 944 | 8.04k | return is_range_eof(r.begin(), r.end()); | 945 | 8.04k | } |
Unexecuted instantiation: bool scn::v3::impl::is_range_eof<std::__1::basic_string_view<char, std::__1::char_traits<char> > >(std::__1::basic_string_view<char, std::__1::char_traits<char> >) bool scn::v3::impl::is_range_eof<scn::v3::ranges::detail::subrange_::subrange<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> >, scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> > >::sentinel<true> > >(scn::v3::ranges::detail::subrange_::subrange<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> >, scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> > >::sentinel<true> >) Line | Count | Source | 943 | 4.85k | { | 944 | 4.85k | return is_range_eof(r.begin(), r.end()); | 945 | 4.85k | } |
bool scn::v3::impl::is_range_eof<scn::v3::ranges::detail::subrange_::subrange<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> >, scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> > >::sentinel<true> > >(scn::v3::ranges::detail::subrange_::subrange<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> >, scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> > >::sentinel<true> >) Line | Count | Source | 943 | 1.42k | { | 944 | 1.42k | return is_range_eof(r.begin(), r.end()); | 945 | 1.42k | } |
Unexecuted instantiation: bool scn::v3::impl::is_range_eof<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >(std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> >) |
946 | | |
947 | | template <typename Range> |
948 | | SCN_NODISCARD constexpr eof_error eof_check(Range range) |
949 | 45.2k | { |
950 | 45.2k | if (SCN_UNLIKELY(is_range_eof(range))) { |
951 | 174 | return eof_error::eof; |
952 | 174 | } |
953 | 45.0k | return eof_error::good; |
954 | 45.2k | } Unexecuted instantiation: scn::v3::impl::eof_error scn::v3::impl::eof_check<scn::v3::ranges::detail::subrange_::subrange<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> >, scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> > >::sentinel<true> > >(scn::v3::ranges::detail::subrange_::subrange<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> >, scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> > >::sentinel<true> >) Unexecuted instantiation: scn::v3::impl::eof_error scn::v3::impl::eof_check<scn::v3::ranges::detail::subrange_::subrange<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> > >(scn::v3::ranges::detail::subrange_::subrange<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> >) Unexecuted instantiation: scn::v3::impl::eof_error scn::v3::impl::eof_check<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> > >(scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >) Unexecuted instantiation: scn::v3::impl::eof_error scn::v3::impl::eof_check<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >(scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>) Unexecuted instantiation: scn::v3::impl::eof_error scn::v3::impl::eof_check<scn::v3::ranges::detail::subrange_::subrange<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> >, scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > > >::sentinel<true> > >(scn::v3::ranges::detail::subrange_::subrange<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> >, scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > > >::sentinel<true> >) Unexecuted instantiation: scn::v3::impl::eof_error scn::v3::impl::eof_check<scn::v3::ranges::detail::subrange_::subrange<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> > >(scn::v3::ranges::detail::subrange_::subrange<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> >) scn::v3::impl::eof_error scn::v3::impl::eof_check<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> > >(scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> >) Line | Count | Source | 949 | 1.84k | { | 950 | 1.84k | if (SCN_UNLIKELY(is_range_eof(range))) { | 951 | 0 | return eof_error::eof; | 952 | 0 | } | 953 | 1.84k | return eof_error::good; | 954 | 1.84k | } |
scn::v3::impl::eof_error scn::v3::impl::eof_check<scn::v3::ranges::detail::subrange_::subrange<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> > >(scn::v3::ranges::detail::subrange_::subrange<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> >) Line | Count | Source | 949 | 34 | { | 950 | 34 | if (SCN_UNLIKELY(is_range_eof(range))) { | 951 | 0 | return eof_error::eof; | 952 | 0 | } | 953 | 34 | return eof_error::good; | 954 | 34 | } |
scn::v3::impl::eof_error scn::v3::impl::eof_check<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> >(scn::v3::ranges::detail::subrange_::subrange<char const*, char const*>) Line | Count | Source | 949 | 21.5k | { | 950 | 21.5k | if (SCN_UNLIKELY(is_range_eof(range))) { | 951 | 0 | return eof_error::eof; | 952 | 0 | } | 953 | 21.5k | return eof_error::good; | 954 | 21.5k | } |
Unexecuted instantiation: scn::v3::impl::eof_error scn::v3::impl::eof_check<scn::v3::ranges::detail::subrange_::subrange<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> >, scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> > >::sentinel<true> > >(scn::v3::ranges::detail::subrange_::subrange<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> >, scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> > >::sentinel<true> >) Unexecuted instantiation: scn::v3::impl::eof_error scn::v3::impl::eof_check<scn::v3::ranges::detail::subrange_::subrange<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> > >(scn::v3::ranges::detail::subrange_::subrange<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> >) Unexecuted instantiation: scn::v3::impl::eof_error scn::v3::impl::eof_check<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> > >(scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >) Unexecuted instantiation: scn::v3::impl::eof_error scn::v3::impl::eof_check<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >(scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>) Unexecuted instantiation: scn::v3::impl::eof_error scn::v3::impl::eof_check<scn::v3::ranges::detail::subrange_::subrange<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> >, scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > > >::sentinel<true> > >(scn::v3::ranges::detail::subrange_::subrange<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> >, scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > > >::sentinel<true> >) Unexecuted instantiation: scn::v3::impl::eof_error scn::v3::impl::eof_check<scn::v3::ranges::detail::subrange_::subrange<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> > >(scn::v3::ranges::detail::subrange_::subrange<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> >) scn::v3::impl::eof_error scn::v3::impl::eof_check<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >(scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>) Line | Count | Source | 949 | 18.3k | { | 950 | 18.3k | if (SCN_UNLIKELY(is_range_eof(range))) { | 951 | 0 | return eof_error::eof; | 952 | 0 | } | 953 | 18.3k | return eof_error::good; | 954 | 18.3k | } |
scn::v3::impl::eof_error scn::v3::impl::eof_check<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> > >(scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >) Line | Count | Source | 949 | 812 | { | 950 | 812 | if (SCN_UNLIKELY(is_range_eof(range))) { | 951 | 0 | return eof_error::eof; | 952 | 0 | } | 953 | 812 | return eof_error::good; | 954 | 812 | } |
scn::v3::impl::eof_error scn::v3::impl::eof_check<scn::v3::ranges::detail::subrange_::subrange<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> > >(scn::v3::ranges::detail::subrange_::subrange<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> >) Line | Count | Source | 949 | 38 | { | 950 | 38 | if (SCN_UNLIKELY(is_range_eof(range))) { | 951 | 0 | return eof_error::eof; | 952 | 0 | } | 953 | 38 | return eof_error::good; | 954 | 38 | } |
Unexecuted instantiation: scn::v3::impl::eof_error scn::v3::impl::eof_check<std::__1::basic_string_view<char, std::__1::char_traits<char> > >(std::__1::basic_string_view<char, std::__1::char_traits<char> >) scn::v3::impl::eof_error scn::v3::impl::eof_check<scn::v3::ranges::detail::subrange_::subrange<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> >, scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> > >::sentinel<true> > >(scn::v3::ranges::detail::subrange_::subrange<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> >, scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> > >::sentinel<true> >) Line | Count | Source | 949 | 1.89k | { | 950 | 1.89k | if (SCN_UNLIKELY(is_range_eof(range))) { | 951 | 174 | return eof_error::eof; | 952 | 174 | } | 953 | 1.71k | return eof_error::good; | 954 | 1.89k | } |
scn::v3::impl::eof_error scn::v3::impl::eof_check<scn::v3::ranges::detail::subrange_::subrange<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> >, scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> > >::sentinel<true> > >(scn::v3::ranges::detail::subrange_::subrange<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> >, scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> > >::sentinel<true> >) Line | Count | Source | 949 | 714 | { | 950 | 714 | if (SCN_UNLIKELY(is_range_eof(range))) { | 951 | 0 | return eof_error::eof; | 952 | 0 | } | 953 | 714 | return eof_error::good; | 954 | 714 | } |
Unexecuted instantiation: scn::v3::impl::eof_error scn::v3::impl::eof_check<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >(std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> >) |
955 | | |
956 | | template <typename Range> |
957 | | bool is_entire_source_contiguous(Range r) |
958 | 15.3k | { |
959 | | if constexpr (ranges::contiguous_range<Range> && |
960 | 15.1k | ranges::sized_range<Range>) { |
961 | 15.1k | return true; |
962 | | } |
963 | | else if constexpr (std::is_same_v< |
964 | | ranges::const_iterator_t<Range>, |
965 | | typename detail::basic_scan_buffer< |
966 | 0 | detail::char_t<Range>>::forward_iterator>) { |
967 | 0 | auto beg = r.begin(); |
968 | 0 | if (!beg.stores_parent()) { |
969 | 0 | return true; |
970 | 0 | } |
971 | 0 | return beg.parent()->is_contiguous(); |
972 | | } |
973 | 180 | else { |
974 | 180 | return false; |
975 | 180 | } |
976 | 15.3k | } Unexecuted instantiation: bool scn::v3::impl::is_entire_source_contiguous<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> > >(scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >) Unexecuted instantiation: bool scn::v3::impl::is_entire_source_contiguous<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >(scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>) bool scn::v3::impl::is_entire_source_contiguous<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> > >(scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> >) Line | Count | Source | 958 | 168 | { | 959 | | if constexpr (ranges::contiguous_range<Range> && | 960 | | ranges::sized_range<Range>) { | 961 | | return true; | 962 | | } | 963 | | else if constexpr (std::is_same_v< | 964 | | ranges::const_iterator_t<Range>, | 965 | | typename detail::basic_scan_buffer< | 966 | | detail::char_t<Range>>::forward_iterator>) { | 967 | | auto beg = r.begin(); | 968 | | if (!beg.stores_parent()) { | 969 | | return true; | 970 | | } | 971 | | return beg.parent()->is_contiguous(); | 972 | | } | 973 | 168 | else { | 974 | 168 | return false; | 975 | 168 | } | 976 | 168 | } |
bool scn::v3::impl::is_entire_source_contiguous<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> >(scn::v3::ranges::detail::subrange_::subrange<char const*, char const*>) Line | Count | Source | 958 | 9.52k | { | 959 | | if constexpr (ranges::contiguous_range<Range> && | 960 | 9.52k | ranges::sized_range<Range>) { | 961 | 9.52k | return true; | 962 | | } | 963 | | else if constexpr (std::is_same_v< | 964 | | ranges::const_iterator_t<Range>, | 965 | | typename detail::basic_scan_buffer< | 966 | | detail::char_t<Range>>::forward_iterator>) { | 967 | | auto beg = r.begin(); | 968 | | if (!beg.stores_parent()) { | 969 | | return true; | 970 | | } | 971 | | return beg.parent()->is_contiguous(); | 972 | | } | 973 | | else { | 974 | | return false; | 975 | | } | 976 | 9.52k | } |
Unexecuted instantiation: bool scn::v3::impl::is_entire_source_contiguous<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> > >(scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >) Unexecuted instantiation: bool scn::v3::impl::is_entire_source_contiguous<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >(scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>) bool scn::v3::impl::is_entire_source_contiguous<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> > >(scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >) Line | Count | Source | 958 | 12 | { | 959 | | if constexpr (ranges::contiguous_range<Range> && | 960 | | ranges::sized_range<Range>) { | 961 | | return true; | 962 | | } | 963 | | else if constexpr (std::is_same_v< | 964 | | ranges::const_iterator_t<Range>, | 965 | | typename detail::basic_scan_buffer< | 966 | | detail::char_t<Range>>::forward_iterator>) { | 967 | | auto beg = r.begin(); | 968 | | if (!beg.stores_parent()) { | 969 | | return true; | 970 | | } | 971 | | return beg.parent()->is_contiguous(); | 972 | | } | 973 | 12 | else { | 974 | 12 | return false; | 975 | 12 | } | 976 | 12 | } |
bool scn::v3::impl::is_entire_source_contiguous<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >(scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>) Line | Count | Source | 958 | 5.66k | { | 959 | | if constexpr (ranges::contiguous_range<Range> && | 960 | 5.66k | ranges::sized_range<Range>) { | 961 | 5.66k | return true; | 962 | | } | 963 | | else if constexpr (std::is_same_v< | 964 | | ranges::const_iterator_t<Range>, | 965 | | typename detail::basic_scan_buffer< | 966 | | detail::char_t<Range>>::forward_iterator>) { | 967 | | auto beg = r.begin(); | 968 | | if (!beg.stores_parent()) { | 969 | | return true; | 970 | | } | 971 | | return beg.parent()->is_contiguous(); | 972 | | } | 973 | | else { | 974 | | return false; | 975 | | } | 976 | 5.66k | } |
|
977 | | |
978 | | template <typename Range> |
979 | | bool is_segment_contiguous(Range r) |
980 | 15.1k | { |
981 | | if constexpr (ranges::contiguous_range<Range> && |
982 | 15.1k | ranges::sized_range<Range>) { |
983 | 15.1k | return true; |
984 | | } |
985 | | else if constexpr (std::is_same_v< |
986 | | ranges::const_iterator_t<Range>, |
987 | | typename detail::basic_scan_buffer< |
988 | 0 | detail::char_t<Range>>::forward_iterator>) { |
989 | 0 | auto beg = r.begin(); |
990 | 0 | if (beg.contiguous_segment().empty()) { |
991 | 0 | return false; |
992 | 0 | } |
993 | | if constexpr (ranges::common_range<Range>) { |
994 | | return beg.contiguous_segment().end() == |
995 | | ranges::end(r).contiguous_segment().end(); |
996 | | } |
997 | 0 | else { |
998 | 0 | if (beg.stores_parent()) { |
999 | 0 | return beg.contiguous_segment().end() == |
1000 | 0 | beg.parent()->current_view().end(); |
1001 | 0 | } |
1002 | 0 | return true; |
1003 | 0 | } |
1004 | | } |
1005 | 0 | else { |
1006 | 0 | return false; |
1007 | 0 | } |
1008 | 15.1k | } Unexecuted instantiation: bool scn::v3::impl::is_segment_contiguous<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >(scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>) Unexecuted instantiation: bool scn::v3::impl::is_segment_contiguous<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> > >(scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >) Unexecuted instantiation: bool scn::v3::impl::is_segment_contiguous<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> > >(scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> >) bool scn::v3::impl::is_segment_contiguous<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> >(scn::v3::ranges::detail::subrange_::subrange<char const*, char const*>) Line | Count | Source | 980 | 9.52k | { | 981 | | if constexpr (ranges::contiguous_range<Range> && | 982 | 9.52k | ranges::sized_range<Range>) { | 983 | 9.52k | return true; | 984 | | } | 985 | | else if constexpr (std::is_same_v< | 986 | | ranges::const_iterator_t<Range>, | 987 | | typename detail::basic_scan_buffer< | 988 | | detail::char_t<Range>>::forward_iterator>) { | 989 | | auto beg = r.begin(); | 990 | | if (beg.contiguous_segment().empty()) { | 991 | | return false; | 992 | | } | 993 | | if constexpr (ranges::common_range<Range>) { | 994 | | return beg.contiguous_segment().end() == | 995 | | ranges::end(r).contiguous_segment().end(); | 996 | | } | 997 | | else { | 998 | | if (beg.stores_parent()) { | 999 | | return beg.contiguous_segment().end() == | 1000 | | beg.parent()->current_view().end(); | 1001 | | } | 1002 | | return true; | 1003 | | } | 1004 | | } | 1005 | | else { | 1006 | | return false; | 1007 | | } | 1008 | 9.52k | } |
Unexecuted instantiation: bool scn::v3::impl::is_segment_contiguous<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >(scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>) Unexecuted instantiation: bool scn::v3::impl::is_segment_contiguous<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> > >(scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >) Unexecuted instantiation: bool scn::v3::impl::is_segment_contiguous<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> > >(scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >) bool scn::v3::impl::is_segment_contiguous<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >(scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>) Line | Count | Source | 980 | 5.66k | { | 981 | | if constexpr (ranges::contiguous_range<Range> && | 982 | 5.66k | ranges::sized_range<Range>) { | 983 | 5.66k | return true; | 984 | | } | 985 | | else if constexpr (std::is_same_v< | 986 | | ranges::const_iterator_t<Range>, | 987 | | typename detail::basic_scan_buffer< | 988 | | detail::char_t<Range>>::forward_iterator>) { | 989 | | auto beg = r.begin(); | 990 | | if (beg.contiguous_segment().empty()) { | 991 | | return false; | 992 | | } | 993 | | if constexpr (ranges::common_range<Range>) { | 994 | | return beg.contiguous_segment().end() == | 995 | | ranges::end(r).contiguous_segment().end(); | 996 | | } | 997 | | else { | 998 | | if (beg.stores_parent()) { | 999 | | return beg.contiguous_segment().end() == | 1000 | | beg.parent()->current_view().end(); | 1001 | | } | 1002 | | return true; | 1003 | | } | 1004 | | } | 1005 | | else { | 1006 | | return false; | 1007 | | } | 1008 | 5.66k | } |
|
1009 | | |
1010 | | template <typename Range> |
1011 | | std::size_t contiguous_beginning_size(Range r) |
1012 | | { |
1013 | | if constexpr (ranges::contiguous_range<Range> && |
1014 | | ranges::sized_range<Range>) { |
1015 | | return r.size(); |
1016 | | } |
1017 | | else if constexpr (std::is_same_v< |
1018 | | ranges::const_iterator_t<Range>, |
1019 | | typename detail::basic_scan_buffer< |
1020 | | detail::char_t<Range>>::forward_iterator>) { |
1021 | | if constexpr (ranges::common_range<Range>) { |
1022 | | auto seg = r.begin().contiguous_segment(); |
1023 | | auto dist = |
1024 | | static_cast<size_t>(ranges::distance(r.begin(), r.end())); |
1025 | | return std::min(seg.size(), dist); |
1026 | | } |
1027 | | else { |
1028 | | return r.begin().contiguous_segment().size(); |
1029 | | } |
1030 | | } |
1031 | | else { |
1032 | | return false; |
1033 | | } |
1034 | | } |
1035 | | |
1036 | | template <typename Range> |
1037 | | auto get_contiguous_beginning(Range r) |
1038 | 3.07k | { |
1039 | | if constexpr (ranges::contiguous_range<Range> && |
1040 | | ranges::sized_range<Range>) { |
1041 | | return r; |
1042 | | } |
1043 | | else if constexpr (std::is_same_v< |
1044 | | ranges::const_iterator_t<Range>, |
1045 | | typename detail::basic_scan_buffer< |
1046 | 0 | detail::char_t<Range>>::forward_iterator>) { |
1047 | | if constexpr (ranges::common_range<Range>) { |
1048 | | auto seg = r.begin().contiguous_segment(); |
1049 | | auto dist = |
1050 | | static_cast<size_t>(ranges::distance(r.begin(), r.end())); |
1051 | | return seg.substr(0, std::min(seg.size(), dist)); |
1052 | | } |
1053 | 0 | else { |
1054 | 0 | return r.begin().contiguous_segment(); |
1055 | 0 | } |
1056 | | } |
1057 | 3.07k | else { |
1058 | 3.07k | return std::basic_string_view<detail::char_t<Range>>{}; |
1059 | 3.07k | } |
1060 | 3.07k | } Unexecuted instantiation: auto scn::v3::impl::get_contiguous_beginning<scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> > > >(scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> > >) Unexecuted instantiation: auto scn::v3::impl::get_contiguous_beginning<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> > >(scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >) Unexecuted instantiation: auto scn::v3::impl::get_contiguous_beginning<scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > > > >(scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > > >) Unexecuted instantiation: auto scn::v3::impl::get_contiguous_beginning<scn::v3::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > > >(scn::v3::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >) auto scn::v3::impl::get_contiguous_beginning<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> > >(scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> >) Line | Count | Source | 1038 | 1.18k | { | 1039 | | if constexpr (ranges::contiguous_range<Range> && | 1040 | | ranges::sized_range<Range>) { | 1041 | | return r; | 1042 | | } | 1043 | | else if constexpr (std::is_same_v< | 1044 | | ranges::const_iterator_t<Range>, | 1045 | | typename detail::basic_scan_buffer< | 1046 | | detail::char_t<Range>>::forward_iterator>) { | 1047 | | if constexpr (ranges::common_range<Range>) { | 1048 | | auto seg = r.begin().contiguous_segment(); | 1049 | | auto dist = | 1050 | | static_cast<size_t>(ranges::distance(r.begin(), r.end())); | 1051 | | return seg.substr(0, std::min(seg.size(), dist)); | 1052 | | } | 1053 | | else { | 1054 | | return r.begin().contiguous_segment(); | 1055 | | } | 1056 | | } | 1057 | 1.18k | else { | 1058 | 1.18k | return std::basic_string_view<detail::char_t<Range>>{}; | 1059 | 1.18k | } | 1060 | 1.18k | } |
Unexecuted instantiation: auto scn::v3::impl::get_contiguous_beginning<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >(scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>) auto scn::v3::impl::get_contiguous_beginning<scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> > > >(scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> > >) Line | Count | Source | 1038 | 1.89k | { | 1039 | | if constexpr (ranges::contiguous_range<Range> && | 1040 | | ranges::sized_range<Range>) { | 1041 | | return r; | 1042 | | } | 1043 | | else if constexpr (std::is_same_v< | 1044 | | ranges::const_iterator_t<Range>, | 1045 | | typename detail::basic_scan_buffer< | 1046 | | detail::char_t<Range>>::forward_iterator>) { | 1047 | | if constexpr (ranges::common_range<Range>) { | 1048 | | auto seg = r.begin().contiguous_segment(); | 1049 | | auto dist = | 1050 | | static_cast<size_t>(ranges::distance(r.begin(), r.end())); | 1051 | | return seg.substr(0, std::min(seg.size(), dist)); | 1052 | | } | 1053 | | else { | 1054 | | return r.begin().contiguous_segment(); | 1055 | | } | 1056 | | } | 1057 | 1.89k | else { | 1058 | 1.89k | return std::basic_string_view<detail::char_t<Range>>{}; | 1059 | 1.89k | } | 1060 | 1.89k | } |
|
1061 | | |
1062 | | template <typename Range> |
1063 | | auto get_as_contiguous(Range r) |
1064 | 15.1k | { |
1065 | 15.1k | SCN_EXPECT(is_segment_contiguous(r)); |
1066 | | |
1067 | | if constexpr (ranges::contiguous_range<Range> && |
1068 | 15.1k | ranges::sized_range<Range>) { |
1069 | 15.1k | return r; |
1070 | | } |
1071 | | else if constexpr (std::is_same_v< |
1072 | | ranges::const_iterator_t<Range>, |
1073 | | typename detail::basic_scan_buffer< |
1074 | 0 | detail::char_t<Range>>::forward_iterator>) { |
1075 | | if constexpr (ranges::common_range<Range>) { |
1076 | | return detail::make_string_view_from_pointers( |
1077 | | r.begin().to_contiguous_segment_iterator(), |
1078 | | r.end().to_contiguous_segment_iterator()); |
1079 | | } |
1080 | 0 | else { |
1081 | 0 | return r.begin().contiguous_segment(); |
1082 | 0 | } |
1083 | | } |
1084 | 0 | else { |
1085 | 0 | SCN_EXPECT(false); |
1086 | 0 | SCN_UNREACHABLE; |
1087 | | // for return type deduction |
1088 | 0 | return std::basic_string_view<detail::char_t<Range>>{}; |
1089 | 0 | } |
1090 | 15.1k | } Unexecuted instantiation: auto scn::v3::impl::get_as_contiguous<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >(scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>) Unexecuted instantiation: auto scn::v3::impl::get_as_contiguous<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> > >(scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >) Unexecuted instantiation: auto scn::v3::impl::get_as_contiguous<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> > >(scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> >) auto scn::v3::impl::get_as_contiguous<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> >(scn::v3::ranges::detail::subrange_::subrange<char const*, char const*>) Line | Count | Source | 1064 | 9.52k | { | 1065 | 9.52k | SCN_EXPECT(is_segment_contiguous(r)); | 1066 | | | 1067 | | if constexpr (ranges::contiguous_range<Range> && | 1068 | 9.52k | ranges::sized_range<Range>) { | 1069 | 9.52k | return r; | 1070 | | } | 1071 | | else if constexpr (std::is_same_v< | 1072 | | ranges::const_iterator_t<Range>, | 1073 | | typename detail::basic_scan_buffer< | 1074 | | detail::char_t<Range>>::forward_iterator>) { | 1075 | | if constexpr (ranges::common_range<Range>) { | 1076 | | return detail::make_string_view_from_pointers( | 1077 | | r.begin().to_contiguous_segment_iterator(), | 1078 | | r.end().to_contiguous_segment_iterator()); | 1079 | | } | 1080 | | else { | 1081 | | return r.begin().contiguous_segment(); | 1082 | | } | 1083 | | } | 1084 | | else { | 1085 | | SCN_EXPECT(false); | 1086 | | SCN_UNREACHABLE; | 1087 | | // for return type deduction | 1088 | | return std::basic_string_view<detail::char_t<Range>>{}; | 1089 | | } | 1090 | 9.52k | } |
Unexecuted instantiation: auto scn::v3::impl::get_as_contiguous<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >(scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>) Unexecuted instantiation: auto scn::v3::impl::get_as_contiguous<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> > >(scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >) Unexecuted instantiation: auto scn::v3::impl::get_as_contiguous<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> > >(scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >) auto scn::v3::impl::get_as_contiguous<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >(scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>) Line | Count | Source | 1064 | 5.66k | { | 1065 | 5.66k | SCN_EXPECT(is_segment_contiguous(r)); | 1066 | | | 1067 | | if constexpr (ranges::contiguous_range<Range> && | 1068 | 5.66k | ranges::sized_range<Range>) { | 1069 | 5.66k | return r; | 1070 | | } | 1071 | | else if constexpr (std::is_same_v< | 1072 | | ranges::const_iterator_t<Range>, | 1073 | | typename detail::basic_scan_buffer< | 1074 | | detail::char_t<Range>>::forward_iterator>) { | 1075 | | if constexpr (ranges::common_range<Range>) { | 1076 | | return detail::make_string_view_from_pointers( | 1077 | | r.begin().to_contiguous_segment_iterator(), | 1078 | | r.end().to_contiguous_segment_iterator()); | 1079 | | } | 1080 | | else { | 1081 | | return r.begin().contiguous_segment(); | 1082 | | } | 1083 | | } | 1084 | | else { | 1085 | | SCN_EXPECT(false); | 1086 | | SCN_UNREACHABLE; | 1087 | | // for return type deduction | 1088 | | return std::basic_string_view<detail::char_t<Range>>{}; | 1089 | | } | 1090 | 5.66k | } |
|
1091 | | |
1092 | | template <typename Range> |
1093 | | std::size_t guaranteed_minimum_size(Range r) |
1094 | 5.37k | { |
1095 | | if constexpr (ranges::sized_range<Range>) { |
1096 | | return r.size(); |
1097 | | } |
1098 | | else if constexpr (std::is_same_v< |
1099 | | ranges::const_iterator_t<Range>, |
1100 | | typename detail::basic_scan_buffer< |
1101 | 0 | detail::char_t<Range>>::forward_iterator>) { |
1102 | | if constexpr (ranges::common_range<Range>) { |
1103 | | return static_cast<size_t>(ranges::distance(r.begin(), r.end())); |
1104 | | } |
1105 | 0 | else { |
1106 | 0 | if (r.begin().stores_parent()) { |
1107 | 0 | return static_cast<size_t>( |
1108 | 0 | r.begin().parent()->chars_available() - |
1109 | 0 | r.begin().position()); |
1110 | 0 | } |
1111 | 0 | return r.begin().contiguous_segment().size(); |
1112 | 0 | } |
1113 | | } |
1114 | 5.37k | else { |
1115 | 5.37k | return 0; |
1116 | 5.37k | } |
1117 | 5.37k | } Unexecuted instantiation: unsigned long scn::v3::impl::guaranteed_minimum_size<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >(scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>) Unexecuted instantiation: unsigned long scn::v3::impl::guaranteed_minimum_size<scn::v3::ranges::detail::subrange_::subrange<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> > >(scn::v3::ranges::detail::subrange_::subrange<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> >) Unexecuted instantiation: unsigned long scn::v3::impl::guaranteed_minimum_size<scn::v3::ranges::detail::subrange_::subrange<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> >, scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> > >::sentinel<true> > >(scn::v3::ranges::detail::subrange_::subrange<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> >, scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> > >::sentinel<true> >) Unexecuted instantiation: unsigned long scn::v3::impl::guaranteed_minimum_size<scn::v3::ranges::detail::subrange_::subrange<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> > >(scn::v3::ranges::detail::subrange_::subrange<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> >) Unexecuted instantiation: unsigned long scn::v3::impl::guaranteed_minimum_size<scn::v3::ranges::detail::subrange_::subrange<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> >, scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > > >::sentinel<true> > >(scn::v3::ranges::detail::subrange_::subrange<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> >, scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > > >::sentinel<true> >) unsigned long scn::v3::impl::guaranteed_minimum_size<scn::v3::ranges::detail::subrange_::subrange<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> > >(scn::v3::ranges::detail::subrange_::subrange<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> >) Line | Count | Source | 1094 | 3.74k | { | 1095 | | if constexpr (ranges::sized_range<Range>) { | 1096 | | return r.size(); | 1097 | | } | 1098 | | else if constexpr (std::is_same_v< | 1099 | | ranges::const_iterator_t<Range>, | 1100 | | typename detail::basic_scan_buffer< | 1101 | | detail::char_t<Range>>::forward_iterator>) { | 1102 | | if constexpr (ranges::common_range<Range>) { | 1103 | | return static_cast<size_t>(ranges::distance(r.begin(), r.end())); | 1104 | | } | 1105 | | else { | 1106 | | if (r.begin().stores_parent()) { | 1107 | | return static_cast<size_t>( | 1108 | | r.begin().parent()->chars_available() - | 1109 | | r.begin().position()); | 1110 | | } | 1111 | | return r.begin().contiguous_segment().size(); | 1112 | | } | 1113 | | } | 1114 | 3.74k | else { | 1115 | 3.74k | return 0; | 1116 | 3.74k | } | 1117 | 3.74k | } |
Unexecuted instantiation: unsigned long scn::v3::impl::guaranteed_minimum_size<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >(scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>) Unexecuted instantiation: unsigned long scn::v3::impl::guaranteed_minimum_size<scn::v3::ranges::detail::subrange_::subrange<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> > >(scn::v3::ranges::detail::subrange_::subrange<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> >) Unexecuted instantiation: unsigned long scn::v3::impl::guaranteed_minimum_size<scn::v3::ranges::detail::subrange_::subrange<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> >, scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> > >::sentinel<true> > >(scn::v3::ranges::detail::subrange_::subrange<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> >, scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> > >::sentinel<true> >) Unexecuted instantiation: unsigned long scn::v3::impl::guaranteed_minimum_size<scn::v3::ranges::detail::subrange_::subrange<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> > >(scn::v3::ranges::detail::subrange_::subrange<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> >) Unexecuted instantiation: unsigned long scn::v3::impl::guaranteed_minimum_size<scn::v3::ranges::detail::subrange_::subrange<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> >, scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > > >::sentinel<true> > >(scn::v3::ranges::detail::subrange_::subrange<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> >, scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > > >::sentinel<true> >) unsigned long scn::v3::impl::guaranteed_minimum_size<scn::v3::ranges::detail::subrange_::subrange<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> > >(scn::v3::ranges::detail::subrange_::subrange<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> >) Line | Count | Source | 1094 | 510 | { | 1095 | | if constexpr (ranges::sized_range<Range>) { | 1096 | | return r.size(); | 1097 | | } | 1098 | | else if constexpr (std::is_same_v< | 1099 | | ranges::const_iterator_t<Range>, | 1100 | | typename detail::basic_scan_buffer< | 1101 | | detail::char_t<Range>>::forward_iterator>) { | 1102 | | if constexpr (ranges::common_range<Range>) { | 1103 | | return static_cast<size_t>(ranges::distance(r.begin(), r.end())); | 1104 | | } | 1105 | | else { | 1106 | | if (r.begin().stores_parent()) { | 1107 | | return static_cast<size_t>( | 1108 | | r.begin().parent()->chars_available() - | 1109 | | r.begin().position()); | 1110 | | } | 1111 | | return r.begin().contiguous_segment().size(); | 1112 | | } | 1113 | | } | 1114 | 510 | else { | 1115 | 510 | return 0; | 1116 | 510 | } | 1117 | 510 | } |
unsigned long scn::v3::impl::guaranteed_minimum_size<scn::v3::ranges::detail::subrange_::subrange<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> >, scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> > >::sentinel<true> > >(scn::v3::ranges::detail::subrange_::subrange<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> >, scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> > >::sentinel<true> >) Line | Count | Source | 1094 | 254 | { | 1095 | | if constexpr (ranges::sized_range<Range>) { | 1096 | | return r.size(); | 1097 | | } | 1098 | | else if constexpr (std::is_same_v< | 1099 | | ranges::const_iterator_t<Range>, | 1100 | | typename detail::basic_scan_buffer< | 1101 | | detail::char_t<Range>>::forward_iterator>) { | 1102 | | if constexpr (ranges::common_range<Range>) { | 1103 | | return static_cast<size_t>(ranges::distance(r.begin(), r.end())); | 1104 | | } | 1105 | | else { | 1106 | | if (r.begin().stores_parent()) { | 1107 | | return static_cast<size_t>( | 1108 | | r.begin().parent()->chars_available() - | 1109 | | r.begin().position()); | 1110 | | } | 1111 | | return r.begin().contiguous_segment().size(); | 1112 | | } | 1113 | | } | 1114 | 254 | else { | 1115 | 254 | return 0; | 1116 | 254 | } | 1117 | 254 | } |
unsigned long scn::v3::impl::guaranteed_minimum_size<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> > >(scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> >) Line | Count | Source | 1094 | 616 | { | 1095 | | if constexpr (ranges::sized_range<Range>) { | 1096 | | return r.size(); | 1097 | | } | 1098 | | else if constexpr (std::is_same_v< | 1099 | | ranges::const_iterator_t<Range>, | 1100 | | typename detail::basic_scan_buffer< | 1101 | | detail::char_t<Range>>::forward_iterator>) { | 1102 | | if constexpr (ranges::common_range<Range>) { | 1103 | | return static_cast<size_t>(ranges::distance(r.begin(), r.end())); | 1104 | | } | 1105 | | else { | 1106 | | if (r.begin().stores_parent()) { | 1107 | | return static_cast<size_t>( | 1108 | | r.begin().parent()->chars_available() - | 1109 | | r.begin().position()); | 1110 | | } | 1111 | | return r.begin().contiguous_segment().size(); | 1112 | | } | 1113 | | } | 1114 | 616 | else { | 1115 | 616 | return 0; | 1116 | 616 | } | 1117 | 616 | } |
Unexecuted instantiation: unsigned long scn::v3::impl::guaranteed_minimum_size<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> > >(scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >) Unexecuted instantiation: unsigned long scn::v3::impl::guaranteed_minimum_size<scn::v3::ranges::detail::subrange_::subrange<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> >, scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> > >::sentinel<true> > >(scn::v3::ranges::detail::subrange_::subrange<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> >, scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> > >::sentinel<true> >) unsigned long scn::v3::impl::guaranteed_minimum_size<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> > >(scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >) Line | Count | Source | 1094 | 248 | { | 1095 | | if constexpr (ranges::sized_range<Range>) { | 1096 | | return r.size(); | 1097 | | } | 1098 | | else if constexpr (std::is_same_v< | 1099 | | ranges::const_iterator_t<Range>, | 1100 | | typename detail::basic_scan_buffer< | 1101 | | detail::char_t<Range>>::forward_iterator>) { | 1102 | | if constexpr (ranges::common_range<Range>) { | 1103 | | return static_cast<size_t>(ranges::distance(r.begin(), r.end())); | 1104 | | } | 1105 | | else { | 1106 | | if (r.begin().stores_parent()) { | 1107 | | return static_cast<size_t>( | 1108 | | r.begin().parent()->chars_available() - | 1109 | | r.begin().position()); | 1110 | | } | 1111 | | return r.begin().contiguous_segment().size(); | 1112 | | } | 1113 | | } | 1114 | 248 | else { | 1115 | 248 | return 0; | 1116 | 248 | } | 1117 | 248 | } |
Unexecuted instantiation: unsigned long scn::v3::impl::guaranteed_minimum_size<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> > >(scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >) |
1118 | | |
1119 | | template <typename I, typename T> |
1120 | | struct iterator_value_result { |
1121 | | SCN_NO_UNIQUE_ADDRESS I iterator; |
1122 | | SCN_NO_UNIQUE_ADDRESS T value; |
1123 | | }; |
1124 | | |
1125 | | ///////////////////////////////////////////////////////////////// |
1126 | | // Unicode |
1127 | | ///////////////////////////////////////////////////////////////// |
1128 | | |
1129 | | template <typename CharT> |
1130 | | constexpr bool validate_unicode(std::basic_string_view<CharT> src) |
1131 | 15.5k | { |
1132 | 15.5k | auto it = src.begin(); |
1133 | 504k | while (it != src.end()) { |
1134 | 491k | const auto len = detail::code_point_length_by_starting_code_unit(*it); |
1135 | 491k | if (len == 0) { |
1136 | 1.26k | return false; |
1137 | 1.26k | } |
1138 | 490k | if (src.end() - it < len) { |
1139 | 240 | return false; |
1140 | 240 | } |
1141 | 490k | const auto cp = detail::decode_code_point_exhaustive( |
1142 | 490k | detail::make_string_view_from_iterators<CharT>(it, it + len)); |
1143 | 490k | if (cp >= detail::invalid_code_point) { |
1144 | 1.70k | return false; |
1145 | 1.70k | } |
1146 | 488k | it += len; |
1147 | 488k | } |
1148 | 12.3k | return true; |
1149 | 15.5k | } bool scn::v3::impl::validate_unicode<char>(std::__1::basic_string_view<char, std::__1::char_traits<char> >) Line | Count | Source | 1131 | 9.91k | { | 1132 | 9.91k | auto it = src.begin(); | 1133 | 455k | while (it != src.end()) { | 1134 | 447k | const auto len = detail::code_point_length_by_starting_code_unit(*it); | 1135 | 447k | if (len == 0) { | 1136 | 1.26k | return false; | 1137 | 1.26k | } | 1138 | 446k | if (src.end() - it < len) { | 1139 | 240 | return false; | 1140 | 240 | } | 1141 | 446k | const auto cp = detail::decode_code_point_exhaustive( | 1142 | 446k | detail::make_string_view_from_iterators<CharT>(it, it + len)); | 1143 | 446k | if (cp >= detail::invalid_code_point) { | 1144 | 390 | return false; | 1145 | 390 | } | 1146 | 445k | it += len; | 1147 | 445k | } | 1148 | 8.01k | return true; | 1149 | 9.91k | } |
bool scn::v3::impl::validate_unicode<wchar_t>(std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> >) Line | Count | Source | 1131 | 5.61k | { | 1132 | 5.61k | auto it = src.begin(); | 1133 | 48.3k | while (it != src.end()) { | 1134 | 44.0k | const auto len = detail::code_point_length_by_starting_code_unit(*it); | 1135 | 44.0k | if (len == 0) { | 1136 | 0 | return false; | 1137 | 0 | } | 1138 | 44.0k | if (src.end() - it < len) { | 1139 | 0 | return false; | 1140 | 0 | } | 1141 | 44.0k | const auto cp = detail::decode_code_point_exhaustive( | 1142 | 44.0k | detail::make_string_view_from_iterators<CharT>(it, it + len)); | 1143 | 44.0k | if (cp >= detail::invalid_code_point) { | 1144 | 1.31k | return false; | 1145 | 1.31k | } | 1146 | 42.7k | it += len; | 1147 | 42.7k | } | 1148 | 4.30k | return true; | 1149 | 5.61k | } |
|
1150 | | |
1151 | | template <typename Range> |
1152 | | constexpr auto get_start_for_next_code_point(Range input) |
1153 | | -> ranges::const_iterator_t<Range> |
1154 | 16.4k | { |
1155 | 16.4k | auto it = input.begin(); |
1156 | 50.7k | for (; it != input.end(); ++it) { |
1157 | 49.1k | if (detail::code_point_length_by_starting_code_unit(*it) != 0) { |
1158 | 14.8k | break; |
1159 | 14.8k | } |
1160 | 49.1k | } |
1161 | 16.4k | return it; |
1162 | 16.4k | } _ZN3scn2v34impl29get_start_for_next_code_pointINSt3__117basic_string_viewIcNS3_11char_traitsIcEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS3_9add_constIT_E4typeEEEEESA_ Line | Count | Source | 1154 | 13.3k | { | 1155 | 13.3k | auto it = input.begin(); | 1156 | 46.4k | for (; it != input.end(); ++it) { | 1157 | 45.1k | if (detail::code_point_length_by_starting_code_unit(*it) != 0) { | 1158 | 12.0k | break; | 1159 | 12.0k | } | 1160 | 45.1k | } | 1161 | 13.3k | return it; | 1162 | 13.3k | } |
Unexecuted instantiation: _ZN3scn2v34impl29get_start_for_next_code_pointINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS8_INS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEENSF_ISH_E8sentinelILb1EEEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESR_ Unexecuted instantiation: _ZN3scn2v34impl29get_start_for_next_code_pointINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESN_ Unexecuted instantiation: _ZN3scn2v34impl29get_start_for_next_code_pointINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS8_IPKcSA_EENS1_15take_width_viewINSt3__117basic_string_viewIcNSD_11char_traitsIcEEEEE8sentinelILb1EEEEENSC_ISI_E8sentinelILb1EEEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSD_9add_constIT_E4typeEEEEESR_ Unexecuted instantiation: _ZN3scn2v34impl29get_start_for_next_code_pointINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSA_EENS1_15take_width_viewINSt3__117basic_string_viewIcNSD_11char_traitsIcEEEEE8sentinelILb1EEEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSD_9add_constIT_E4typeEEEEESN_ _ZN3scn2v34impl29get_start_for_next_code_pointINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESK_ Line | Count | Source | 1154 | 2.15k | { | 1155 | 2.15k | auto it = input.begin(); | 1156 | 2.77k | for (; it != input.end(); ++it) { | 1157 | 2.61k | if (detail::code_point_length_by_starting_code_unit(*it) != 0) { | 1158 | 1.99k | break; | 1159 | 1.99k | } | 1160 | 2.61k | } | 1161 | 2.15k | return it; | 1162 | 2.15k | } |
Unexecuted instantiation: _ZN3scn2v34impl29get_start_for_next_code_pointINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESF_ _ZN3scn2v34impl29get_start_for_next_code_pointINS0_6ranges6detail9subrange_8subrangeIPKcS8_EEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESC_ Line | Count | Source | 1154 | 954 | { | 1155 | 954 | auto it = input.begin(); | 1156 | 1.46k | for (; it != input.end(); ++it) { | 1157 | 1.41k | if (detail::code_point_length_by_starting_code_unit(*it) != 0) { | 1158 | 900 | break; | 1159 | 900 | } | 1160 | 1.41k | } | 1161 | 954 | return it; | 1162 | 954 | } |
Unexecuted instantiation: _ZN3scn2v34impl29get_start_for_next_code_pointINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS8_INS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEENSF_ISH_E8sentinelILb1EEEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESR_ Unexecuted instantiation: _ZN3scn2v34impl29get_start_for_next_code_pointINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESN_ Unexecuted instantiation: _ZN3scn2v34impl29get_start_for_next_code_pointINSt3__117basic_string_viewIwNS3_11char_traitsIwEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS3_9add_constIT_E4typeEEEEESA_ Unexecuted instantiation: _ZN3scn2v34impl29get_start_for_next_code_pointINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS8_IPKwSA_EENS1_15take_width_viewINSt3__117basic_string_viewIwNSD_11char_traitsIwEEEEE8sentinelILb1EEEEENSC_ISI_E8sentinelILb1EEEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSD_9add_constIT_E4typeEEEEESR_ Unexecuted instantiation: _ZN3scn2v34impl29get_start_for_next_code_pointINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSA_EENS1_15take_width_viewINSt3__117basic_string_viewIwNSD_11char_traitsIwEEEEE8sentinelILb1EEEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSD_9add_constIT_E4typeEEEEESN_ Unexecuted instantiation: _ZN3scn2v34impl29get_start_for_next_code_pointINS0_6ranges6detail9subrange_8subrangeIPKwS8_EEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESC_ Unexecuted instantiation: _ZN3scn2v34impl29get_start_for_next_code_pointINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESK_ Unexecuted instantiation: _ZN3scn2v34impl29get_start_for_next_code_pointINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESF_ Unexecuted instantiation: _ZN3scn2v34impl29get_start_for_next_code_pointINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS8_IPKcSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEENSC_ISE_E8sentinelILb1EEEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESO_ Unexecuted instantiation: _ZN3scn2v34impl29get_start_for_next_code_pointINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS8_IPKwSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEENSC_ISE_E8sentinelILb1EEEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESO_ |
1163 | | |
1164 | | template <typename CharT> |
1165 | | constexpr auto get_next_code_point(std::basic_string_view<CharT> input) |
1166 | | -> iterator_value_result<typename std::basic_string_view<CharT>::iterator, |
1167 | | char32_t> |
1168 | 363M | { |
1169 | 363M | SCN_EXPECT(!input.empty()); |
1170 | | |
1171 | 363M | const auto len = detail::code_point_length_by_starting_code_unit(input[0]); |
1172 | 363M | if (SCN_UNLIKELY(len == 0)) { |
1173 | 13.3k | return {get_start_for_next_code_point(input), |
1174 | 13.3k | detail::invalid_code_point}; |
1175 | 13.3k | } |
1176 | 363M | if (SCN_UNLIKELY(len > input.size())) { |
1177 | 946 | return {input.end(), detail::invalid_code_point}; |
1178 | 946 | } |
1179 | | |
1180 | 363M | return {input.begin() + len, |
1181 | 363M | detail::decode_code_point_exhaustive(input.substr(0, len))}; |
1182 | 363M | } scn::v3::impl::iterator_value_result<std::__1::basic_string_view<char, std::__1::char_traits<char> >::iterator, char32_t> scn::v3::impl::get_next_code_point<char>(std::__1::basic_string_view<char, std::__1::char_traits<char> >) Line | Count | Source | 1168 | 756k | { | 1169 | 756k | SCN_EXPECT(!input.empty()); | 1170 | | | 1171 | 756k | const auto len = detail::code_point_length_by_starting_code_unit(input[0]); | 1172 | 756k | if (SCN_UNLIKELY(len == 0)) { | 1173 | 13.3k | return {get_start_for_next_code_point(input), | 1174 | 13.3k | detail::invalid_code_point}; | 1175 | 13.3k | } | 1176 | 743k | if (SCN_UNLIKELY(len > input.size())) { | 1177 | 946 | return {input.end(), detail::invalid_code_point}; | 1178 | 946 | } | 1179 | | | 1180 | 742k | return {input.begin() + len, | 1181 | 742k | detail::decode_code_point_exhaustive(input.substr(0, len))}; | 1182 | 743k | } |
scn::v3::impl::iterator_value_result<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> >::iterator, char32_t> scn::v3::impl::get_next_code_point<wchar_t>(std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> >) Line | Count | Source | 1168 | 362M | { | 1169 | 362M | SCN_EXPECT(!input.empty()); | 1170 | | | 1171 | 362M | const auto len = detail::code_point_length_by_starting_code_unit(input[0]); | 1172 | 362M | if (SCN_UNLIKELY(len == 0)) { | 1173 | 0 | return {get_start_for_next_code_point(input), | 1174 | 0 | detail::invalid_code_point}; | 1175 | 0 | } | 1176 | 362M | if (SCN_UNLIKELY(len > input.size())) { | 1177 | 0 | return {input.end(), detail::invalid_code_point}; | 1178 | 0 | } | 1179 | | | 1180 | 362M | return {input.begin() + len, | 1181 | 362M | detail::decode_code_point_exhaustive(input.substr(0, len))}; | 1182 | 362M | } |
|
1183 | | |
1184 | | template <typename CharT> |
1185 | | constexpr auto get_next_code_point_valid(std::basic_string_view<CharT> input) |
1186 | | -> iterator_value_result<typename std::basic_string_view<CharT>::iterator, |
1187 | | char32_t> |
1188 | 107k | { |
1189 | 107k | SCN_EXPECT(!input.empty()); |
1190 | | |
1191 | 107k | const auto len = detail::code_point_length_by_starting_code_unit(input[0]); |
1192 | 107k | SCN_EXPECT(len <= input.size()); |
1193 | | |
1194 | 107k | return {input.begin() + len, |
1195 | 107k | detail::decode_code_point_exhaustive_valid(input.substr(0, len))}; |
1196 | 107k | } |
1197 | | |
1198 | | template <typename CharT> |
1199 | | struct is_first_char_space_result { |
1200 | | ranges::iterator_t<std::basic_string_view<CharT>> iterator; |
1201 | | char32_t cp; |
1202 | | bool is_space; |
1203 | | }; |
1204 | | |
1205 | | template <typename CharT> |
1206 | | inline constexpr auto is_first_char_space(std::basic_string_view<CharT> str) |
1207 | | -> is_first_char_space_result<CharT> |
1208 | 362M | { |
1209 | | // TODO: optimize |
1210 | 362M | SCN_EXPECT(!str.empty()); |
1211 | 362M | auto res = get_next_code_point(str); |
1212 | 362M | return {res.iterator, res.value, detail::is_cp_space(res.value)}; |
1213 | 362M | } scn::v3::impl::is_first_char_space_result<char> scn::v3::impl::is_first_char_space<char>(std::__1::basic_string_view<char, std::__1::char_traits<char> >) Line | Count | Source | 1208 | 37.8k | { | 1209 | | // TODO: optimize | 1210 | 37.8k | SCN_EXPECT(!str.empty()); | 1211 | 37.8k | auto res = get_next_code_point(str); | 1212 | 37.8k | return {res.iterator, res.value, detail::is_cp_space(res.value)}; | 1213 | 37.8k | } |
scn::v3::impl::is_first_char_space_result<wchar_t> scn::v3::impl::is_first_char_space<wchar_t>(std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> >) Line | Count | Source | 1208 | 362M | { | 1209 | | // TODO: optimize | 1210 | 362M | SCN_EXPECT(!str.empty()); | 1211 | 362M | auto res = get_next_code_point(str); | 1212 | 362M | return {res.iterator, res.value, detail::is_cp_space(res.value)}; | 1213 | 362M | } |
|
1214 | | |
1215 | | inline constexpr scan_expected<wchar_t> encode_code_point_as_wide_character( |
1216 | | char32_t cp, |
1217 | | bool error_on_overflow) |
1218 | 0 | { |
1219 | 0 | SCN_EXPECT(cp < detail::invalid_code_point); |
1220 | 0 | if constexpr (sizeof(wchar_t) == sizeof(char32_t)) { |
1221 | 0 | SCN_UNUSED(error_on_overflow); |
1222 | 0 | return static_cast<wchar_t>(cp); |
1223 | | } |
1224 | | else { |
1225 | | if (cp < 0x10000) { |
1226 | | return static_cast<wchar_t>(cp); |
1227 | | } |
1228 | | if (error_on_overflow) { |
1229 | | return unexpected_scan_error(scan_error::value_out_of_range, |
1230 | | "Non-BOM code point can't be " |
1231 | | "narrowed to a single 2-byte " |
1232 | | "wchar_t code unit"); |
1233 | | } |
1234 | | // Return the lead surrogate |
1235 | | return static_cast<wchar_t>( |
1236 | | (static_cast<uint32_t>(cp) - 0x10000) / 0x400 + 0xd800); |
1237 | | } |
1238 | 0 | } |
1239 | | |
1240 | | template <typename SourceCharT, typename DestCharT> |
1241 | | void transcode_to_string_impl_to32(std::basic_string_view<SourceCharT> src, |
1242 | | std::basic_string<DestCharT>& dest) |
1243 | 4.91k | { |
1244 | 4.91k | static_assert(sizeof(DestCharT) == 4); |
1245 | | |
1246 | 4.91k | auto it = src.begin(); |
1247 | 648k | while (it != src.end()) { |
1248 | 643k | auto res = get_next_code_point( |
1249 | 643k | detail::make_string_view_from_iterators<SourceCharT>(it, |
1250 | 643k | src.end())); |
1251 | 643k | if (SCN_UNLIKELY(res.value == detail::invalid_code_point)) { |
1252 | 14.5k | dest.push_back(DestCharT{0xfffd}); |
1253 | 14.5k | } |
1254 | 628k | else { |
1255 | 628k | dest.push_back(res.value); |
1256 | 628k | } |
1257 | 643k | it = detail::make_string_view_iterator(src, res.iterator); |
1258 | 643k | } |
1259 | 4.91k | } |
1260 | | template <typename SourceCharT, typename DestCharT> |
1261 | | void transcode_valid_to_string_impl_to32( |
1262 | | std::basic_string_view<SourceCharT> src, |
1263 | | std::basic_string<DestCharT>& dest) |
1264 | 2.00k | { |
1265 | 2.00k | static_assert(sizeof(DestCharT) == 4); |
1266 | | |
1267 | 2.00k | auto it = src.begin(); |
1268 | 109k | while (it != src.end()) { |
1269 | 107k | auto res = get_next_code_point_valid( |
1270 | 107k | detail::make_string_view_from_iterators<SourceCharT>(it, |
1271 | 107k | src.end())); |
1272 | 107k | SCN_EXPECT(res.value < detail::invalid_code_point); |
1273 | 107k | dest.push_back(res.value); |
1274 | 107k | it = detail::make_string_view_iterator(src, res.iterator); |
1275 | 107k | } |
1276 | 2.00k | } |
1277 | | |
1278 | | template <bool VerifiedValid, typename SourceCharT, typename DestCharT> |
1279 | | void transcode_to_string_impl_32to8(std::basic_string_view<SourceCharT> src, |
1280 | | std::basic_string<DestCharT>& dest) |
1281 | 1.07k | { |
1282 | 1.07k | static_assert(sizeof(SourceCharT) == 4); |
1283 | 1.07k | static_assert(sizeof(DestCharT) == 1); |
1284 | | |
1285 | 8.62k | for (auto cp : src) { |
1286 | 8.62k | const auto u32cp = static_cast<uint32_t>(cp); |
1287 | 8.62k | if (SCN_UNLIKELY(!VerifiedValid && cp >= detail::invalid_code_point)) { |
1288 | | // Replacement character |
1289 | 0 | dest.push_back(static_cast<char>(0xef)); |
1290 | 0 | dest.push_back(static_cast<char>(0xbf)); |
1291 | 0 | dest.push_back(static_cast<char>(0xbd)); |
1292 | 0 | } |
1293 | 8.62k | else if (cp < 128) { |
1294 | 7.05k | dest.push_back(static_cast<char>(cp)); |
1295 | 7.05k | } |
1296 | 1.57k | else if (cp < 2048) { |
1297 | 142 | dest.push_back( |
1298 | 142 | static_cast<char>(0xc0 | (static_cast<char>(u32cp >> 6)))); |
1299 | 142 | dest.push_back( |
1300 | 142 | static_cast<char>(0x80 | (static_cast<char>(u32cp) & 0x3f))); |
1301 | 142 | } |
1302 | 1.43k | else if (cp < 65536) { |
1303 | 966 | dest.push_back( |
1304 | 966 | static_cast<char>(0xe0 | (static_cast<char>(u32cp >> 12)))); |
1305 | 966 | dest.push_back(static_cast<char>( |
1306 | 966 | 0x80 | (static_cast<char>(u32cp >> 6) & 0x3f))); |
1307 | 966 | dest.push_back( |
1308 | 966 | static_cast<char>(0x80 | (static_cast<char>(u32cp) & 0x3f))); |
1309 | 966 | } |
1310 | 464 | else { |
1311 | 464 | dest.push_back( |
1312 | 464 | static_cast<char>(0xf0 | (static_cast<char>(u32cp >> 18)))); |
1313 | 464 | dest.push_back(static_cast<char>( |
1314 | 464 | 0x80 | (static_cast<char>(u32cp >> 12) & 0x3f))); |
1315 | 464 | dest.push_back(static_cast<char>( |
1316 | 464 | 0x80 | (static_cast<char>(u32cp >> 6) & 0x3f))); |
1317 | 464 | dest.push_back( |
1318 | 464 | static_cast<char>(0x80 | (static_cast<char>(u32cp) & 0x3f))); |
1319 | 464 | } |
1320 | 8.62k | } |
1321 | 1.07k | } |
1322 | | |
1323 | | template <bool VerifiedValid, typename SourceCharT, typename DestCharT> |
1324 | | void transcode_to_string_impl_32to16(std::basic_string_view<SourceCharT> src, |
1325 | | std::basic_string<DestCharT>& dest) |
1326 | | { |
1327 | | static_assert(sizeof(SourceCharT) == 4); |
1328 | | static_assert(sizeof(DestCharT) == 2); |
1329 | | |
1330 | | for (auto cp : src) { |
1331 | | const auto u32cp = static_cast<uint32_t>(cp); |
1332 | | if (SCN_UNLIKELY(!VerifiedValid && cp >= detail::invalid_code_point)) { |
1333 | | dest.push_back(char16_t{0xfffd}); |
1334 | | } |
1335 | | else if (cp < 0x10000) { |
1336 | | dest.push_back(static_cast<char16_t>(cp)); |
1337 | | } |
1338 | | else { |
1339 | | dest.push_back( |
1340 | | static_cast<char16_t>((u32cp - 0x10000) / 0x400 + 0xd800)); |
1341 | | dest.push_back( |
1342 | | static_cast<char16_t>((u32cp - 0x10000) % 0x400 + 0xd800)); |
1343 | | } |
1344 | | } |
1345 | | } |
1346 | | |
1347 | | template <typename SourceCharT, typename DestCharT> |
1348 | | void transcode_to_string(std::basic_string_view<SourceCharT> src, |
1349 | | std::basic_string<DestCharT>& dest) |
1350 | 4.91k | { |
1351 | 4.91k | static_assert(sizeof(SourceCharT) != sizeof(DestCharT)); |
1352 | | |
1353 | 4.91k | if constexpr (sizeof(SourceCharT) == 1) { |
1354 | | if constexpr (sizeof(DestCharT) == 2) { |
1355 | | std::u32string tmp; |
1356 | | transcode_to_string_impl_to32(src, tmp); |
1357 | | return transcode_to_string_impl_32to16<false>( |
1358 | | std::u32string_view{tmp}, dest); |
1359 | | } |
1360 | 4.91k | else if constexpr (sizeof(DestCharT) == 4) { |
1361 | 4.91k | return transcode_to_string_impl_to32(src, dest); |
1362 | 4.91k | } |
1363 | | } |
1364 | | else if constexpr (sizeof(SourceCharT) == 2) { |
1365 | | if constexpr (sizeof(DestCharT) == 1) { |
1366 | | std::u32string tmp; |
1367 | | transcode_to_string_impl_to32(src, tmp); |
1368 | | return transcode_to_string_impl_32to8<false>( |
1369 | | std::u32string_view{tmp}, dest); |
1370 | | } |
1371 | | else if constexpr (sizeof(DestCharT) == 4) { |
1372 | | return trasncode_to_string_impl_to32(src, dest); |
1373 | | } |
1374 | | } |
1375 | | else if constexpr (sizeof(SourceCharT) == 4) { |
1376 | | if constexpr (sizeof(DestCharT) == 1) { |
1377 | | return transcode_to_string_impl_32to8<false>(src, dest); |
1378 | | } |
1379 | | else if constexpr (sizeof(DestCharT) == 2) { |
1380 | | return transcode_to_string_impl_32to16<false>(src, dest); |
1381 | | } |
1382 | | } |
1383 | | |
1384 | 4.91k | SCN_EXPECT(false); |
1385 | 4.91k | SCN_UNREACHABLE; |
1386 | 4.91k | } |
1387 | | template <typename SourceCharT, typename DestCharT> |
1388 | | void transcode_valid_to_string(std::basic_string_view<SourceCharT> src, |
1389 | | std::basic_string<DestCharT>& dest) |
1390 | 3.08k | { |
1391 | 3.08k | static_assert(sizeof(SourceCharT) != sizeof(DestCharT)); |
1392 | | |
1393 | 3.08k | SCN_EXPECT(validate_unicode(src)); |
1394 | 3.08k | if constexpr (sizeof(SourceCharT) == 1) { |
1395 | | if constexpr (sizeof(DestCharT) == 2) { |
1396 | | // TODO: Optimize, remove utf32-step, go direct utf8->utf16 |
1397 | | std::u32string tmp; |
1398 | | transcode_valid_to_string_impl_to32(src, tmp); |
1399 | | return transcode_to_string_impl_32to16<true>( |
1400 | | std::u32string_view{tmp}, dest); |
1401 | | } |
1402 | 2.00k | else if constexpr (sizeof(DestCharT) == 4) { |
1403 | 2.00k | return transcode_valid_to_string_impl_to32(src, dest); |
1404 | 2.00k | } |
1405 | | } |
1406 | | else if constexpr (sizeof(SourceCharT) == 2) { |
1407 | | if constexpr (sizeof(DestCharT) == 1) { |
1408 | | std::u32string tmp; |
1409 | | transcode_valid_to_string_impl_to32(src, tmp); |
1410 | | return transcode_to_string_impl_32to8<true>( |
1411 | | std::u32string_view{tmp}, dest); |
1412 | | } |
1413 | | else if constexpr (sizeof(DestCharT) == 4) { |
1414 | | return trasncode_valid_to_string_impl_to32(src, dest); |
1415 | | } |
1416 | | } |
1417 | 1.07k | else if constexpr (sizeof(SourceCharT) == 4) { |
1418 | 1.07k | if constexpr (sizeof(DestCharT) == 1) { |
1419 | 1.07k | return transcode_to_string_impl_32to8<true>(src, dest); |
1420 | | } |
1421 | | else if constexpr (sizeof(DestCharT) == 2) { |
1422 | | return transcode_to_string_impl_32to16<true>(src, dest); |
1423 | | } |
1424 | 1.07k | } |
1425 | | |
1426 | 3.08k | SCN_EXPECT(false); |
1427 | 3.08k | SCN_UNREACHABLE; |
1428 | 3.08k | } void scn::v3::impl::transcode_valid_to_string<char, wchar_t>(std::__1::basic_string_view<char, std::__1::char_traits<char> >, std::__1::basic_string<wchar_t, std::__1::char_traits<wchar_t>, std::__1::allocator<wchar_t> >&) Line | Count | Source | 1390 | 2.00k | { | 1391 | 2.00k | static_assert(sizeof(SourceCharT) != sizeof(DestCharT)); | 1392 | | | 1393 | 2.00k | SCN_EXPECT(validate_unicode(src)); | 1394 | 2.00k | if constexpr (sizeof(SourceCharT) == 1) { | 1395 | | if constexpr (sizeof(DestCharT) == 2) { | 1396 | | // TODO: Optimize, remove utf32-step, go direct utf8->utf16 | 1397 | | std::u32string tmp; | 1398 | | transcode_valid_to_string_impl_to32(src, tmp); | 1399 | | return transcode_to_string_impl_32to16<true>( | 1400 | | std::u32string_view{tmp}, dest); | 1401 | | } | 1402 | 2.00k | else if constexpr (sizeof(DestCharT) == 4) { | 1403 | 2.00k | return transcode_valid_to_string_impl_to32(src, dest); | 1404 | 2.00k | } | 1405 | | } | 1406 | | else if constexpr (sizeof(SourceCharT) == 2) { | 1407 | | if constexpr (sizeof(DestCharT) == 1) { | 1408 | | std::u32string tmp; | 1409 | | transcode_valid_to_string_impl_to32(src, tmp); | 1410 | | return transcode_to_string_impl_32to8<true>( | 1411 | | std::u32string_view{tmp}, dest); | 1412 | | } | 1413 | | else if constexpr (sizeof(DestCharT) == 4) { | 1414 | | return trasncode_valid_to_string_impl_to32(src, dest); | 1415 | | } | 1416 | | } | 1417 | | else if constexpr (sizeof(SourceCharT) == 4) { | 1418 | | if constexpr (sizeof(DestCharT) == 1) { | 1419 | | return transcode_to_string_impl_32to8<true>(src, dest); | 1420 | | } | 1421 | | else if constexpr (sizeof(DestCharT) == 2) { | 1422 | | return transcode_to_string_impl_32to16<true>(src, dest); | 1423 | | } | 1424 | | } | 1425 | | | 1426 | 2.00k | SCN_EXPECT(false); | 1427 | 0 | SCN_UNREACHABLE; | 1428 | 2.00k | } |
void scn::v3::impl::transcode_valid_to_string<wchar_t, char>(std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> >, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&) Line | Count | Source | 1390 | 1.07k | { | 1391 | 1.07k | static_assert(sizeof(SourceCharT) != sizeof(DestCharT)); | 1392 | | | 1393 | 1.07k | SCN_EXPECT(validate_unicode(src)); | 1394 | | if constexpr (sizeof(SourceCharT) == 1) { | 1395 | | if constexpr (sizeof(DestCharT) == 2) { | 1396 | | // TODO: Optimize, remove utf32-step, go direct utf8->utf16 | 1397 | | std::u32string tmp; | 1398 | | transcode_valid_to_string_impl_to32(src, tmp); | 1399 | | return transcode_to_string_impl_32to16<true>( | 1400 | | std::u32string_view{tmp}, dest); | 1401 | | } | 1402 | | else if constexpr (sizeof(DestCharT) == 4) { | 1403 | | return transcode_valid_to_string_impl_to32(src, dest); | 1404 | | } | 1405 | | } | 1406 | | else if constexpr (sizeof(SourceCharT) == 2) { | 1407 | | if constexpr (sizeof(DestCharT) == 1) { | 1408 | | std::u32string tmp; | 1409 | | transcode_valid_to_string_impl_to32(src, tmp); | 1410 | | return transcode_to_string_impl_32to8<true>( | 1411 | | std::u32string_view{tmp}, dest); | 1412 | | } | 1413 | | else if constexpr (sizeof(DestCharT) == 4) { | 1414 | | return trasncode_valid_to_string_impl_to32(src, dest); | 1415 | | } | 1416 | | } | 1417 | 1.07k | else if constexpr (sizeof(SourceCharT) == 4) { | 1418 | 1.07k | if constexpr (sizeof(DestCharT) == 1) { | 1419 | 1.07k | return transcode_to_string_impl_32to8<true>(src, dest); | 1420 | | } | 1421 | | else if constexpr (sizeof(DestCharT) == 2) { | 1422 | | return transcode_to_string_impl_32to16<true>(src, dest); | 1423 | | } | 1424 | 1.07k | } | 1425 | | | 1426 | 1.07k | SCN_EXPECT(false); | 1427 | 0 | SCN_UNREACHABLE; | 1428 | 1.07k | } |
|
1429 | | |
1430 | | template <typename CharT> |
1431 | | constexpr void for_each_code_point(std::basic_string_view<CharT> input, |
1432 | | function_ref<void(char32_t)> cb) |
1433 | 26.9k | { |
1434 | | // TODO: Could be optimized by being eager |
1435 | 26.9k | auto it = input.begin(); |
1436 | 73.2k | while (it != input.end()) { |
1437 | 46.3k | auto res = get_next_code_point( |
1438 | 46.3k | detail::make_string_view_from_iterators<CharT>(it, input.end())); |
1439 | 46.3k | cb(res.value); |
1440 | 46.3k | it = detail::make_string_view_iterator(input, res.iterator); |
1441 | 46.3k | } |
1442 | 26.9k | } void scn::v3::impl::for_each_code_point<char>(std::__1::basic_string_view<char, std::__1::char_traits<char> >, scn::v3::impl::function_ref<void (char32_t), void (char32_t)>) Line | Count | Source | 1433 | 23.4k | { | 1434 | | // TODO: Could be optimized by being eager | 1435 | 23.4k | auto it = input.begin(); | 1436 | 62.4k | while (it != input.end()) { | 1437 | 38.9k | auto res = get_next_code_point( | 1438 | 38.9k | detail::make_string_view_from_iterators<CharT>(it, input.end())); | 1439 | 38.9k | cb(res.value); | 1440 | 38.9k | it = detail::make_string_view_iterator(input, res.iterator); | 1441 | 38.9k | } | 1442 | 23.4k | } |
void scn::v3::impl::for_each_code_point<wchar_t>(std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> >, scn::v3::impl::function_ref<void (char32_t), void (char32_t)>) Line | Count | Source | 1433 | 3.47k | { | 1434 | | // TODO: Could be optimized by being eager | 1435 | 3.47k | auto it = input.begin(); | 1436 | 10.8k | while (it != input.end()) { | 1437 | 7.38k | auto res = get_next_code_point( | 1438 | 7.38k | detail::make_string_view_from_iterators<CharT>(it, input.end())); | 1439 | 7.38k | cb(res.value); | 1440 | 7.38k | it = detail::make_string_view_iterator(input, res.iterator); | 1441 | 7.38k | } | 1442 | 3.47k | } |
|
1443 | | |
1444 | | template <typename CharT> |
1445 | | constexpr void for_each_code_point_valid(std::basic_string_view<CharT> input, |
1446 | | function_ref<void(char32_t)> cb) |
1447 | | { |
1448 | | auto it = input.begin(); |
1449 | | while (it != input.end()) { |
1450 | | auto res = get_next_code_point_valid( |
1451 | | detail::make_string_view_from_iterators<CharT>(it, input.end())); |
1452 | | cb(res.value); |
1453 | | it = detail::make_string_view_iterator(input, res.iterator); |
1454 | | } |
1455 | | } |
1456 | | |
1457 | | ///////////////////////////////////////////////////////////////// |
1458 | | // contiguous_range_factory |
1459 | | ///////////////////////////////////////////////////////////////// |
1460 | | |
1461 | | template <typename View> |
1462 | | class take_width_view; |
1463 | | |
1464 | | template <typename CharT> |
1465 | | struct string_view_wrapper { |
1466 | | using char_type = CharT; |
1467 | | using string_type = std::basic_string<CharT>; |
1468 | | using string_view_type = std::basic_string_view<CharT>; |
1469 | | |
1470 | | constexpr string_view_wrapper() = default; |
1471 | | |
1472 | | template <typename Range, |
1473 | | std::enable_if_t<ranges::borrowed_range<Range> && |
1474 | | ranges::contiguous_range<Range> && |
1475 | | ranges::sized_range<Range>>* = nullptr> |
1476 | 46.0k | constexpr string_view_wrapper(Range&& r) : sv(ranges::data(r), r.size()) |
1477 | 46.0k | { |
1478 | 46.0k | } _ZN3scn2v34impl19string_view_wrapperIcEC2INS0_6ranges6detail9subrange_8subrangeIPKcSA_EETnPNSt3__19enable_ifIXaaaasr6rangesE14borrowed_rangeIT_Esr6rangesE16contiguous_rangeISE_Esr6rangesE11sized_rangeISE_EEvE4typeELPv0EEEOSE_ Line | Count | Source | 1476 | 13.4k | constexpr string_view_wrapper(Range&& r) : sv(ranges::data(r), r.size()) | 1477 | 13.4k | { | 1478 | 13.4k | } |
_ZN3scn2v34impl19string_view_wrapperIcEC2IRNS0_6ranges6detail9subrange_8subrangeIPKcSA_EETnPNSt3__19enable_ifIXaaaasr6rangesE14borrowed_rangeIT_Esr6rangesE16contiguous_rangeISF_Esr6rangesE11sized_rangeISF_EEvE4typeELPv0EEEOSF_ Line | Count | Source | 1476 | 16.1k | constexpr string_view_wrapper(Range&& r) : sv(ranges::data(r), r.size()) | 1477 | 16.1k | { | 1478 | 16.1k | } |
_ZN3scn2v34impl19string_view_wrapperIwEC2INS0_6ranges6detail9subrange_8subrangeIPKwSA_EETnPNSt3__19enable_ifIXaaaasr6rangesE14borrowed_rangeIT_Esr6rangesE16contiguous_rangeISE_Esr6rangesE11sized_rangeISE_EEvE4typeELPv0EEEOSE_ Line | Count | Source | 1476 | 9.97k | constexpr string_view_wrapper(Range&& r) : sv(ranges::data(r), r.size()) | 1477 | 9.97k | { | 1478 | 9.97k | } |
_ZN3scn2v34impl19string_view_wrapperIcEC2IRNSt3__117basic_string_viewIcNS5_11char_traitsIcEEEETnPNS5_9enable_ifIXaaaasr6rangesE14borrowed_rangeIT_Esr6rangesE16contiguous_rangeISC_Esr6rangesE11sized_rangeISC_EEvE4typeELPv0EEEOSC_ Line | Count | Source | 1476 | 6.43k | constexpr string_view_wrapper(Range&& r) : sv(ranges::data(r), r.size()) | 1477 | 6.43k | { | 1478 | 6.43k | } |
|
1479 | | |
1480 | | template <typename Range, |
1481 | | std::enable_if_t<ranges::borrowed_range<Range> && |
1482 | | ranges::contiguous_range<Range> && |
1483 | | ranges::sized_range<Range>>* = nullptr> |
1484 | | void assign(Range&& r) |
1485 | | { |
1486 | | sv = string_view_type{ranges::data(r), r.size()}; |
1487 | | } |
1488 | | |
1489 | | constexpr auto view() const |
1490 | 73.8k | { |
1491 | 73.8k | return sv; |
1492 | 73.8k | } scn::v3::impl::string_view_wrapper<char>::view() const Line | Count | Source | 1490 | 62.0k | { | 1491 | 62.0k | return sv; | 1492 | 62.0k | } |
scn::v3::impl::string_view_wrapper<wchar_t>::view() const Line | Count | Source | 1490 | 11.8k | { | 1491 | 11.8k | return sv; | 1492 | 11.8k | } |
|
1493 | | |
1494 | | constexpr bool stores_allocated_string() const |
1495 | 0 | { |
1496 | 0 | return false; |
1497 | 0 | } Unexecuted instantiation: scn::v3::impl::string_view_wrapper<char>::stores_allocated_string() const Unexecuted instantiation: scn::v3::impl::string_view_wrapper<wchar_t>::stores_allocated_string() const |
1498 | | |
1499 | | [[noreturn]] string_type get_allocated_string() const |
1500 | | { |
1501 | | SCN_EXPECT(false); |
1502 | | SCN_UNREACHABLE; |
1503 | | } |
1504 | | |
1505 | | string_view_type sv; |
1506 | | }; |
1507 | | |
1508 | | template <typename Range> |
1509 | | string_view_wrapper(Range) |
1510 | | -> string_view_wrapper<detail::char_t<detail::remove_cvref_t<Range>>>; |
1511 | | |
1512 | | template <typename CharT> |
1513 | | class contiguous_range_factory { |
1514 | | public: |
1515 | | using char_type = CharT; |
1516 | | using string_type = std::basic_string<CharT>; |
1517 | | using string_view_type = std::basic_string_view<CharT>; |
1518 | | |
1519 | 4.16k | contiguous_range_factory() = default; scn::v3::impl::contiguous_range_factory<char>::contiguous_range_factory() Line | Count | Source | 1519 | 2.34k | contiguous_range_factory() = default; |
scn::v3::impl::contiguous_range_factory<wchar_t>::contiguous_range_factory() Line | Count | Source | 1519 | 1.81k | contiguous_range_factory() = default; |
|
1520 | | |
1521 | | template <typename Range, |
1522 | | std::enable_if_t<ranges::forward_range<Range>>* = nullptr> |
1523 | | contiguous_range_factory(Range&& range) |
1524 | 1.98k | { |
1525 | 1.98k | emplace_range(SCN_FWD(range)); |
1526 | 1.98k | } Unexecuted instantiation: _ZN3scn2v34impl24contiguous_range_factoryIcEC2INS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEESG_EETnPNSt3__19enable_ifIXsr6rangesE13forward_rangeIT_EEvE4typeELPv0EEEOSK_ Unexecuted instantiation: _ZN3scn2v34impl24contiguous_range_factoryIcEC2INS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorESC_EETnPNSt3__19enable_ifIXsr6rangesE13forward_rangeIT_EEvE4typeELPv0EEEOSG_ _ZN3scn2v34impl24contiguous_range_factoryIcEC2INS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSC_EESD_EETnPNSt3__19enable_ifIXsr6rangesE13forward_rangeIT_EEvE4typeELPv0EEEOSH_ Line | Count | Source | 1524 | 1.55k | { | 1525 | 1.55k | emplace_range(SCN_FWD(range)); | 1526 | 1.55k | } |
Unexecuted instantiation: _ZN3scn2v34impl24contiguous_range_factoryIwEC2INS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEESG_EETnPNSt3__19enable_ifIXsr6rangesE13forward_rangeIT_EEvE4typeELPv0EEEOSK_ Unexecuted instantiation: _ZN3scn2v34impl24contiguous_range_factoryIwEC2INS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorESC_EETnPNSt3__19enable_ifIXsr6rangesE13forward_rangeIT_EEvE4typeELPv0EEEOSG_ _ZN3scn2v34impl24contiguous_range_factoryIwEC2INS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSC_EESD_EETnPNSt3__19enable_ifIXsr6rangesE13forward_rangeIT_EEvE4typeELPv0EEEOSH_ Line | Count | Source | 1524 | 430 | { | 1525 | 430 | emplace_range(SCN_FWD(range)); | 1526 | 430 | } |
|
1527 | | |
1528 | | contiguous_range_factory(string_view_wrapper<CharT> svw) |
1529 | | : m_storage(std::nullopt), m_view(svw.view()) |
1530 | | { |
1531 | | } |
1532 | | |
1533 | | contiguous_range_factory(const contiguous_range_factory&) = delete; |
1534 | | contiguous_range_factory& operator=(const contiguous_range_factory&) = |
1535 | | delete; |
1536 | | |
1537 | | contiguous_range_factory(contiguous_range_factory&& other) |
1538 | | : m_storage(SCN_MOVE(other.m_storage)) |
1539 | | { |
1540 | | if (m_storage) { |
1541 | | m_view = *m_storage; |
1542 | | } |
1543 | | else { |
1544 | | m_view = other.m_view; |
1545 | | } |
1546 | | } |
1547 | | contiguous_range_factory& operator=(contiguous_range_factory&& other) |
1548 | | { |
1549 | | m_storage = SCN_MOVE(other.m_storage); |
1550 | | if (m_storage) { |
1551 | | m_view = *m_storage; |
1552 | | } |
1553 | | else { |
1554 | | m_view = other.m_view; |
1555 | | } |
1556 | | return *this; |
1557 | | } |
1558 | | |
1559 | 6.14k | ~contiguous_range_factory() = default; scn::v3::impl::contiguous_range_factory<char>::~contiguous_range_factory() Line | Count | Source | 1559 | 3.90k | ~contiguous_range_factory() = default; |
scn::v3::impl::contiguous_range_factory<wchar_t>::~contiguous_range_factory() Line | Count | Source | 1559 | 2.24k | ~contiguous_range_factory() = default; |
|
1560 | | |
1561 | | template <typename Range, |
1562 | | std::enable_if_t<ranges::forward_range<Range>>* = nullptr> |
1563 | | void assign(Range&& range) |
1564 | 1.67k | { |
1565 | 1.67k | emplace_range(SCN_FWD(range)); |
1566 | 1.67k | } Unexecuted instantiation: _ZN3scn2v34impl24contiguous_range_factoryIcE6assignINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEESG_EETnPNSt3__19enable_ifIXsr6rangesE13forward_rangeIT_EEvE4typeELPv0EEEvOSK_ Unexecuted instantiation: _ZN3scn2v34impl24contiguous_range_factoryIcE6assignINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorESC_EETnPNSt3__19enable_ifIXsr6rangesE13forward_rangeIT_EEvE4typeELPv0EEEvOSG_ Unexecuted instantiation: _ZN3scn2v34impl24contiguous_range_factoryIcE6assignINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSC_EESD_EETnPNSt3__19enable_ifIXsr6rangesE13forward_rangeIT_EEvE4typeELPv0EEEvOSH_ _ZN3scn2v34impl24contiguous_range_factoryIcE6assignINS0_6ranges6detail9subrange_8subrangeIPKcSA_EETnPNSt3__19enable_ifIXsr6rangesE13forward_rangeIT_EEvE4typeELPv0EEEvOSE_ Line | Count | Source | 1564 | 890 | { | 1565 | 890 | emplace_range(SCN_FWD(range)); | 1566 | 890 | } |
Unexecuted instantiation: _ZN3scn2v34impl24contiguous_range_factoryIwE6assignINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEESG_EETnPNSt3__19enable_ifIXsr6rangesE13forward_rangeIT_EEvE4typeELPv0EEEvOSK_ Unexecuted instantiation: _ZN3scn2v34impl24contiguous_range_factoryIwE6assignINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorESC_EETnPNSt3__19enable_ifIXsr6rangesE13forward_rangeIT_EEvE4typeELPv0EEEvOSG_ Unexecuted instantiation: _ZN3scn2v34impl24contiguous_range_factoryIwE6assignINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSC_EESD_EETnPNSt3__19enable_ifIXsr6rangesE13forward_rangeIT_EEvE4typeELPv0EEEvOSH_ _ZN3scn2v34impl24contiguous_range_factoryIwE6assignINS0_6ranges6detail9subrange_8subrangeIPKwSA_EETnPNSt3__19enable_ifIXsr6rangesE13forward_rangeIT_EEvE4typeELPv0EEEvOSE_ Line | Count | Source | 1564 | 788 | { | 1565 | 788 | emplace_range(SCN_FWD(range)); | 1566 | 788 | } |
Unexecuted instantiation: _ZN3scn2v34impl24contiguous_range_factoryIcE6assignINSt3__112basic_stringIcNS5_11char_traitsIcEENS5_9allocatorIcEEEETnPNS5_9enable_ifIXsr6rangesE13forward_rangeIT_EEvE4typeELPv0EEEvOSD_ Unexecuted instantiation: _ZN3scn2v34impl24contiguous_range_factoryIwE6assignINSt3__112basic_stringIwNS5_11char_traitsIwEENS5_9allocatorIwEEEETnPNS5_9enable_ifIXsr6rangesE13forward_rangeIT_EEvE4typeELPv0EEEvOSD_ |
1567 | | |
1568 | | string_view_type view() const |
1569 | 5.85k | { |
1570 | 5.85k | return m_view; |
1571 | 5.85k | } scn::v3::impl::contiguous_range_factory<char>::view() const Line | Count | Source | 1569 | 3.69k | { | 1570 | 3.69k | return m_view; | 1571 | 3.69k | } |
scn::v3::impl::contiguous_range_factory<wchar_t>::view() const Line | Count | Source | 1569 | 2.15k | { | 1570 | 2.15k | return m_view; | 1571 | 2.15k | } |
|
1572 | | |
1573 | | constexpr bool stores_allocated_string() const |
1574 | 1.01k | { |
1575 | 1.01k | return m_storage.has_value(); |
1576 | 1.01k | } scn::v3::impl::contiguous_range_factory<char>::stores_allocated_string() const Line | Count | Source | 1574 | 720 | { | 1575 | 720 | return m_storage.has_value(); | 1576 | 720 | } |
scn::v3::impl::contiguous_range_factory<wchar_t>::stores_allocated_string() const Line | Count | Source | 1574 | 296 | { | 1575 | 296 | return m_storage.has_value(); | 1576 | 296 | } |
|
1577 | | |
1578 | | string_type& get_allocated_string() & |
1579 | 508 | { |
1580 | 508 | SCN_EXPECT(stores_allocated_string()); |
1581 | 508 | return *m_storage; |
1582 | 508 | } scn::v3::impl::contiguous_range_factory<char>::get_allocated_string() & Line | Count | Source | 1579 | 360 | { | 1580 | 360 | SCN_EXPECT(stores_allocated_string()); | 1581 | 360 | return *m_storage; | 1582 | 360 | } |
scn::v3::impl::contiguous_range_factory<wchar_t>::get_allocated_string() & Line | Count | Source | 1579 | 148 | { | 1580 | 148 | SCN_EXPECT(stores_allocated_string()); | 1581 | 148 | return *m_storage; | 1582 | 148 | } |
|
1583 | | const string_type& get_allocated_string() const& |
1584 | | { |
1585 | | SCN_EXPECT(stores_allocated_string()); |
1586 | | return *m_storage; |
1587 | | } |
1588 | | string_type&& get_allocated_string() && |
1589 | | { |
1590 | | SCN_EXPECT(stores_allocated_string()); |
1591 | | return *m_storage; |
1592 | | } |
1593 | | |
1594 | | string_type& make_into_allocated_string() |
1595 | 0 | { |
1596 | 0 | if (stores_allocated_string()) { |
1597 | 0 | return get_allocated_string(); |
1598 | 0 | } |
1599 | | |
1600 | 0 | auto& str = m_storage.emplace(m_view.data(), m_view.size()); |
1601 | 0 | m_view = string_view_type{str.data(), str.size()}; |
1602 | 0 | return str; |
1603 | 0 | } Unexecuted instantiation: scn::v3::impl::contiguous_range_factory<char>::make_into_allocated_string() Unexecuted instantiation: scn::v3::impl::contiguous_range_factory<wchar_t>::make_into_allocated_string() |
1604 | | |
1605 | | private: |
1606 | | template <typename Range> |
1607 | | void emplace_range(Range&& range) |
1608 | 3.66k | { |
1609 | 3.66k | using value_t = ranges::range_value_t<Range>; |
1610 | | |
1611 | | if constexpr (ranges::borrowed_range<Range> && |
1612 | | ranges::contiguous_range<Range> && |
1613 | 1.67k | ranges::sized_range<Range>) { |
1614 | 1.67k | m_storage.reset(); |
1615 | 1.67k | m_view = string_view_type{ranges::data(range), range.size()}; |
1616 | | } |
1617 | | else if constexpr (std::is_same_v<detail::remove_cvref_t<Range>, |
1618 | 0 | std::basic_string<CharT>>) { |
1619 | 0 | m_storage.emplace(SCN_FWD(range)); |
1620 | 0 | m_view = string_view_type{*m_storage}; |
1621 | | } |
1622 | | else if constexpr (std::is_same_v<ranges::iterator_t<Range>, |
1623 | | typename detail::basic_scan_buffer< |
1624 | | value_t>::forward_iterator> && |
1625 | 0 | ranges::common_range<Range>) { |
1626 | 0 | auto beg_seg = range.begin().contiguous_segment(); |
1627 | 0 | auto end_seg = range.end().contiguous_segment(); |
1628 | 0 | if (SCN_UNLIKELY(detail::to_address(beg_seg.end()) != |
1629 | 0 | detail::to_address(end_seg.end()))) { |
1630 | 0 | auto& str = m_storage.emplace(); |
1631 | 0 | str.reserve(range.end().position() - range.begin().position()); |
1632 | 0 | std::copy(range.begin(), range.end(), std::back_inserter(str)); |
1633 | 0 | m_view = string_view_type{str}; |
1634 | 0 | return; |
1635 | 0 | } |
1636 | | |
1637 | 0 | m_view = detail::make_string_view_from_pointers(beg_seg.data(), |
1638 | 0 | end_seg.data()); |
1639 | 0 | m_storage.reset(); |
1640 | | } |
1641 | 1.98k | else { |
1642 | 1.98k | auto& str = m_storage.emplace(); |
1643 | | if constexpr (ranges::sized_range<Range>) { |
1644 | | str.reserve(range.size()); |
1645 | | } |
1646 | 1.98k | if constexpr (ranges::common_range<Range>) { |
1647 | 1.98k | std::copy(ranges::begin(range), ranges::end(range), |
1648 | 1.98k | std::back_inserter(str)); |
1649 | | } |
1650 | | else { |
1651 | | for (auto it = ranges::begin(range); it != ranges::end(range); |
1652 | | ++it) { |
1653 | | str.push_back(*it); |
1654 | | } |
1655 | | } |
1656 | 1.98k | m_view = string_view_type{str}; |
1657 | 1.98k | } |
1658 | 3.66k | } Unexecuted instantiation: void scn::v3::impl::contiguous_range_factory<char>::emplace_range<scn::v3::ranges::detail::subrange_::subrange<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> > >(scn::v3::ranges::detail::subrange_::subrange<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >&&) Unexecuted instantiation: void scn::v3::impl::contiguous_range_factory<char>::emplace_range<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::detail::basic_scan_buffer<char>::forward_iterator> >(scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::detail::basic_scan_buffer<char>::forward_iterator>&&) void scn::v3::impl::contiguous_range_factory<char>::emplace_range<scn::v3::ranges::detail::subrange_::subrange<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> > >(scn::v3::ranges::detail::subrange_::subrange<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> >&&) Line | Count | Source | 1608 | 1.55k | { | 1609 | 1.55k | using value_t = ranges::range_value_t<Range>; | 1610 | | | 1611 | | if constexpr (ranges::borrowed_range<Range> && | 1612 | | ranges::contiguous_range<Range> && | 1613 | | ranges::sized_range<Range>) { | 1614 | | m_storage.reset(); | 1615 | | m_view = string_view_type{ranges::data(range), range.size()}; | 1616 | | } | 1617 | | else if constexpr (std::is_same_v<detail::remove_cvref_t<Range>, | 1618 | | std::basic_string<CharT>>) { | 1619 | | m_storage.emplace(SCN_FWD(range)); | 1620 | | m_view = string_view_type{*m_storage}; | 1621 | | } | 1622 | | else if constexpr (std::is_same_v<ranges::iterator_t<Range>, | 1623 | | typename detail::basic_scan_buffer< | 1624 | | value_t>::forward_iterator> && | 1625 | | ranges::common_range<Range>) { | 1626 | | auto beg_seg = range.begin().contiguous_segment(); | 1627 | | auto end_seg = range.end().contiguous_segment(); | 1628 | | if (SCN_UNLIKELY(detail::to_address(beg_seg.end()) != | 1629 | | detail::to_address(end_seg.end()))) { | 1630 | | auto& str = m_storage.emplace(); | 1631 | | str.reserve(range.end().position() - range.begin().position()); | 1632 | | std::copy(range.begin(), range.end(), std::back_inserter(str)); | 1633 | | m_view = string_view_type{str}; | 1634 | | return; | 1635 | | } | 1636 | | | 1637 | | m_view = detail::make_string_view_from_pointers(beg_seg.data(), | 1638 | | end_seg.data()); | 1639 | | m_storage.reset(); | 1640 | | } | 1641 | 1.55k | else { | 1642 | 1.55k | auto& str = m_storage.emplace(); | 1643 | | if constexpr (ranges::sized_range<Range>) { | 1644 | | str.reserve(range.size()); | 1645 | | } | 1646 | 1.55k | if constexpr (ranges::common_range<Range>) { | 1647 | 1.55k | std::copy(ranges::begin(range), ranges::end(range), | 1648 | 1.55k | std::back_inserter(str)); | 1649 | | } | 1650 | | else { | 1651 | | for (auto it = ranges::begin(range); it != ranges::end(range); | 1652 | | ++it) { | 1653 | | str.push_back(*it); | 1654 | | } | 1655 | | } | 1656 | 1.55k | m_view = string_view_type{str}; | 1657 | 1.55k | } | 1658 | 1.55k | } |
void scn::v3::impl::contiguous_range_factory<char>::emplace_range<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> >(scn::v3::ranges::detail::subrange_::subrange<char const*, char const*>&&) Line | Count | Source | 1608 | 890 | { | 1609 | 890 | using value_t = ranges::range_value_t<Range>; | 1610 | | | 1611 | | if constexpr (ranges::borrowed_range<Range> && | 1612 | | ranges::contiguous_range<Range> && | 1613 | 890 | ranges::sized_range<Range>) { | 1614 | 890 | m_storage.reset(); | 1615 | 890 | m_view = string_view_type{ranges::data(range), range.size()}; | 1616 | | } | 1617 | | else if constexpr (std::is_same_v<detail::remove_cvref_t<Range>, | 1618 | | std::basic_string<CharT>>) { | 1619 | | m_storage.emplace(SCN_FWD(range)); | 1620 | | m_view = string_view_type{*m_storage}; | 1621 | | } | 1622 | | else if constexpr (std::is_same_v<ranges::iterator_t<Range>, | 1623 | | typename detail::basic_scan_buffer< | 1624 | | value_t>::forward_iterator> && | 1625 | | ranges::common_range<Range>) { | 1626 | | auto beg_seg = range.begin().contiguous_segment(); | 1627 | | auto end_seg = range.end().contiguous_segment(); | 1628 | | if (SCN_UNLIKELY(detail::to_address(beg_seg.end()) != | 1629 | | detail::to_address(end_seg.end()))) { | 1630 | | auto& str = m_storage.emplace(); | 1631 | | str.reserve(range.end().position() - range.begin().position()); | 1632 | | std::copy(range.begin(), range.end(), std::back_inserter(str)); | 1633 | | m_view = string_view_type{str}; | 1634 | | return; | 1635 | | } | 1636 | | | 1637 | | m_view = detail::make_string_view_from_pointers(beg_seg.data(), | 1638 | | end_seg.data()); | 1639 | | m_storage.reset(); | 1640 | | } | 1641 | | else { | 1642 | | auto& str = m_storage.emplace(); | 1643 | | if constexpr (ranges::sized_range<Range>) { | 1644 | | str.reserve(range.size()); | 1645 | | } | 1646 | | if constexpr (ranges::common_range<Range>) { | 1647 | | std::copy(ranges::begin(range), ranges::end(range), | 1648 | | std::back_inserter(str)); | 1649 | | } | 1650 | | else { | 1651 | | for (auto it = ranges::begin(range); it != ranges::end(range); | 1652 | | ++it) { | 1653 | | str.push_back(*it); | 1654 | | } | 1655 | | } | 1656 | | m_view = string_view_type{str}; | 1657 | | } | 1658 | 890 | } |
Unexecuted instantiation: void scn::v3::impl::contiguous_range_factory<wchar_t>::emplace_range<scn::v3::ranges::detail::subrange_::subrange<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> > >(scn::v3::ranges::detail::subrange_::subrange<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >&&) Unexecuted instantiation: void scn::v3::impl::contiguous_range_factory<wchar_t>::emplace_range<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator> >(scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator>&&) void scn::v3::impl::contiguous_range_factory<wchar_t>::emplace_range<scn::v3::ranges::detail::subrange_::subrange<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> > >(scn::v3::ranges::detail::subrange_::subrange<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> >&&) Line | Count | Source | 1608 | 430 | { | 1609 | 430 | using value_t = ranges::range_value_t<Range>; | 1610 | | | 1611 | | if constexpr (ranges::borrowed_range<Range> && | 1612 | | ranges::contiguous_range<Range> && | 1613 | | ranges::sized_range<Range>) { | 1614 | | m_storage.reset(); | 1615 | | m_view = string_view_type{ranges::data(range), range.size()}; | 1616 | | } | 1617 | | else if constexpr (std::is_same_v<detail::remove_cvref_t<Range>, | 1618 | | std::basic_string<CharT>>) { | 1619 | | m_storage.emplace(SCN_FWD(range)); | 1620 | | m_view = string_view_type{*m_storage}; | 1621 | | } | 1622 | | else if constexpr (std::is_same_v<ranges::iterator_t<Range>, | 1623 | | typename detail::basic_scan_buffer< | 1624 | | value_t>::forward_iterator> && | 1625 | | ranges::common_range<Range>) { | 1626 | | auto beg_seg = range.begin().contiguous_segment(); | 1627 | | auto end_seg = range.end().contiguous_segment(); | 1628 | | if (SCN_UNLIKELY(detail::to_address(beg_seg.end()) != | 1629 | | detail::to_address(end_seg.end()))) { | 1630 | | auto& str = m_storage.emplace(); | 1631 | | str.reserve(range.end().position() - range.begin().position()); | 1632 | | std::copy(range.begin(), range.end(), std::back_inserter(str)); | 1633 | | m_view = string_view_type{str}; | 1634 | | return; | 1635 | | } | 1636 | | | 1637 | | m_view = detail::make_string_view_from_pointers(beg_seg.data(), | 1638 | | end_seg.data()); | 1639 | | m_storage.reset(); | 1640 | | } | 1641 | 430 | else { | 1642 | 430 | auto& str = m_storage.emplace(); | 1643 | | if constexpr (ranges::sized_range<Range>) { | 1644 | | str.reserve(range.size()); | 1645 | | } | 1646 | 430 | if constexpr (ranges::common_range<Range>) { | 1647 | 430 | std::copy(ranges::begin(range), ranges::end(range), | 1648 | 430 | std::back_inserter(str)); | 1649 | | } | 1650 | | else { | 1651 | | for (auto it = ranges::begin(range); it != ranges::end(range); | 1652 | | ++it) { | 1653 | | str.push_back(*it); | 1654 | | } | 1655 | | } | 1656 | 430 | m_view = string_view_type{str}; | 1657 | 430 | } | 1658 | 430 | } |
void scn::v3::impl::contiguous_range_factory<wchar_t>::emplace_range<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >(scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>&&) Line | Count | Source | 1608 | 788 | { | 1609 | 788 | using value_t = ranges::range_value_t<Range>; | 1610 | | | 1611 | | if constexpr (ranges::borrowed_range<Range> && | 1612 | | ranges::contiguous_range<Range> && | 1613 | 788 | ranges::sized_range<Range>) { | 1614 | 788 | m_storage.reset(); | 1615 | 788 | m_view = string_view_type{ranges::data(range), range.size()}; | 1616 | | } | 1617 | | else if constexpr (std::is_same_v<detail::remove_cvref_t<Range>, | 1618 | | std::basic_string<CharT>>) { | 1619 | | m_storage.emplace(SCN_FWD(range)); | 1620 | | m_view = string_view_type{*m_storage}; | 1621 | | } | 1622 | | else if constexpr (std::is_same_v<ranges::iterator_t<Range>, | 1623 | | typename detail::basic_scan_buffer< | 1624 | | value_t>::forward_iterator> && | 1625 | | ranges::common_range<Range>) { | 1626 | | auto beg_seg = range.begin().contiguous_segment(); | 1627 | | auto end_seg = range.end().contiguous_segment(); | 1628 | | if (SCN_UNLIKELY(detail::to_address(beg_seg.end()) != | 1629 | | detail::to_address(end_seg.end()))) { | 1630 | | auto& str = m_storage.emplace(); | 1631 | | str.reserve(range.end().position() - range.begin().position()); | 1632 | | std::copy(range.begin(), range.end(), std::back_inserter(str)); | 1633 | | m_view = string_view_type{str}; | 1634 | | return; | 1635 | | } | 1636 | | | 1637 | | m_view = detail::make_string_view_from_pointers(beg_seg.data(), | 1638 | | end_seg.data()); | 1639 | | m_storage.reset(); | 1640 | | } | 1641 | | else { | 1642 | | auto& str = m_storage.emplace(); | 1643 | | if constexpr (ranges::sized_range<Range>) { | 1644 | | str.reserve(range.size()); | 1645 | | } | 1646 | | if constexpr (ranges::common_range<Range>) { | 1647 | | std::copy(ranges::begin(range), ranges::end(range), | 1648 | | std::back_inserter(str)); | 1649 | | } | 1650 | | else { | 1651 | | for (auto it = ranges::begin(range); it != ranges::end(range); | 1652 | | ++it) { | 1653 | | str.push_back(*it); | 1654 | | } | 1655 | | } | 1656 | | m_view = string_view_type{str}; | 1657 | | } | 1658 | 788 | } |
Unexecuted instantiation: void scn::v3::impl::contiguous_range_factory<char>::emplace_range<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&&) Unexecuted instantiation: void scn::v3::impl::contiguous_range_factory<wchar_t>::emplace_range<std::__1::basic_string<wchar_t, std::__1::char_traits<wchar_t>, std::__1::allocator<wchar_t> > >(std::__1::basic_string<wchar_t, std::__1::char_traits<wchar_t>, std::__1::allocator<wchar_t> >&&) |
1659 | | |
1660 | | std::optional<string_type> m_storage{std::nullopt}; |
1661 | | string_view_type m_view{}; |
1662 | | }; |
1663 | | |
1664 | | template <typename Range> |
1665 | | contiguous_range_factory(Range) |
1666 | | -> contiguous_range_factory<detail::char_t<detail::remove_cvref_t<Range>>>; |
1667 | | |
1668 | | template <typename Range> |
1669 | | auto make_contiguous_buffer(Range&& range) |
1670 | 48.0k | { |
1671 | | if constexpr (ranges::borrowed_range<Range> && |
1672 | | ranges::contiguous_range<Range> && |
1673 | 46.0k | ranges::sized_range<Range>) { |
1674 | 46.0k | return string_view_wrapper{SCN_FWD(range)}; |
1675 | | } |
1676 | 1.98k | else { |
1677 | 1.98k | return contiguous_range_factory{SCN_FWD(range)}; |
1678 | 1.98k | } |
1679 | 48.0k | } Unexecuted instantiation: auto scn::v3::impl::make_contiguous_buffer<scn::v3::ranges::detail::subrange_::subrange<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> > >(scn::v3::ranges::detail::subrange_::subrange<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >&&) Unexecuted instantiation: auto scn::v3::impl::make_contiguous_buffer<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::detail::basic_scan_buffer<char>::forward_iterator> >(scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::detail::basic_scan_buffer<char>::forward_iterator>&&) auto scn::v3::impl::make_contiguous_buffer<scn::v3::ranges::detail::subrange_::subrange<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> > >(scn::v3::ranges::detail::subrange_::subrange<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> >&&) Line | Count | Source | 1670 | 1.55k | { | 1671 | | if constexpr (ranges::borrowed_range<Range> && | 1672 | | ranges::contiguous_range<Range> && | 1673 | | ranges::sized_range<Range>) { | 1674 | | return string_view_wrapper{SCN_FWD(range)}; | 1675 | | } | 1676 | 1.55k | else { | 1677 | 1.55k | return contiguous_range_factory{SCN_FWD(range)}; | 1678 | 1.55k | } | 1679 | 1.55k | } |
auto scn::v3::impl::make_contiguous_buffer<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> >(scn::v3::ranges::detail::subrange_::subrange<char const*, char const*>&&) Line | Count | Source | 1670 | 13.4k | { | 1671 | | if constexpr (ranges::borrowed_range<Range> && | 1672 | | ranges::contiguous_range<Range> && | 1673 | 13.4k | ranges::sized_range<Range>) { | 1674 | 13.4k | return string_view_wrapper{SCN_FWD(range)}; | 1675 | | } | 1676 | | else { | 1677 | | return contiguous_range_factory{SCN_FWD(range)}; | 1678 | | } | 1679 | 13.4k | } |
auto scn::v3::impl::make_contiguous_buffer<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*>&>(scn::v3::ranges::detail::subrange_::subrange<char const*, char const*>&) Line | Count | Source | 1670 | 16.1k | { | 1671 | | if constexpr (ranges::borrowed_range<Range> && | 1672 | | ranges::contiguous_range<Range> && | 1673 | 16.1k | ranges::sized_range<Range>) { | 1674 | 16.1k | return string_view_wrapper{SCN_FWD(range)}; | 1675 | | } | 1676 | | else { | 1677 | | return contiguous_range_factory{SCN_FWD(range)}; | 1678 | | } | 1679 | 16.1k | } |
Unexecuted instantiation: auto scn::v3::impl::make_contiguous_buffer<scn::v3::ranges::detail::subrange_::subrange<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> > >(scn::v3::ranges::detail::subrange_::subrange<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >&&) Unexecuted instantiation: auto scn::v3::impl::make_contiguous_buffer<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator> >(scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator>&&) auto scn::v3::impl::make_contiguous_buffer<scn::v3::ranges::detail::subrange_::subrange<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> > >(scn::v3::ranges::detail::subrange_::subrange<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> >&&) Line | Count | Source | 1670 | 430 | { | 1671 | | if constexpr (ranges::borrowed_range<Range> && | 1672 | | ranges::contiguous_range<Range> && | 1673 | | ranges::sized_range<Range>) { | 1674 | | return string_view_wrapper{SCN_FWD(range)}; | 1675 | | } | 1676 | 430 | else { | 1677 | 430 | return contiguous_range_factory{SCN_FWD(range)}; | 1678 | 430 | } | 1679 | 430 | } |
auto scn::v3::impl::make_contiguous_buffer<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >(scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>&&) Line | Count | Source | 1670 | 9.97k | { | 1671 | | if constexpr (ranges::borrowed_range<Range> && | 1672 | | ranges::contiguous_range<Range> && | 1673 | 9.97k | ranges::sized_range<Range>) { | 1674 | 9.97k | return string_view_wrapper{SCN_FWD(range)}; | 1675 | | } | 1676 | | else { | 1677 | | return contiguous_range_factory{SCN_FWD(range)}; | 1678 | | } | 1679 | 9.97k | } |
auto scn::v3::impl::make_contiguous_buffer<std::__1::basic_string_view<char, std::__1::char_traits<char> >&>(std::__1::basic_string_view<char, std::__1::char_traits<char> >&) Line | Count | Source | 1670 | 6.43k | { | 1671 | | if constexpr (ranges::borrowed_range<Range> && | 1672 | | ranges::contiguous_range<Range> && | 1673 | 6.43k | ranges::sized_range<Range>) { | 1674 | 6.43k | return string_view_wrapper{SCN_FWD(range)}; | 1675 | | } | 1676 | | else { | 1677 | | return contiguous_range_factory{SCN_FWD(range)}; | 1678 | | } | 1679 | 6.43k | } |
|
1680 | | } // namespace impl |
1681 | | |
1682 | | ///////////////////////////////////////////////////////////////// |
1683 | | // locale stuff |
1684 | | ///////////////////////////////////////////////////////////////// |
1685 | | |
1686 | | #if !SCN_DISABLE_LOCALE |
1687 | | |
1688 | | namespace detail { |
1689 | | extern template locale_ref::locale_ref(const std::locale&); |
1690 | | extern template auto locale_ref::get() const -> std::locale; |
1691 | | } // namespace detail |
1692 | | |
1693 | | namespace impl { |
1694 | | template <typename Facet> |
1695 | | const Facet& get_facet(detail::locale_ref loc) |
1696 | | { |
1697 | | auto stdloc = loc.get<std::locale>(); |
1698 | | SCN_EXPECT(std::has_facet<Facet>(stdloc)); |
1699 | | return std::use_facet<Facet>(stdloc); |
1700 | | } |
1701 | | |
1702 | | template <typename Facet> |
1703 | | const Facet& get_or_add_facet(std::locale& stdloc) |
1704 | 190 | { |
1705 | 190 | if (std::has_facet<Facet>(stdloc)) { |
1706 | 190 | return std::use_facet<Facet>(stdloc); |
1707 | 190 | } |
1708 | 0 | stdloc = std::locale(stdloc, new Facet{}); |
1709 | 0 | return std::use_facet<Facet>(stdloc); |
1710 | 190 | } std::__1::numpunct<char> const& scn::v3::impl::get_or_add_facet<std::__1::numpunct<char> >(std::__1::locale&) Line | Count | Source | 1704 | 90 | { | 1705 | 90 | if (std::has_facet<Facet>(stdloc)) { | 1706 | 90 | return std::use_facet<Facet>(stdloc); | 1707 | 90 | } | 1708 | 0 | stdloc = std::locale(stdloc, new Facet{}); | 1709 | 0 | return std::use_facet<Facet>(stdloc); | 1710 | 90 | } |
std::__1::numpunct<wchar_t> const& scn::v3::impl::get_or_add_facet<std::__1::numpunct<wchar_t> >(std::__1::locale&) Line | Count | Source | 1704 | 100 | { | 1705 | 100 | if (std::has_facet<Facet>(stdloc)) { | 1706 | 100 | return std::use_facet<Facet>(stdloc); | 1707 | 100 | } | 1708 | 0 | stdloc = std::locale(stdloc, new Facet{}); | 1709 | 0 | return std::use_facet<Facet>(stdloc); | 1710 | 100 | } |
|
1711 | | |
1712 | | class clocale_restorer { |
1713 | | public: |
1714 | 0 | clocale_restorer(int cat) : m_category(cat) |
1715 | 0 | { |
1716 | 0 | const auto loc = std::setlocale(cat, nullptr); |
1717 | 0 | std::strcpy(m_locbuf, loc); |
1718 | 0 | } |
1719 | | ~clocale_restorer() |
1720 | 0 | { |
1721 | | // Restore locale to what it was before |
1722 | 0 | std::setlocale(m_category, m_locbuf); |
1723 | 0 | } |
1724 | | |
1725 | | clocale_restorer(const clocale_restorer&) = delete; |
1726 | | clocale_restorer(clocale_restorer&&) = delete; |
1727 | | clocale_restorer& operator=(const clocale_restorer&) = delete; |
1728 | | clocale_restorer& operator=(clocale_restorer&&) = delete; |
1729 | | |
1730 | | private: |
1731 | | // For whatever reason, this cannot be stored in the heap if |
1732 | | // setlocale hasn't been called before, or msan errors with |
1733 | | // 'use-of-unitialized-value' when resetting the locale |
1734 | | // back. POSIX specifies that the content of loc may not be |
1735 | | // static, so we need to save it ourselves |
1736 | | char m_locbuf[64] = {0}; |
1737 | | |
1738 | | int m_category; |
1739 | | }; |
1740 | | |
1741 | | class set_clocale_classic_guard { |
1742 | | public: |
1743 | 0 | set_clocale_classic_guard(int cat) : m_restorer(cat) |
1744 | 0 | { |
1745 | 0 | std::setlocale(cat, "C"); |
1746 | 0 | } |
1747 | | |
1748 | | private: |
1749 | | clocale_restorer m_restorer; |
1750 | | }; |
1751 | | } // namespace impl |
1752 | | |
1753 | | namespace impl { |
1754 | | struct classic_with_thsep_tag {}; |
1755 | | |
1756 | | template <typename CharT> |
1757 | | struct localized_number_formatting_options { |
1758 | 2.08k | localized_number_formatting_options() = default; scn::v3::impl::localized_number_formatting_options<char>::localized_number_formatting_options() Line | Count | Source | 1758 | 1.17k | localized_number_formatting_options() = default; |
scn::v3::impl::localized_number_formatting_options<wchar_t>::localized_number_formatting_options() Line | Count | Source | 1758 | 906 | localized_number_formatting_options() = default; |
|
1759 | | |
1760 | | localized_number_formatting_options(classic_with_thsep_tag) |
1761 | 0 | { |
1762 | 0 | grouping = "\3"; |
1763 | 0 | thousands_sep = CharT{','}; |
1764 | 0 | } Unexecuted instantiation: scn::v3::impl::localized_number_formatting_options<char>::localized_number_formatting_options(scn::v3::impl::classic_with_thsep_tag) Unexecuted instantiation: scn::v3::impl::localized_number_formatting_options<wchar_t>::localized_number_formatting_options(scn::v3::impl::classic_with_thsep_tag) |
1765 | | |
1766 | | localized_number_formatting_options(detail::locale_ref loc) |
1767 | 152 | { |
1768 | 152 | auto stdloc = loc.get<std::locale>(); |
1769 | 152 | const auto& numpunct = get_or_add_facet<std::numpunct<CharT>>(stdloc); |
1770 | 152 | grouping = numpunct.grouping(); |
1771 | 152 | thousands_sep = |
1772 | 152 | grouping.length() != 0 ? numpunct.thousands_sep() : CharT{0}; |
1773 | 152 | decimal_point = numpunct.decimal_point(); |
1774 | 152 | } scn::v3::impl::localized_number_formatting_options<char>::localized_number_formatting_options(scn::v3::detail::locale_ref) Line | Count | Source | 1767 | 68 | { | 1768 | 68 | auto stdloc = loc.get<std::locale>(); | 1769 | 68 | const auto& numpunct = get_or_add_facet<std::numpunct<CharT>>(stdloc); | 1770 | 68 | grouping = numpunct.grouping(); | 1771 | 68 | thousands_sep = | 1772 | 68 | grouping.length() != 0 ? numpunct.thousands_sep() : CharT{0}; | 1773 | 68 | decimal_point = numpunct.decimal_point(); | 1774 | 68 | } |
scn::v3::impl::localized_number_formatting_options<wchar_t>::localized_number_formatting_options(scn::v3::detail::locale_ref) Line | Count | Source | 1767 | 84 | { | 1768 | 84 | auto stdloc = loc.get<std::locale>(); | 1769 | 84 | const auto& numpunct = get_or_add_facet<std::numpunct<CharT>>(stdloc); | 1770 | 84 | grouping = numpunct.grouping(); | 1771 | 84 | thousands_sep = | 1772 | 84 | grouping.length() != 0 ? numpunct.thousands_sep() : CharT{0}; | 1773 | 84 | decimal_point = numpunct.decimal_point(); | 1774 | 84 | } |
|
1775 | | |
1776 | | std::string grouping{}; |
1777 | | CharT thousands_sep{0}; |
1778 | | CharT decimal_point{CharT{'.'}}; |
1779 | | }; |
1780 | | } // namespace impl |
1781 | | |
1782 | | #else |
1783 | | |
1784 | | namespace impl { |
1785 | | struct set_clocale_classic_guard { |
1786 | | set_clocale_classic_guard(int) {} |
1787 | | }; |
1788 | | |
1789 | | struct classic_with_thsep_tag {}; |
1790 | | |
1791 | | template <typename CharT> |
1792 | | struct localized_number_formatting_options { |
1793 | | localized_number_formatting_options() = default; |
1794 | | |
1795 | | localized_number_formatting_options(classic_with_thsep_tag) |
1796 | | { |
1797 | | grouping = "\3"; |
1798 | | thousands_sep = CharT{','}; |
1799 | | } |
1800 | | |
1801 | | std::string grouping{}; |
1802 | | CharT thousands_sep{0}; |
1803 | | CharT decimal_point{CharT{'.'}}; |
1804 | | }; |
1805 | | } // namespace impl |
1806 | | |
1807 | | #endif // !SCN_DISABLE_LOCALE |
1808 | | |
1809 | | ///////////////////////////////////////////////////////////////// |
1810 | | // Range reading algorithms |
1811 | | ///////////////////////////////////////////////////////////////// |
1812 | | |
1813 | | namespace impl { |
1814 | | |
1815 | | std::string_view::iterator find_classic_space_narrow_fast( |
1816 | | std::string_view source); |
1817 | | |
1818 | | std::string_view::iterator find_classic_nonspace_narrow_fast( |
1819 | | std::string_view source); |
1820 | | |
1821 | | std::string_view::iterator find_nondecimal_digit_narrow_fast( |
1822 | | std::string_view source); |
1823 | | |
1824 | | template <typename Range> |
1825 | | auto read_all(Range range) -> ranges::const_iterator_t<Range> |
1826 | 1.82k | { |
1827 | 1.82k | return ranges::next(range.begin(), range.end()); |
1828 | 1.82k | } _ZN3scn2v34impl8read_allINS0_6ranges6detail9subrange_8subrangeIPKcS8_EEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESC_ Line | Count | Source | 1826 | 890 | { | 1827 | 890 | return ranges::next(range.begin(), range.end()); | 1828 | 890 | } |
Unexecuted instantiation: _ZN3scn2v34impl8read_allINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS4_18default_sentinel_tEEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESH_ _ZN3scn2v34impl8read_allINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESE_ Line | Count | Source | 1826 | 90 | { | 1827 | 90 | return ranges::next(range.begin(), range.end()); | 1828 | 90 | } |
_ZN3scn2v34impl8read_allINS0_6ranges6detail9subrange_8subrangeIPKwS8_EEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESC_ Line | Count | Source | 1826 | 788 | { | 1827 | 788 | return ranges::next(range.begin(), range.end()); | 1828 | 788 | } |
Unexecuted instantiation: _ZN3scn2v34impl8read_allINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS4_18default_sentinel_tEEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESH_ _ZN3scn2v34impl8read_allINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESE_ Line | Count | Source | 1826 | 60 | { | 1827 | 60 | return ranges::next(range.begin(), range.end()); | 1828 | 60 | } |
|
1829 | | |
1830 | | template <typename Range> |
1831 | | auto read_code_unit(Range range) |
1832 | | -> eof_expected<ranges::const_iterator_t<Range>> |
1833 | 14.7k | { |
1834 | 14.7k | if (auto e = eof_check(range); SCN_UNLIKELY(!e)) { |
1835 | 0 | return unexpected(e); |
1836 | 0 | } |
1837 | | |
1838 | 14.7k | return ranges::next(range.begin()); |
1839 | 14.7k | } Unexecuted instantiation: _ZN3scn2v34impl14read_code_unitINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS4_18default_sentinel_tEEEEEEENS1_12eof_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_ Unexecuted instantiation: _ZN3scn2v34impl14read_code_unitINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEEEENS1_12eof_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_ Unexecuted instantiation: _ZN3scn2v34impl14read_code_unitINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEEEENS1_12eof_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_ _ZN3scn2v34impl14read_code_unitINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEEEEENS1_12eof_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_ Line | Count | Source | 1833 | 1.84k | { | 1834 | 1.84k | if (auto e = eof_check(range); SCN_UNLIKELY(!e)) { | 1835 | 0 | return unexpected(e); | 1836 | 0 | } | 1837 | | | 1838 | 1.84k | return ranges::next(range.begin()); | 1839 | 1.84k | } |
_ZN3scn2v34impl14read_code_unitINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEEEENS1_12eof_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_ Line | Count | Source | 1833 | 34 | { | 1834 | 34 | if (auto e = eof_check(range); SCN_UNLIKELY(!e)) { | 1835 | 0 | return unexpected(e); | 1836 | 0 | } | 1837 | | | 1838 | 34 | return ranges::next(range.begin()); | 1839 | 34 | } |
_ZN3scn2v34impl14read_code_unitINS0_6ranges6detail9subrange_8subrangeIPKcS8_EEEENS1_12eof_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESD_ Line | Count | Source | 1833 | 6.40k | { | 1834 | 6.40k | if (auto e = eof_check(range); SCN_UNLIKELY(!e)) { | 1835 | 0 | return unexpected(e); | 1836 | 0 | } | 1837 | | | 1838 | 6.40k | return ranges::next(range.begin()); | 1839 | 6.40k | } |
Unexecuted instantiation: _ZN3scn2v34impl14read_code_unitINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS4_18default_sentinel_tEEEEEEENS1_12eof_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_ Unexecuted instantiation: _ZN3scn2v34impl14read_code_unitINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEEEENS1_12eof_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_ Unexecuted instantiation: _ZN3scn2v34impl14read_code_unitINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEEEENS1_12eof_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_ _ZN3scn2v34impl14read_code_unitINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEEEEENS1_12eof_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_ Line | Count | Source | 1833 | 812 | { | 1834 | 812 | if (auto e = eof_check(range); SCN_UNLIKELY(!e)) { | 1835 | 0 | return unexpected(e); | 1836 | 0 | } | 1837 | | | 1838 | 812 | return ranges::next(range.begin()); | 1839 | 812 | } |
_ZN3scn2v34impl14read_code_unitINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEEEENS1_12eof_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_ Line | Count | Source | 1833 | 38 | { | 1834 | 38 | if (auto e = eof_check(range); SCN_UNLIKELY(!e)) { | 1835 | 0 | return unexpected(e); | 1836 | 0 | } | 1837 | | | 1838 | 38 | return ranges::next(range.begin()); | 1839 | 38 | } |
_ZN3scn2v34impl14read_code_unitINS0_6ranges6detail9subrange_8subrangeIPKwS8_EEEENS1_12eof_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESD_ Line | Count | Source | 1833 | 5.63k | { | 1834 | 5.63k | if (auto e = eof_check(range); SCN_UNLIKELY(!e)) { | 1835 | 0 | return unexpected(e); | 1836 | 0 | } | 1837 | | | 1838 | 5.63k | return ranges::next(range.begin()); | 1839 | 5.63k | } |
|
1840 | | |
1841 | | template <typename Range> |
1842 | | auto read_exactly_n_code_units(Range range, std::ptrdiff_t count) |
1843 | | -> eof_expected<ranges::const_iterator_t<Range>> |
1844 | 32.0k | { |
1845 | 32.0k | SCN_EXPECT(count >= 0); |
1846 | | |
1847 | 32.0k | if constexpr (ranges::sized_range<Range>) { |
1848 | 26.6k | const auto sz = static_cast<std::ptrdiff_t>(range.size()); |
1849 | 26.6k | if (sz < count) { |
1850 | 550 | return unexpected(eof_error::eof); |
1851 | 550 | } |
1852 | | |
1853 | 26.1k | return ranges::next(range.begin(), count); |
1854 | | } |
1855 | 5.37k | else { |
1856 | 5.37k | auto it = range.begin(); |
1857 | 5.37k | if (guaranteed_minimum_size(range) >= count) { |
1858 | 0 | return ranges::next(it, count); |
1859 | 0 | } |
1860 | | |
1861 | 20.7k | for (std::ptrdiff_t i = 0; i < count; ++i, (void)++it) { |
1862 | 15.9k | if (it == range.end()) { |
1863 | 550 | return unexpected(eof_error::eof); |
1864 | 550 | } |
1865 | 15.9k | } |
1866 | | |
1867 | 4.82k | return it; |
1868 | 5.37k | } |
1869 | 32.0k | } Unexecuted instantiation: _ZN3scn2v34impl25read_exactly_n_code_unitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEEEENS1_12eof_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_l Unexecuted instantiation: _ZN3scn2v34impl25read_exactly_n_code_unitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEEEENS1_12eof_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_l Unexecuted instantiation: _ZN3scn2v34impl25read_exactly_n_code_unitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS8_INS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEENSF_ISH_E8sentinelILb1EEEEEEENS1_12eof_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESS_l _ZN3scn2v34impl25read_exactly_n_code_unitsINS0_6ranges6detail9subrange_8subrangeIPKcS8_EEEENS1_12eof_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESD_l Line | Count | Source | 1844 | 21.7k | { | 1845 | 21.7k | SCN_EXPECT(count >= 0); | 1846 | | | 1847 | 21.7k | if constexpr (ranges::sized_range<Range>) { | 1848 | 21.7k | const auto sz = static_cast<std::ptrdiff_t>(range.size()); | 1849 | 21.7k | if (sz < count) { | 1850 | 422 | return unexpected(eof_error::eof); | 1851 | 422 | } | 1852 | | | 1853 | 21.3k | return ranges::next(range.begin(), count); | 1854 | | } | 1855 | | else { | 1856 | | auto it = range.begin(); | 1857 | | if (guaranteed_minimum_size(range) >= count) { | 1858 | | return ranges::next(it, count); | 1859 | | } | 1860 | | | 1861 | | for (std::ptrdiff_t i = 0; i < count; ++i, (void)++it) { | 1862 | | if (it == range.end()) { | 1863 | | return unexpected(eof_error::eof); | 1864 | | } | 1865 | | } | 1866 | | | 1867 | | return it; | 1868 | | } | 1869 | 21.7k | } |
Unexecuted instantiation: _ZN3scn2v34impl25read_exactly_n_code_unitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSA_EENS1_15take_width_viewINSt3__117basic_string_viewIcNSD_11char_traitsIcEEEEE8sentinelILb1EEEEEEENS1_12eof_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSD_9add_constIT_E4typeEEEEEEESO_l Unexecuted instantiation: _ZN3scn2v34impl25read_exactly_n_code_unitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS8_IPKcSA_EENS1_15take_width_viewINSt3__117basic_string_viewIcNSD_11char_traitsIcEEEEE8sentinelILb1EEEEENSC_ISI_E8sentinelILb1EEEEEEENS1_12eof_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSD_9add_constIT_E4typeEEEEEEESS_l _ZN3scn2v34impl25read_exactly_n_code_unitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEEEENS1_12eof_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_l Line | Count | Source | 1844 | 3.74k | { | 1845 | 3.74k | SCN_EXPECT(count >= 0); | 1846 | | | 1847 | | if constexpr (ranges::sized_range<Range>) { | 1848 | | const auto sz = static_cast<std::ptrdiff_t>(range.size()); | 1849 | | if (sz < count) { | 1850 | | return unexpected(eof_error::eof); | 1851 | | } | 1852 | | | 1853 | | return ranges::next(range.begin(), count); | 1854 | | } | 1855 | 3.74k | else { | 1856 | 3.74k | auto it = range.begin(); | 1857 | 3.74k | if (guaranteed_minimum_size(range) >= count) { | 1858 | 0 | return ranges::next(it, count); | 1859 | 0 | } | 1860 | | | 1861 | 13.8k | for (std::ptrdiff_t i = 0; i < count; ++i, (void)++it) { | 1862 | 10.2k | if (it == range.end()) { | 1863 | 210 | return unexpected(eof_error::eof); | 1864 | 210 | } | 1865 | 10.2k | } | 1866 | | | 1867 | 3.53k | return it; | 1868 | 3.74k | } | 1869 | 3.74k | } |
Unexecuted instantiation: _ZN3scn2v34impl25read_exactly_n_code_unitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEEEENS1_12eof_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_l Unexecuted instantiation: _ZN3scn2v34impl25read_exactly_n_code_unitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEEEENS1_12eof_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_l Unexecuted instantiation: _ZN3scn2v34impl25read_exactly_n_code_unitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS8_INS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEENSF_ISH_E8sentinelILb1EEEEEEENS1_12eof_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESS_l _ZN3scn2v34impl25read_exactly_n_code_unitsINS0_6ranges6detail9subrange_8subrangeIPKwS8_EEEENS1_12eof_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESD_l Line | Count | Source | 1844 | 4.90k | { | 1845 | 4.90k | SCN_EXPECT(count >= 0); | 1846 | | | 1847 | 4.90k | if constexpr (ranges::sized_range<Range>) { | 1848 | 4.90k | const auto sz = static_cast<std::ptrdiff_t>(range.size()); | 1849 | 4.90k | if (sz < count) { | 1850 | 128 | return unexpected(eof_error::eof); | 1851 | 128 | } | 1852 | | | 1853 | 4.77k | return ranges::next(range.begin(), count); | 1854 | | } | 1855 | | else { | 1856 | | auto it = range.begin(); | 1857 | | if (guaranteed_minimum_size(range) >= count) { | 1858 | | return ranges::next(it, count); | 1859 | | } | 1860 | | | 1861 | | for (std::ptrdiff_t i = 0; i < count; ++i, (void)++it) { | 1862 | | if (it == range.end()) { | 1863 | | return unexpected(eof_error::eof); | 1864 | | } | 1865 | | } | 1866 | | | 1867 | | return it; | 1868 | | } | 1869 | 4.90k | } |
Unexecuted instantiation: _ZN3scn2v34impl25read_exactly_n_code_unitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSA_EENS1_15take_width_viewINSt3__117basic_string_viewIwNSD_11char_traitsIwEEEEE8sentinelILb1EEEEEEENS1_12eof_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSD_9add_constIT_E4typeEEEEEEESO_l Unexecuted instantiation: _ZN3scn2v34impl25read_exactly_n_code_unitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS8_IPKwSA_EENS1_15take_width_viewINSt3__117basic_string_viewIwNSD_11char_traitsIwEEEEE8sentinelILb1EEEEENSC_ISI_E8sentinelILb1EEEEEEENS1_12eof_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSD_9add_constIT_E4typeEEEEEEESS_l _ZN3scn2v34impl25read_exactly_n_code_unitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEEEENS1_12eof_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_l Line | Count | Source | 1844 | 510 | { | 1845 | 510 | SCN_EXPECT(count >= 0); | 1846 | | | 1847 | | if constexpr (ranges::sized_range<Range>) { | 1848 | | const auto sz = static_cast<std::ptrdiff_t>(range.size()); | 1849 | | if (sz < count) { | 1850 | | return unexpected(eof_error::eof); | 1851 | | } | 1852 | | | 1853 | | return ranges::next(range.begin(), count); | 1854 | | } | 1855 | 510 | else { | 1856 | 510 | auto it = range.begin(); | 1857 | 510 | if (guaranteed_minimum_size(range) >= count) { | 1858 | 0 | return ranges::next(it, count); | 1859 | 0 | } | 1860 | | | 1861 | 1.63k | for (std::ptrdiff_t i = 0; i < count; ++i, (void)++it) { | 1862 | 1.22k | if (it == range.end()) { | 1863 | 92 | return unexpected(eof_error::eof); | 1864 | 92 | } | 1865 | 1.22k | } | 1866 | | | 1867 | 418 | return it; | 1868 | 510 | } | 1869 | 510 | } |
_ZN3scn2v34impl25read_exactly_n_code_unitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS8_IPKcSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEENSC_ISE_E8sentinelILb1EEEEEEENS1_12eof_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESP_l Line | Count | Source | 1844 | 254 | { | 1845 | 254 | SCN_EXPECT(count >= 0); | 1846 | | | 1847 | | if constexpr (ranges::sized_range<Range>) { | 1848 | | const auto sz = static_cast<std::ptrdiff_t>(range.size()); | 1849 | | if (sz < count) { | 1850 | | return unexpected(eof_error::eof); | 1851 | | } | 1852 | | | 1853 | | return ranges::next(range.begin(), count); | 1854 | | } | 1855 | 254 | else { | 1856 | 254 | auto it = range.begin(); | 1857 | 254 | if (guaranteed_minimum_size(range) >= count) { | 1858 | 0 | return ranges::next(it, count); | 1859 | 0 | } | 1860 | | | 1861 | 1.03k | for (std::ptrdiff_t i = 0; i < count; ++i, (void)++it) { | 1862 | 834 | if (it == range.end()) { | 1863 | 52 | return unexpected(eof_error::eof); | 1864 | 52 | } | 1865 | 834 | } | 1866 | | | 1867 | 202 | return it; | 1868 | 254 | } | 1869 | 254 | } |
_ZN3scn2v34impl25read_exactly_n_code_unitsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEEEEENS1_12eof_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_l Line | Count | Source | 1844 | 616 | { | 1845 | 616 | SCN_EXPECT(count >= 0); | 1846 | | | 1847 | | if constexpr (ranges::sized_range<Range>) { | 1848 | | const auto sz = static_cast<std::ptrdiff_t>(range.size()); | 1849 | | if (sz < count) { | 1850 | | return unexpected(eof_error::eof); | 1851 | | } | 1852 | | | 1853 | | return ranges::next(range.begin(), count); | 1854 | | } | 1855 | 616 | else { | 1856 | 616 | auto it = range.begin(); | 1857 | 616 | if (guaranteed_minimum_size(range) >= count) { | 1858 | 0 | return ranges::next(it, count); | 1859 | 0 | } | 1860 | | | 1861 | 3.04k | for (std::ptrdiff_t i = 0; i < count; ++i, (void)++it) { | 1862 | 2.56k | if (it == range.end()) { | 1863 | 134 | return unexpected(eof_error::eof); | 1864 | 134 | } | 1865 | 2.56k | } | 1866 | | | 1867 | 482 | return it; | 1868 | 616 | } | 1869 | 616 | } |
Unexecuted instantiation: _ZN3scn2v34impl25read_exactly_n_code_unitsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS4_18default_sentinel_tEEEEEEENS1_12eof_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_l Unexecuted instantiation: _ZN3scn2v34impl25read_exactly_n_code_unitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS8_IPKwSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEENSC_ISE_E8sentinelILb1EEEEEEENS1_12eof_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESP_l _ZN3scn2v34impl25read_exactly_n_code_unitsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEEEEENS1_12eof_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_l Line | Count | Source | 1844 | 248 | { | 1845 | 248 | SCN_EXPECT(count >= 0); | 1846 | | | 1847 | | if constexpr (ranges::sized_range<Range>) { | 1848 | | const auto sz = static_cast<std::ptrdiff_t>(range.size()); | 1849 | | if (sz < count) { | 1850 | | return unexpected(eof_error::eof); | 1851 | | } | 1852 | | | 1853 | | return ranges::next(range.begin(), count); | 1854 | | } | 1855 | 248 | else { | 1856 | 248 | auto it = range.begin(); | 1857 | 248 | if (guaranteed_minimum_size(range) >= count) { | 1858 | 0 | return ranges::next(it, count); | 1859 | 0 | } | 1860 | | | 1861 | 1.21k | for (std::ptrdiff_t i = 0; i < count; ++i, (void)++it) { | 1862 | 1.02k | if (it == range.end()) { | 1863 | 62 | return unexpected(eof_error::eof); | 1864 | 62 | } | 1865 | 1.02k | } | 1866 | | | 1867 | 186 | return it; | 1868 | 248 | } | 1869 | 248 | } |
Unexecuted instantiation: _ZN3scn2v34impl25read_exactly_n_code_unitsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS4_18default_sentinel_tEEEEEEENS1_12eof_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_l |
1870 | | |
1871 | | template <typename Iterator, typename CharT> |
1872 | | struct read_code_point_into_result { |
1873 | | Iterator iterator; |
1874 | | std::basic_string<CharT> codepoint; |
1875 | | |
1876 | | bool is_valid() const |
1877 | 523k | { |
1878 | 523k | return !codepoint.empty(); |
1879 | 523k | } Unexecuted instantiation: scn::v3::impl::read_code_point_into_result<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> >, char>::is_valid() const Unexecuted instantiation: scn::v3::impl::read_code_point_into_result<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>, char>::is_valid() const Unexecuted instantiation: scn::v3::impl::read_code_point_into_result<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> >, char>::is_valid() const scn::v3::impl::read_code_point_into_result<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, char>::is_valid() const Line | Count | Source | 1877 | 20.9k | { | 1878 | 20.9k | return !codepoint.empty(); | 1879 | 20.9k | } |
Unexecuted instantiation: scn::v3::impl::read_code_point_into_result<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, char>::is_valid() const scn::v3::impl::read_code_point_into_result<char const*, char>::is_valid() const Line | Count | Source | 1877 | 275k | { | 1878 | 275k | return !codepoint.empty(); | 1879 | 275k | } |
Unexecuted instantiation: scn::v3::impl::read_code_point_into_result<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> >, wchar_t>::is_valid() const Unexecuted instantiation: scn::v3::impl::read_code_point_into_result<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>, wchar_t>::is_valid() const Unexecuted instantiation: scn::v3::impl::read_code_point_into_result<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> >, wchar_t>::is_valid() const scn::v3::impl::read_code_point_into_result<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, wchar_t>::is_valid() const Line | Count | Source | 1877 | 8.01k | { | 1878 | 8.01k | return !codepoint.empty(); | 1879 | 8.01k | } |
scn::v3::impl::read_code_point_into_result<wchar_t const*, wchar_t>::is_valid() const Line | Count | Source | 1877 | 215k | { | 1878 | 215k | return !codepoint.empty(); | 1879 | 215k | } |
Unexecuted instantiation: scn::v3::impl::read_code_point_into_result<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, wchar_t>::is_valid() const scn::v3::impl::read_code_point_into_result<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> >, char>::is_valid() const Line | Count | Source | 1877 | 2.96k | { | 1878 | 2.96k | return !codepoint.empty(); | 1879 | 2.96k | } |
scn::v3::impl::read_code_point_into_result<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> >, wchar_t>::is_valid() const Line | Count | Source | 1877 | 714 | { | 1878 | 714 | return !codepoint.empty(); | 1879 | 714 | } |
|
1880 | | }; |
1881 | | |
1882 | | template <typename Range> |
1883 | | auto read_code_point_into(Range range) |
1884 | | -> read_code_point_into_result<ranges::const_iterator_t<Range>, |
1885 | | detail::char_t<Range>> |
1886 | 523k | { |
1887 | 523k | SCN_EXPECT(!is_range_eof(range)); |
1888 | 523k | using string_type = std::basic_string<detail::char_t<Range>>; |
1889 | | |
1890 | 523k | auto it = range.begin(); |
1891 | 523k | const auto len = detail::code_point_length_by_starting_code_unit(*it); |
1892 | | |
1893 | 523k | if (SCN_UNLIKELY(len == 0)) { |
1894 | 3.10k | ++it; |
1895 | 3.10k | it = get_start_for_next_code_point(ranges::subrange{it, range.end()}); |
1896 | 3.10k | return {it, {}}; |
1897 | 3.10k | } |
1898 | | |
1899 | 520k | if (len == 1) { |
1900 | 479k | ++it; |
1901 | 479k | return {it, string_type(1, *range.begin())}; |
1902 | 479k | } |
1903 | | |
1904 | 41.3k | ranges::advance(it, static_cast<std::ptrdiff_t>(len), range.end()); |
1905 | 41.3k | return {it, string_type{range.begin(), it}}; |
1906 | 520k | } Unexecuted instantiation: _ZN3scn2v34impl20read_code_point_intoINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS8_INS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEENSF_ISH_E8sentinelILb1EEEEEEENS1_27read_code_point_into_resultIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEENDTcl4implISS_EEE4typeEEESS_ Unexecuted instantiation: _ZN3scn2v34impl20read_code_point_intoINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEEEENS1_27read_code_point_into_resultIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEENDTcl4implISO_EEE4typeEEESO_ Unexecuted instantiation: _ZN3scn2v34impl20read_code_point_intoINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS8_IPKcSA_EENS1_15take_width_viewINSt3__117basic_string_viewIcNSD_11char_traitsIcEEEEE8sentinelILb1EEEEENSC_ISI_E8sentinelILb1EEEEEEENS1_27read_code_point_into_resultIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSD_9add_constIT_E4typeEEEEENDTcl4implISS_EEE4typeEEESS_ Unexecuted instantiation: _ZN3scn2v34impl20read_code_point_intoINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSA_EENS1_15take_width_viewINSt3__117basic_string_viewIcNSD_11char_traitsIcEEEEE8sentinelILb1EEEEEEENS1_27read_code_point_into_resultIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSD_9add_constIT_E4typeEEEEENDTcl4implISO_EEE4typeEEESO_ _ZN3scn2v34impl20read_code_point_intoINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEEEENS1_27read_code_point_into_resultIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEENDTcl4implISL_EEE4typeEEESL_ Line | Count | Source | 1886 | 20.9k | { | 1887 | 20.9k | SCN_EXPECT(!is_range_eof(range)); | 1888 | 20.9k | using string_type = std::basic_string<detail::char_t<Range>>; | 1889 | | | 1890 | 20.9k | auto it = range.begin(); | 1891 | 20.9k | const auto len = detail::code_point_length_by_starting_code_unit(*it); | 1892 | | | 1893 | 20.9k | if (SCN_UNLIKELY(len == 0)) { | 1894 | 2.15k | ++it; | 1895 | 2.15k | it = get_start_for_next_code_point(ranges::subrange{it, range.end()}); | 1896 | 2.15k | return {it, {}}; | 1897 | 2.15k | } | 1898 | | | 1899 | 18.7k | if (len == 1) { | 1900 | 15.6k | ++it; | 1901 | 15.6k | return {it, string_type(1, *range.begin())}; | 1902 | 15.6k | } | 1903 | | | 1904 | 3.10k | ranges::advance(it, static_cast<std::ptrdiff_t>(len), range.end()); | 1905 | 3.10k | return {it, string_type{range.begin(), it}}; | 1906 | 18.7k | } |
Unexecuted instantiation: _ZN3scn2v34impl20read_code_point_intoINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEEEENS1_27read_code_point_into_resultIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEENDTcl4implISG_EEE4typeEEESG_ _ZN3scn2v34impl20read_code_point_intoINS0_6ranges6detail9subrange_8subrangeIPKcS8_EEEENS1_27read_code_point_into_resultIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEENDTcl4implISD_EEE4typeEEESD_ Line | Count | Source | 1886 | 275k | { | 1887 | 275k | SCN_EXPECT(!is_range_eof(range)); | 1888 | 275k | using string_type = std::basic_string<detail::char_t<Range>>; | 1889 | | | 1890 | 275k | auto it = range.begin(); | 1891 | 275k | const auto len = detail::code_point_length_by_starting_code_unit(*it); | 1892 | | | 1893 | 275k | if (SCN_UNLIKELY(len == 0)) { | 1894 | 954 | ++it; | 1895 | 954 | it = get_start_for_next_code_point(ranges::subrange{it, range.end()}); | 1896 | 954 | return {it, {}}; | 1897 | 954 | } | 1898 | | | 1899 | 274k | if (len == 1) { | 1900 | 237k | ++it; | 1901 | 237k | return {it, string_type(1, *range.begin())}; | 1902 | 237k | } | 1903 | | | 1904 | 37.5k | ranges::advance(it, static_cast<std::ptrdiff_t>(len), range.end()); | 1905 | 37.5k | return {it, string_type{range.begin(), it}}; | 1906 | 274k | } |
Unexecuted instantiation: _ZN3scn2v34impl20read_code_point_intoINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS8_INS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEENSF_ISH_E8sentinelILb1EEEEEEENS1_27read_code_point_into_resultIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEENDTcl4implISS_EEE4typeEEESS_ Unexecuted instantiation: _ZN3scn2v34impl20read_code_point_intoINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEEEENS1_27read_code_point_into_resultIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEENDTcl4implISO_EEE4typeEEESO_ Unexecuted instantiation: _ZN3scn2v34impl20read_code_point_intoINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS8_IPKwSA_EENS1_15take_width_viewINSt3__117basic_string_viewIwNSD_11char_traitsIwEEEEE8sentinelILb1EEEEENSC_ISI_E8sentinelILb1EEEEEEENS1_27read_code_point_into_resultIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSD_9add_constIT_E4typeEEEEENDTcl4implISS_EEE4typeEEESS_ Unexecuted instantiation: _ZN3scn2v34impl20read_code_point_intoINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSA_EENS1_15take_width_viewINSt3__117basic_string_viewIwNSD_11char_traitsIwEEEEE8sentinelILb1EEEEEEENS1_27read_code_point_into_resultIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSD_9add_constIT_E4typeEEEEENDTcl4implISO_EEE4typeEEESO_ _ZN3scn2v34impl20read_code_point_intoINS0_6ranges6detail9subrange_8subrangeIPKwS8_EEEENS1_27read_code_point_into_resultIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEENDTcl4implISD_EEE4typeEEESD_ Line | Count | Source | 1886 | 215k | { | 1887 | 215k | SCN_EXPECT(!is_range_eof(range)); | 1888 | 215k | using string_type = std::basic_string<detail::char_t<Range>>; | 1889 | | | 1890 | 215k | auto it = range.begin(); | 1891 | 215k | const auto len = detail::code_point_length_by_starting_code_unit(*it); | 1892 | | | 1893 | 215k | if (SCN_UNLIKELY(len == 0)) { | 1894 | 0 | ++it; | 1895 | 0 | it = get_start_for_next_code_point(ranges::subrange{it, range.end()}); | 1896 | 0 | return {it, {}}; | 1897 | 0 | } | 1898 | | | 1899 | 215k | if (len == 1) { | 1900 | 215k | ++it; | 1901 | 215k | return {it, string_type(1, *range.begin())}; | 1902 | 215k | } | 1903 | | | 1904 | 0 | ranges::advance(it, static_cast<std::ptrdiff_t>(len), range.end()); | 1905 | 0 | return {it, string_type{range.begin(), it}}; | 1906 | 215k | } |
_ZN3scn2v34impl20read_code_point_intoINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEEEENS1_27read_code_point_into_resultIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEENDTcl4implISL_EEE4typeEEESL_ Line | Count | Source | 1886 | 8.01k | { | 1887 | 8.01k | SCN_EXPECT(!is_range_eof(range)); | 1888 | 8.01k | using string_type = std::basic_string<detail::char_t<Range>>; | 1889 | | | 1890 | 8.01k | auto it = range.begin(); | 1891 | 8.01k | const auto len = detail::code_point_length_by_starting_code_unit(*it); | 1892 | | | 1893 | 8.01k | if (SCN_UNLIKELY(len == 0)) { | 1894 | 0 | ++it; | 1895 | 0 | it = get_start_for_next_code_point(ranges::subrange{it, range.end()}); | 1896 | 0 | return {it, {}}; | 1897 | 0 | } | 1898 | | | 1899 | 8.01k | if (len == 1) { | 1900 | 8.01k | ++it; | 1901 | 8.01k | return {it, string_type(1, *range.begin())}; | 1902 | 8.01k | } | 1903 | | | 1904 | 0 | ranges::advance(it, static_cast<std::ptrdiff_t>(len), range.end()); | 1905 | 0 | return {it, string_type{range.begin(), it}}; | 1906 | 8.01k | } |
Unexecuted instantiation: _ZN3scn2v34impl20read_code_point_intoINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEEEENS1_27read_code_point_into_resultIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEENDTcl4implISG_EEE4typeEEESG_ _ZN3scn2v34impl20read_code_point_intoINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS8_IPKcSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEENSC_ISE_E8sentinelILb1EEEEEEENS1_27read_code_point_into_resultIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEENDTcl4implISP_EEE4typeEEESP_ Line | Count | Source | 1886 | 2.96k | { | 1887 | 2.96k | SCN_EXPECT(!is_range_eof(range)); | 1888 | 2.96k | using string_type = std::basic_string<detail::char_t<Range>>; | 1889 | | | 1890 | 2.96k | auto it = range.begin(); | 1891 | 2.96k | const auto len = detail::code_point_length_by_starting_code_unit(*it); | 1892 | | | 1893 | 2.96k | if (SCN_UNLIKELY(len == 0)) { | 1894 | 0 | ++it; | 1895 | 0 | it = get_start_for_next_code_point(ranges::subrange{it, range.end()}); | 1896 | 0 | return {it, {}}; | 1897 | 0 | } | 1898 | | | 1899 | 2.96k | if (len == 1) { | 1900 | 2.24k | ++it; | 1901 | 2.24k | return {it, string_type(1, *range.begin())}; | 1902 | 2.24k | } | 1903 | | | 1904 | 724 | ranges::advance(it, static_cast<std::ptrdiff_t>(len), range.end()); | 1905 | 724 | return {it, string_type{range.begin(), it}}; | 1906 | 2.96k | } |
Unexecuted instantiation: _ZN3scn2v34impl20read_code_point_intoINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEEEEENS1_27read_code_point_into_resultIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEENDTcl4implISF_EEE4typeEEESF_ Unexecuted instantiation: _ZN3scn2v34impl20read_code_point_intoINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS4_18default_sentinel_tEEEEEEENS1_27read_code_point_into_resultIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEENDTcl4implISI_EEE4typeEEESI_ _ZN3scn2v34impl20read_code_point_intoINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS8_IPKwSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEENSC_ISE_E8sentinelILb1EEEEEEENS1_27read_code_point_into_resultIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEENDTcl4implISP_EEE4typeEEESP_ Line | Count | Source | 1886 | 714 | { | 1887 | 714 | SCN_EXPECT(!is_range_eof(range)); | 1888 | 714 | using string_type = std::basic_string<detail::char_t<Range>>; | 1889 | | | 1890 | 714 | auto it = range.begin(); | 1891 | 714 | const auto len = detail::code_point_length_by_starting_code_unit(*it); | 1892 | | | 1893 | 714 | if (SCN_UNLIKELY(len == 0)) { | 1894 | 0 | ++it; | 1895 | 0 | it = get_start_for_next_code_point(ranges::subrange{it, range.end()}); | 1896 | 0 | return {it, {}}; | 1897 | 0 | } | 1898 | | | 1899 | 714 | if (len == 1) { | 1900 | 714 | ++it; | 1901 | 714 | return {it, string_type(1, *range.begin())}; | 1902 | 714 | } | 1903 | | | 1904 | 0 | ranges::advance(it, static_cast<std::ptrdiff_t>(len), range.end()); | 1905 | 0 | return {it, string_type{range.begin(), it}}; | 1906 | 714 | } |
Unexecuted instantiation: _ZN3scn2v34impl20read_code_point_intoINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEEEEENS1_27read_code_point_into_resultIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEENDTcl4implISF_EEE4typeEEESF_ Unexecuted instantiation: _ZN3scn2v34impl20read_code_point_intoINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS4_18default_sentinel_tEEEEEEENS1_27read_code_point_into_resultIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEENDTcl4implISI_EEE4typeEEESI_ |
1907 | | |
1908 | | template <typename Range> |
1909 | | auto read_code_point(Range range) -> ranges::const_iterator_t<Range> |
1910 | | { |
1911 | | return read_code_point_into(range).iterator; |
1912 | | } |
1913 | | |
1914 | | template <typename Range> |
1915 | | auto read_exactly_n_code_points(Range range, std::ptrdiff_t count) |
1916 | | -> eof_expected<ranges::const_iterator_t<Range>> |
1917 | | { |
1918 | | SCN_EXPECT(count >= 0); |
1919 | | |
1920 | | if (count > 0) { |
1921 | | if (auto e = eof_check(range); SCN_UNLIKELY(!e)) { |
1922 | | return unexpected(e); |
1923 | | } |
1924 | | } |
1925 | | |
1926 | | auto it = range.begin(); |
1927 | | for (std::ptrdiff_t i = 0; i < count; ++i) { |
1928 | | auto rng = ranges::subrange{it, range.end()}; |
1929 | | |
1930 | | if (auto e = eof_check(rng); SCN_UNLIKELY(!e)) { |
1931 | | return unexpected(e); |
1932 | | } |
1933 | | |
1934 | | it = read_code_point(rng); |
1935 | | } |
1936 | | |
1937 | | return it; |
1938 | | } |
1939 | | |
1940 | | template <typename Range> |
1941 | | auto read_until_code_unit(Range range, |
1942 | | function_ref<bool(detail::char_t<Range>)> pred) |
1943 | | -> ranges::const_iterator_t<Range> |
1944 | 5.51k | { |
1945 | 5.51k | if constexpr (ranges::common_range<Range>) { |
1946 | 2.67k | return std::find_if(range.begin(), range.end(), pred); |
1947 | | } |
1948 | 2.84k | else { |
1949 | 2.84k | auto first = range.begin(); |
1950 | 11.7k | for (; first != range.end(); ++first) { |
1951 | 11.3k | if (pred(*first)) { |
1952 | 2.38k | return first; |
1953 | 2.38k | } |
1954 | 11.3k | } |
1955 | 454 | return first; |
1956 | 2.84k | } |
1957 | 5.51k | } Unexecuted instantiation: _ZN3scn2v34impl20read_until_code_unitINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS4_18default_sentinel_tEEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESH_NS1_12function_refIFbNDTcl4implISH_EEE4typeEENS1_12fnref_detail11qual_fn_sigISP_E8functionEEE Unexecuted instantiation: _ZN3scn2v34impl20read_until_code_unitINS1_15take_width_viewINS3_INS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS4_18default_sentinel_tEEEEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESI_NS1_12function_refIFbNDTcl4implISI_EEE4typeEENS1_12fnref_detail11qual_fn_sigISQ_E8functionEEE Unexecuted instantiation: _ZN3scn2v34impl20read_until_code_unitINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESF_NS1_12function_refIFbNDTcl4implISF_EEE4typeEENS1_12fnref_detail11qual_fn_sigISN_E8functionEEE Unexecuted instantiation: _ZN3scn2v34impl20read_until_code_unitINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESN_NS1_12function_refIFbNDTcl4implISN_EEE4typeEENS1_12fnref_detail11qual_fn_sigISV_E8functionEEE Unexecuted instantiation: _ZN3scn2v34impl20read_until_code_unitINS1_15take_width_viewINSt3__117basic_string_viewIcNS4_11char_traitsIcEEEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS4_9add_constIT_E4typeEEEEESC_NS1_12function_refIFbNDTcl4implISC_EEE4typeEENS1_12fnref_detail11qual_fn_sigISK_E8functionEEE Unexecuted instantiation: _ZN3scn2v34impl20read_until_code_unitINS1_15take_width_viewINS3_INSt3__117basic_string_viewIcNS4_11char_traitsIcEEEEEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS4_9add_constIT_E4typeEEEEESD_NS1_12function_refIFbNDTcl4implISD_EEE4typeEENS1_12fnref_detail11qual_fn_sigISL_E8functionEEE Unexecuted instantiation: _ZN3scn2v34impl20read_until_code_unitINSt3__117basic_string_viewIcNS3_11char_traitsIcEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS3_9add_constIT_E4typeEEEEESA_NS1_12function_refIFbNDTcl4implISA_EEE4typeEENS1_12fnref_detail11qual_fn_sigISI_E8functionEEE _ZN3scn2v34impl20read_until_code_unitINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESK_NS1_12function_refIFbNDTcl4implISK_EEE4typeEENS1_12fnref_detail11qual_fn_sigISS_E8functionEEE Line | Count | Source | 1944 | 1.04k | { | 1945 | | if constexpr (ranges::common_range<Range>) { | 1946 | | return std::find_if(range.begin(), range.end(), pred); | 1947 | | } | 1948 | 1.04k | else { | 1949 | 1.04k | auto first = range.begin(); | 1950 | 1.04k | for (; first != range.end(); ++first) { | 1951 | 1.04k | if (pred(*first)) { | 1952 | 1.04k | return first; | 1953 | 1.04k | } | 1954 | 1.04k | } | 1955 | 0 | return first; | 1956 | 1.04k | } | 1957 | 1.04k | } |
_ZN3scn2v34impl20read_until_code_unitINS0_6ranges6detail9subrange_8subrangeIPKcS8_EEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESC_NS1_12function_refIFbNDTcl4implISC_EEE4typeEENS1_12fnref_detail11qual_fn_sigISK_E8functionEEE Line | Count | Source | 1944 | 2.00k | { | 1945 | 2.00k | if constexpr (ranges::common_range<Range>) { | 1946 | 2.00k | return std::find_if(range.begin(), range.end(), pred); | 1947 | | } | 1948 | | else { | 1949 | | auto first = range.begin(); | 1950 | | for (; first != range.end(); ++first) { | 1951 | | if (pred(*first)) { | 1952 | | return first; | 1953 | | } | 1954 | | } | 1955 | | return first; | 1956 | | } | 1957 | 2.00k | } |
_ZN3scn2v34impl20read_until_code_unitINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESE_NS1_12function_refIFbNDTcl4implISE_EEE4typeEENS1_12fnref_detail11qual_fn_sigISM_E8functionEEE Line | Count | Source | 1944 | 488 | { | 1945 | | if constexpr (ranges::common_range<Range>) { | 1946 | | return std::find_if(range.begin(), range.end(), pred); | 1947 | | } | 1948 | 488 | else { | 1949 | 488 | auto first = range.begin(); | 1950 | 7.68k | for (; first != range.end(); ++first) { | 1951 | 7.43k | if (pred(*first)) { | 1952 | 238 | return first; | 1953 | 238 | } | 1954 | 7.43k | } | 1955 | 250 | return first; | 1956 | 488 | } | 1957 | 488 | } |
Unexecuted instantiation: _ZN3scn2v34impl20read_until_code_unitINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS4_18default_sentinel_tEEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESH_NS1_12function_refIFbNDTcl4implISH_EEE4typeEENS1_12fnref_detail11qual_fn_sigISP_E8functionEEE Unexecuted instantiation: _ZN3scn2v34impl20read_until_code_unitINS1_15take_width_viewINS3_INS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS4_18default_sentinel_tEEEEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESI_NS1_12function_refIFbNDTcl4implISI_EEE4typeEENS1_12fnref_detail11qual_fn_sigISQ_E8functionEEE Unexecuted instantiation: _ZN3scn2v34impl20read_until_code_unitINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESF_NS1_12function_refIFbNDTcl4implISF_EEE4typeEENS1_12fnref_detail11qual_fn_sigISN_E8functionEEE Unexecuted instantiation: _ZN3scn2v34impl20read_until_code_unitINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESN_NS1_12function_refIFbNDTcl4implISN_EEE4typeEENS1_12fnref_detail11qual_fn_sigISV_E8functionEEE Unexecuted instantiation: _ZN3scn2v34impl20read_until_code_unitINS1_15take_width_viewINSt3__117basic_string_viewIwNS4_11char_traitsIwEEEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS4_9add_constIT_E4typeEEEEESC_NS1_12function_refIFbNDTcl4implISC_EEE4typeEENS1_12fnref_detail11qual_fn_sigISK_E8functionEEE Unexecuted instantiation: _ZN3scn2v34impl20read_until_code_unitINS1_15take_width_viewINS3_INSt3__117basic_string_viewIwNS4_11char_traitsIwEEEEEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS4_9add_constIT_E4typeEEEEESD_NS1_12function_refIFbNDTcl4implISD_EEE4typeEENS1_12fnref_detail11qual_fn_sigISL_E8functionEEE Unexecuted instantiation: _ZN3scn2v34impl20read_until_code_unitINSt3__117basic_string_viewIwNS3_11char_traitsIwEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS3_9add_constIT_E4typeEEEEESA_NS1_12function_refIFbNDTcl4implISA_EEE4typeEENS1_12fnref_detail11qual_fn_sigISI_E8functionEEE _ZN3scn2v34impl20read_until_code_unitINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESK_NS1_12function_refIFbNDTcl4implISK_EEE4typeEENS1_12fnref_detail11qual_fn_sigISS_E8functionEEE Line | Count | Source | 1944 | 436 | { | 1945 | | if constexpr (ranges::common_range<Range>) { | 1946 | | return std::find_if(range.begin(), range.end(), pred); | 1947 | | } | 1948 | 436 | else { | 1949 | 436 | auto first = range.begin(); | 1950 | 436 | for (; first != range.end(); ++first) { | 1951 | 436 | if (pred(*first)) { | 1952 | 436 | return first; | 1953 | 436 | } | 1954 | 436 | } | 1955 | 0 | return first; | 1956 | 436 | } | 1957 | 436 | } |
_ZN3scn2v34impl20read_until_code_unitINS0_6ranges6detail9subrange_8subrangeIPKwS8_EEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESC_NS1_12function_refIFbNDTcl4implISC_EEE4typeEENS1_12fnref_detail11qual_fn_sigISK_E8functionEEE Line | Count | Source | 1944 | 664 | { | 1945 | 664 | if constexpr (ranges::common_range<Range>) { | 1946 | 664 | return std::find_if(range.begin(), range.end(), pred); | 1947 | | } | 1948 | | else { | 1949 | | auto first = range.begin(); | 1950 | | for (; first != range.end(); ++first) { | 1951 | | if (pred(*first)) { | 1952 | | return first; | 1953 | | } | 1954 | | } | 1955 | | return first; | 1956 | | } | 1957 | 664 | } |
_ZN3scn2v34impl20read_until_code_unitINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESE_NS1_12function_refIFbNDTcl4implISE_EEE4typeEENS1_12fnref_detail11qual_fn_sigISM_E8functionEEE Line | Count | Source | 1944 | 202 | { | 1945 | | if constexpr (ranges::common_range<Range>) { | 1946 | | return std::find_if(range.begin(), range.end(), pred); | 1947 | | } | 1948 | 202 | else { | 1949 | 202 | auto first = range.begin(); | 1950 | 1.64k | for (; first != range.end(); ++first) { | 1951 | 1.52k | if (pred(*first)) { | 1952 | 86 | return first; | 1953 | 86 | } | 1954 | 1.52k | } | 1955 | 116 | return first; | 1956 | 202 | } | 1957 | 202 | } |
_ZN3scn2v34impl20read_until_code_unitINS1_15take_width_viewINS3_INS0_6ranges6detail9subrange_8subrangeIPKcS9_EEEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESF_NS1_12function_refIFbNDTcl4implISF_EEE4typeEENS1_12fnref_detail11qual_fn_sigISN_E8functionEEE Line | Count | Source | 1944 | 424 | { | 1945 | | if constexpr (ranges::common_range<Range>) { | 1946 | | return std::find_if(range.begin(), range.end(), pred); | 1947 | | } | 1948 | 424 | else { | 1949 | 424 | auto first = range.begin(); | 1950 | 660 | for (; first != range.end(); ++first) { | 1951 | 606 | if (pred(*first)) { | 1952 | 370 | return first; | 1953 | 370 | } | 1954 | 606 | } | 1955 | 54 | return first; | 1956 | 424 | } | 1957 | 424 | } |
_ZN3scn2v34impl20read_until_code_unitINS1_15take_width_viewINS3_INS0_6ranges6detail9subrange_8subrangeIPKwS9_EEEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESF_NS1_12function_refIFbNDTcl4implISF_EEE4typeEENS1_12fnref_detail11qual_fn_sigISN_E8functionEEE Line | Count | Source | 1944 | 250 | { | 1945 | | if constexpr (ranges::common_range<Range>) { | 1946 | | return std::find_if(range.begin(), range.end(), pred); | 1947 | | } | 1948 | 250 | else { | 1949 | 250 | auto first = range.begin(); | 1950 | 330 | for (; first != range.end(); ++first) { | 1951 | 296 | if (pred(*first)) { | 1952 | 216 | return first; | 1953 | 216 | } | 1954 | 296 | } | 1955 | 34 | return first; | 1956 | 250 | } | 1957 | 250 | } |
|
1958 | | |
1959 | | template <typename Range> |
1960 | | auto read_while_code_unit(Range range, |
1961 | | function_ref<bool(detail::char_t<Range>)> pred) |
1962 | | -> ranges::const_iterator_t<Range> |
1963 | 4.81k | { |
1964 | 4.81k | return read_until_code_unit(range, std::not_fn(pred)); |
1965 | 4.81k | } Unexecuted instantiation: _ZN3scn2v34impl20read_while_code_unitINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS4_18default_sentinel_tEEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESH_NS1_12function_refIFbNDTcl4implISH_EEE4typeEENS1_12fnref_detail11qual_fn_sigISP_E8functionEEE Unexecuted instantiation: _ZN3scn2v34impl20read_while_code_unitINS1_15take_width_viewINS3_INS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS4_18default_sentinel_tEEEEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESI_NS1_12function_refIFbNDTcl4implISI_EEE4typeEENS1_12fnref_detail11qual_fn_sigISQ_E8functionEEE Unexecuted instantiation: _ZN3scn2v34impl20read_while_code_unitINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESF_NS1_12function_refIFbNDTcl4implISF_EEE4typeEENS1_12fnref_detail11qual_fn_sigISN_E8functionEEE Unexecuted instantiation: _ZN3scn2v34impl20read_while_code_unitINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESN_NS1_12function_refIFbNDTcl4implISN_EEE4typeEENS1_12fnref_detail11qual_fn_sigISV_E8functionEEE Unexecuted instantiation: _ZN3scn2v34impl20read_while_code_unitINS1_15take_width_viewINSt3__117basic_string_viewIcNS4_11char_traitsIcEEEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS4_9add_constIT_E4typeEEEEESC_NS1_12function_refIFbNDTcl4implISC_EEE4typeEENS1_12fnref_detail11qual_fn_sigISK_E8functionEEE Unexecuted instantiation: _ZN3scn2v34impl20read_while_code_unitINS1_15take_width_viewINS3_INSt3__117basic_string_viewIcNS4_11char_traitsIcEEEEEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS4_9add_constIT_E4typeEEEEESD_NS1_12function_refIFbNDTcl4implISD_EEE4typeEENS1_12fnref_detail11qual_fn_sigISL_E8functionEEE Unexecuted instantiation: _ZN3scn2v34impl20read_while_code_unitINSt3__117basic_string_viewIcNS3_11char_traitsIcEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS3_9add_constIT_E4typeEEEEESA_NS1_12function_refIFbNDTcl4implISA_EEE4typeEENS1_12fnref_detail11qual_fn_sigISI_E8functionEEE _ZN3scn2v34impl20read_while_code_unitINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESK_NS1_12function_refIFbNDTcl4implISK_EEE4typeEENS1_12fnref_detail11qual_fn_sigISS_E8functionEEE Line | Count | Source | 1963 | 1.04k | { | 1964 | 1.04k | return read_until_code_unit(range, std::not_fn(pred)); | 1965 | 1.04k | } |
_ZN3scn2v34impl20read_while_code_unitINS0_6ranges6detail9subrange_8subrangeIPKcS8_EEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESC_NS1_12function_refIFbNDTcl4implISC_EEE4typeEENS1_12fnref_detail11qual_fn_sigISK_E8functionEEE Line | Count | Source | 1963 | 1.80k | { | 1964 | 1.80k | return read_until_code_unit(range, std::not_fn(pred)); | 1965 | 1.80k | } |
_ZN3scn2v34impl20read_while_code_unitINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESE_NS1_12function_refIFbNDTcl4implISE_EEE4typeEENS1_12fnref_detail11qual_fn_sigISM_E8functionEEE Line | Count | Source | 1963 | 260 | { | 1964 | 260 | return read_until_code_unit(range, std::not_fn(pred)); | 1965 | 260 | } |
Unexecuted instantiation: _ZN3scn2v34impl20read_while_code_unitINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS4_18default_sentinel_tEEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESH_NS1_12function_refIFbNDTcl4implISH_EEE4typeEENS1_12fnref_detail11qual_fn_sigISP_E8functionEEE Unexecuted instantiation: _ZN3scn2v34impl20read_while_code_unitINS1_15take_width_viewINS3_INS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS4_18default_sentinel_tEEEEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESI_NS1_12function_refIFbNDTcl4implISI_EEE4typeEENS1_12fnref_detail11qual_fn_sigISQ_E8functionEEE Unexecuted instantiation: _ZN3scn2v34impl20read_while_code_unitINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESF_NS1_12function_refIFbNDTcl4implISF_EEE4typeEENS1_12fnref_detail11qual_fn_sigISN_E8functionEEE Unexecuted instantiation: _ZN3scn2v34impl20read_while_code_unitINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESN_NS1_12function_refIFbNDTcl4implISN_EEE4typeEENS1_12fnref_detail11qual_fn_sigISV_E8functionEEE Unexecuted instantiation: _ZN3scn2v34impl20read_while_code_unitINS1_15take_width_viewINSt3__117basic_string_viewIwNS4_11char_traitsIwEEEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS4_9add_constIT_E4typeEEEEESC_NS1_12function_refIFbNDTcl4implISC_EEE4typeEENS1_12fnref_detail11qual_fn_sigISK_E8functionEEE Unexecuted instantiation: _ZN3scn2v34impl20read_while_code_unitINS1_15take_width_viewINS3_INSt3__117basic_string_viewIwNS4_11char_traitsIwEEEEEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS4_9add_constIT_E4typeEEEEESD_NS1_12function_refIFbNDTcl4implISD_EEE4typeEENS1_12fnref_detail11qual_fn_sigISL_E8functionEEE Unexecuted instantiation: _ZN3scn2v34impl20read_while_code_unitINSt3__117basic_string_viewIwNS3_11char_traitsIwEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS3_9add_constIT_E4typeEEEEESA_NS1_12function_refIFbNDTcl4implISA_EEE4typeEENS1_12fnref_detail11qual_fn_sigISI_E8functionEEE _ZN3scn2v34impl20read_while_code_unitINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESK_NS1_12function_refIFbNDTcl4implISK_EEE4typeEENS1_12fnref_detail11qual_fn_sigISS_E8functionEEE Line | Count | Source | 1963 | 436 | { | 1964 | 436 | return read_until_code_unit(range, std::not_fn(pred)); | 1965 | 436 | } |
_ZN3scn2v34impl20read_while_code_unitINS0_6ranges6detail9subrange_8subrangeIPKwS8_EEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESC_NS1_12function_refIFbNDTcl4implISC_EEE4typeEENS1_12fnref_detail11qual_fn_sigISK_E8functionEEE Line | Count | Source | 1963 | 514 | { | 1964 | 514 | return read_until_code_unit(range, std::not_fn(pred)); | 1965 | 514 | } |
_ZN3scn2v34impl20read_while_code_unitINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESE_NS1_12function_refIFbNDTcl4implISE_EEE4typeEENS1_12fnref_detail11qual_fn_sigISM_E8functionEEE Line | Count | Source | 1963 | 88 | { | 1964 | 88 | return read_until_code_unit(range, std::not_fn(pred)); | 1965 | 88 | } |
_ZN3scn2v34impl20read_while_code_unitINS1_15take_width_viewINS3_INS0_6ranges6detail9subrange_8subrangeIPKcS9_EEEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESF_NS1_12function_refIFbNDTcl4implISF_EEE4typeEENS1_12fnref_detail11qual_fn_sigISN_E8functionEEE Line | Count | Source | 1963 | 424 | { | 1964 | 424 | return read_until_code_unit(range, std::not_fn(pred)); | 1965 | 424 | } |
_ZN3scn2v34impl20read_while_code_unitINS1_15take_width_viewINS3_INS0_6ranges6detail9subrange_8subrangeIPKwS9_EEEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESF_NS1_12function_refIFbNDTcl4implISF_EEE4typeEENS1_12fnref_detail11qual_fn_sigISN_E8functionEEE Line | Count | Source | 1963 | 250 | { | 1964 | 250 | return read_until_code_unit(range, std::not_fn(pred)); | 1965 | 250 | } |
|
1966 | | |
1967 | | template <typename Range> |
1968 | | auto read_until1_code_unit(Range range, |
1969 | | function_ref<bool(detail::char_t<Range>)> pred) |
1970 | | -> parse_expected<ranges::const_iterator_t<Range>> |
1971 | | { |
1972 | | auto it = read_until_code_unit(range, pred); |
1973 | | if (it == range.begin()) { |
1974 | | return unexpected(parse_error::error); |
1975 | | } |
1976 | | return it; |
1977 | | } |
1978 | | |
1979 | | template <typename Range> |
1980 | | auto read_while1_code_unit(Range range, |
1981 | | function_ref<bool(detail::char_t<Range>)> pred) |
1982 | | -> parse_expected<ranges::const_iterator_t<Range>> |
1983 | 1.50k | { |
1984 | 1.50k | auto it = read_while_code_unit(range, pred); |
1985 | 1.50k | if (it == range.begin()) { |
1986 | 1.50k | return unexpected(parse_error::error); |
1987 | 1.50k | } |
1988 | 0 | return it; |
1989 | 1.50k | } Unexecuted instantiation: _ZN3scn2v34impl21read_while1_code_unitINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_NS1_12function_refIFbNDTcl4implISO_EEE4typeEENS1_12fnref_detail11qual_fn_sigISX_E8functionEEE Unexecuted instantiation: _ZN3scn2v34impl21read_while1_code_unitINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_NS1_12function_refIFbNDTcl4implISG_EEE4typeEENS1_12fnref_detail11qual_fn_sigISP_E8functionEEE _ZN3scn2v34impl21read_while1_code_unitINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_NS1_12function_refIFbNDTcl4implISL_EEE4typeEENS1_12fnref_detail11qual_fn_sigISU_E8functionEEE Line | Count | Source | 1983 | 1.04k | { | 1984 | 1.04k | auto it = read_while_code_unit(range, pred); | 1985 | 1.04k | if (it == range.begin()) { | 1986 | 1.04k | return unexpected(parse_error::error); | 1987 | 1.04k | } | 1988 | 0 | return it; | 1989 | 1.04k | } |
_ZN3scn2v34impl21read_while1_code_unitINS0_6ranges6detail9subrange_8subrangeIPKcS8_EEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESD_NS1_12function_refIFbNDTcl4implISD_EEE4typeEENS1_12fnref_detail11qual_fn_sigISM_E8functionEEE Line | Count | Source | 1983 | 22 | { | 1984 | 22 | auto it = read_while_code_unit(range, pred); | 1985 | 22 | if (it == range.begin()) { | 1986 | 22 | return unexpected(parse_error::error); | 1987 | 22 | } | 1988 | 0 | return it; | 1989 | 22 | } |
Unexecuted instantiation: _ZN3scn2v34impl21read_while1_code_unitINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_NS1_12function_refIFbNDTcl4implISO_EEE4typeEENS1_12fnref_detail11qual_fn_sigISX_E8functionEEE Unexecuted instantiation: _ZN3scn2v34impl21read_while1_code_unitINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_NS1_12function_refIFbNDTcl4implISG_EEE4typeEENS1_12fnref_detail11qual_fn_sigISP_E8functionEEE _ZN3scn2v34impl21read_while1_code_unitINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_NS1_12function_refIFbNDTcl4implISL_EEE4typeEENS1_12fnref_detail11qual_fn_sigISU_E8functionEEE Line | Count | Source | 1983 | 436 | { | 1984 | 436 | auto it = read_while_code_unit(range, pred); | 1985 | 436 | if (it == range.begin()) { | 1986 | 436 | return unexpected(parse_error::error); | 1987 | 436 | } | 1988 | 0 | return it; | 1989 | 436 | } |
_ZN3scn2v34impl21read_while1_code_unitINS0_6ranges6detail9subrange_8subrangeIPKwS8_EEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESD_NS1_12function_refIFbNDTcl4implISD_EEE4typeEENS1_12fnref_detail11qual_fn_sigISM_E8functionEEE Line | Count | Source | 1983 | 8 | { | 1984 | 8 | auto it = read_while_code_unit(range, pred); | 1985 | 8 | if (it == range.begin()) { | 1986 | 8 | return unexpected(parse_error::error); | 1987 | 8 | } | 1988 | 0 | return it; | 1989 | 8 | } |
|
1990 | | |
1991 | | template <typename Range, typename CodeUnits> |
1992 | | auto read_until_code_units(Range range, const CodeUnits& needle) |
1993 | | -> ranges::const_iterator_t<Range> |
1994 | 168 | { |
1995 | 168 | static_assert(ranges::common_range<CodeUnits>); |
1996 | | |
1997 | 168 | if constexpr (ranges::common_range<Range>) { |
1998 | 78 | return std::search(range.begin(), range.end(), needle.begin(), |
1999 | 78 | needle.end()); |
2000 | | } |
2001 | 90 | else { |
2002 | 90 | auto first = range.begin(); |
2003 | 906 | while (true) { |
2004 | 906 | auto it = first; |
2005 | 1.11k | for (auto needle_it = needle.begin();; ++it, (void)++needle_it) { |
2006 | 1.11k | if (needle_it == needle.end()) { |
2007 | 60 | return first; |
2008 | 60 | } |
2009 | 1.05k | if (it == range.end()) { |
2010 | 30 | return it; |
2011 | 30 | } |
2012 | 1.02k | if (*it != *needle_it) { |
2013 | 816 | break; |
2014 | 816 | } |
2015 | 1.02k | } |
2016 | 816 | ++first; |
2017 | 816 | } |
2018 | 90 | } |
2019 | 168 | } Unexecuted instantiation: _ZN3scn2v34impl21read_until_code_unitsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS4_18default_sentinel_tEEEEENSt3__117basic_string_viewIcNSF_11char_traitsIcEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSF_9add_constIT_E4typeEEEEESL_RKT0_ Unexecuted instantiation: _ZN3scn2v34impl21read_until_code_unitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEENSt3__117basic_string_viewIcNSD_11char_traitsIcEEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSD_9add_constIT_E4typeEEEEESJ_RKT0_ _ZN3scn2v34impl21read_until_code_unitsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEEENSt3__117basic_string_viewIcNSC_11char_traitsIcEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSC_9add_constIT_E4typeEEEEESI_RKT0_ Line | Count | Source | 1994 | 90 | { | 1995 | 90 | static_assert(ranges::common_range<CodeUnits>); | 1996 | | | 1997 | | if constexpr (ranges::common_range<Range>) { | 1998 | | return std::search(range.begin(), range.end(), needle.begin(), | 1999 | | needle.end()); | 2000 | | } | 2001 | 90 | else { | 2002 | 90 | auto first = range.begin(); | 2003 | 906 | while (true) { | 2004 | 906 | auto it = first; | 2005 | 1.11k | for (auto needle_it = needle.begin();; ++it, (void)++needle_it) { | 2006 | 1.11k | if (needle_it == needle.end()) { | 2007 | 60 | return first; | 2008 | 60 | } | 2009 | 1.05k | if (it == range.end()) { | 2010 | 30 | return it; | 2011 | 30 | } | 2012 | 1.02k | if (*it != *needle_it) { | 2013 | 816 | break; | 2014 | 816 | } | 2015 | 1.02k | } | 2016 | 816 | ++first; | 2017 | 816 | } | 2018 | 90 | } | 2019 | 90 | } |
_ZN3scn2v34impl21read_until_code_unitsINS0_6ranges6detail9subrange_8subrangeIPKcS8_EENSt3__117basic_string_viewIcNSA_11char_traitsIcEEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSA_9add_constIT_E4typeEEEEESG_RKT0_ Line | Count | Source | 1994 | 78 | { | 1995 | 78 | static_assert(ranges::common_range<CodeUnits>); | 1996 | | | 1997 | 78 | if constexpr (ranges::common_range<Range>) { | 1998 | 78 | return std::search(range.begin(), range.end(), needle.begin(), | 1999 | 78 | needle.end()); | 2000 | | } | 2001 | | else { | 2002 | | auto first = range.begin(); | 2003 | | while (true) { | 2004 | | auto it = first; | 2005 | | for (auto needle_it = needle.begin();; ++it, (void)++needle_it) { | 2006 | | if (needle_it == needle.end()) { | 2007 | | return first; | 2008 | | } | 2009 | | if (it == range.end()) { | 2010 | | return it; | 2011 | | } | 2012 | | if (*it != *needle_it) { | 2013 | | break; | 2014 | | } | 2015 | | } | 2016 | | ++first; | 2017 | | } | 2018 | | } | 2019 | 78 | } |
Unexecuted instantiation: _ZN3scn2v34impl21read_until_code_unitsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS4_18default_sentinel_tEEEEENSt3__117basic_string_viewIwNSF_11char_traitsIwEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSF_9add_constIT_E4typeEEEEESL_RKT0_ Unexecuted instantiation: _ZN3scn2v34impl21read_until_code_unitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEENSt3__117basic_string_viewIwNSD_11char_traitsIwEEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSD_9add_constIT_E4typeEEEEESJ_RKT0_ Unexecuted instantiation: _ZN3scn2v34impl21read_until_code_unitsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEEENSt3__117basic_string_viewIwNSC_11char_traitsIwEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSC_9add_constIT_E4typeEEEEESI_RKT0_ Unexecuted instantiation: _ZN3scn2v34impl21read_until_code_unitsINS0_6ranges6detail9subrange_8subrangeIPKwS8_EENSt3__117basic_string_viewIwNSA_11char_traitsIwEEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSA_9add_constIT_E4typeEEEEESG_RKT0_ |
2020 | | |
2021 | | template <typename Range, typename CodeUnits> |
2022 | | auto read_while_code_units(Range range, const CodeUnits& needle) |
2023 | | -> ranges::const_iterator_t<Range> |
2024 | 638 | { |
2025 | 638 | static_assert(ranges::common_range<CodeUnits>); |
2026 | | |
2027 | 638 | auto it = range.begin(); |
2028 | 942 | while (it != range.end()) { |
2029 | 912 | auto r = read_exactly_n_code_units(ranges::subrange{it, range.end()}, |
2030 | 912 | needle.size()); |
2031 | 912 | if (!r) { |
2032 | 86 | return it; |
2033 | 86 | } |
2034 | 826 | static_assert( |
2035 | 826 | std::is_same_v<decltype(it), detail::remove_cvref_t<decltype(*r)>>); |
2036 | 826 | if (!std::equal(it, *r, needle.begin())) { |
2037 | 522 | return it; |
2038 | 522 | } |
2039 | 304 | it = *r; |
2040 | 304 | } |
2041 | 30 | SCN_ENSURE(it == range.end()); |
2042 | 30 | return it; |
2043 | 30 | } Unexecuted instantiation: _ZN3scn2v34impl21read_while_code_unitsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS4_18default_sentinel_tEEEEENSt3__117basic_string_viewIcNSF_11char_traitsIcEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSF_9add_constIT_E4typeEEEEESL_RKT0_ Unexecuted instantiation: _ZN3scn2v34impl21read_while_code_unitsINS1_15take_width_viewINS3_INS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS4_18default_sentinel_tEEEEEEENSt3__117basic_string_viewIcNSG_11char_traitsIcEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSG_9add_constIT_E4typeEEEEESM_RKT0_ Unexecuted instantiation: _ZN3scn2v34impl21read_while_code_unitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEENSt3__117basic_string_viewIcNSD_11char_traitsIcEEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSD_9add_constIT_E4typeEEEEESJ_RKT0_ Unexecuted instantiation: _ZN3scn2v34impl21read_while_code_unitsINS1_15take_width_viewINSt3__117basic_string_viewIcNS4_11char_traitsIcEEEEEES8_EEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS4_9add_constIT_E4typeEEEEESC_RKT0_ Unexecuted instantiation: _ZN3scn2v34impl21read_while_code_unitsINS1_15take_width_viewINS3_INSt3__117basic_string_viewIcNS4_11char_traitsIcEEEEEEEES8_EEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS4_9add_constIT_E4typeEEEEESD_RKT0_ Unexecuted instantiation: _ZN3scn2v34impl21read_while_code_unitsINSt3__117basic_string_viewIcNS3_11char_traitsIcEEEES7_EEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS3_9add_constIT_E4typeEEEEESA_RKT0_ _ZN3scn2v34impl21read_while_code_unitsINS0_6ranges6detail9subrange_8subrangeIPKcS8_EENSt3__117basic_string_viewIcNSA_11char_traitsIcEEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSA_9add_constIT_E4typeEEEEESG_RKT0_ Line | Count | Source | 2024 | 200 | { | 2025 | 200 | static_assert(ranges::common_range<CodeUnits>); | 2026 | | | 2027 | 200 | auto it = range.begin(); | 2028 | 352 | while (it != range.end()) { | 2029 | 352 | auto r = read_exactly_n_code_units(ranges::subrange{it, range.end()}, | 2030 | 352 | needle.size()); | 2031 | 352 | if (!r) { | 2032 | 6 | return it; | 2033 | 6 | } | 2034 | 346 | static_assert( | 2035 | 346 | std::is_same_v<decltype(it), detail::remove_cvref_t<decltype(*r)>>); | 2036 | 346 | if (!std::equal(it, *r, needle.begin())) { | 2037 | 194 | return it; | 2038 | 194 | } | 2039 | 152 | it = *r; | 2040 | 152 | } | 2041 | 0 | SCN_ENSURE(it == range.end()); | 2042 | 0 | return it; | 2043 | 0 | } |
_ZN3scn2v34impl21read_while_code_unitsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEEENSt3__117basic_string_viewIcNSC_11char_traitsIcEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSC_9add_constIT_E4typeEEEEESI_RKT0_ Line | Count | Source | 2024 | 184 | { | 2025 | 184 | static_assert(ranges::common_range<CodeUnits>); | 2026 | | | 2027 | 184 | auto it = range.begin(); | 2028 | 336 | while (it != range.end()) { | 2029 | 306 | auto r = read_exactly_n_code_units(ranges::subrange{it, range.end()}, | 2030 | 306 | needle.size()); | 2031 | 306 | if (!r) { | 2032 | 28 | return it; | 2033 | 28 | } | 2034 | 278 | static_assert( | 2035 | 278 | std::is_same_v<decltype(it), detail::remove_cvref_t<decltype(*r)>>); | 2036 | 278 | if (!std::equal(it, *r, needle.begin())) { | 2037 | 126 | return it; | 2038 | 126 | } | 2039 | 152 | it = *r; | 2040 | 152 | } | 2041 | 30 | SCN_ENSURE(it == range.end()); | 2042 | 30 | return it; | 2043 | 30 | } |
Unexecuted instantiation: _ZN3scn2v34impl21read_while_code_unitsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS4_18default_sentinel_tEEEEENSt3__117basic_string_viewIwNSF_11char_traitsIwEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSF_9add_constIT_E4typeEEEEESL_RKT0_ Unexecuted instantiation: _ZN3scn2v34impl21read_while_code_unitsINS1_15take_width_viewINS3_INS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS4_18default_sentinel_tEEEEEEENSt3__117basic_string_viewIwNSG_11char_traitsIwEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSG_9add_constIT_E4typeEEEEESM_RKT0_ Unexecuted instantiation: _ZN3scn2v34impl21read_while_code_unitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEENSt3__117basic_string_viewIwNSD_11char_traitsIwEEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSD_9add_constIT_E4typeEEEEESJ_RKT0_ Unexecuted instantiation: _ZN3scn2v34impl21read_while_code_unitsINS1_15take_width_viewINSt3__117basic_string_viewIwNS4_11char_traitsIwEEEEEES8_EEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS4_9add_constIT_E4typeEEEEESC_RKT0_ Unexecuted instantiation: _ZN3scn2v34impl21read_while_code_unitsINS1_15take_width_viewINS3_INSt3__117basic_string_viewIwNS4_11char_traitsIwEEEEEEEES8_EEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS4_9add_constIT_E4typeEEEEESD_RKT0_ Unexecuted instantiation: _ZN3scn2v34impl21read_while_code_unitsINSt3__117basic_string_viewIwNS3_11char_traitsIwEEEES7_EEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS3_9add_constIT_E4typeEEEEESA_RKT0_ Unexecuted instantiation: _ZN3scn2v34impl21read_while_code_unitsINS0_6ranges6detail9subrange_8subrangeIPKwS8_EENSt3__117basic_string_viewIwNSA_11char_traitsIwEEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSA_9add_constIT_E4typeEEEEESG_RKT0_ Unexecuted instantiation: _ZN3scn2v34impl21read_while_code_unitsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEEENSt3__117basic_string_viewIwNSC_11char_traitsIwEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSC_9add_constIT_E4typeEEEEESI_RKT0_ _ZN3scn2v34impl21read_while_code_unitsINS1_15take_width_viewINS3_INS0_6ranges6detail9subrange_8subrangeIPKcS9_EEEEEENSt3__117basic_string_viewIcNSD_11char_traitsIcEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSD_9add_constIT_E4typeEEEEESJ_RKT0_ Line | Count | Source | 2024 | 254 | { | 2025 | 254 | static_assert(ranges::common_range<CodeUnits>); | 2026 | | | 2027 | 254 | auto it = range.begin(); | 2028 | 254 | while (it != range.end()) { | 2029 | 254 | auto r = read_exactly_n_code_units(ranges::subrange{it, range.end()}, | 2030 | 254 | needle.size()); | 2031 | 254 | if (!r) { | 2032 | 52 | return it; | 2033 | 52 | } | 2034 | 202 | static_assert( | 2035 | 202 | std::is_same_v<decltype(it), detail::remove_cvref_t<decltype(*r)>>); | 2036 | 202 | if (!std::equal(it, *r, needle.begin())) { | 2037 | 202 | return it; | 2038 | 202 | } | 2039 | 0 | it = *r; | 2040 | 0 | } | 2041 | 0 | SCN_ENSURE(it == range.end()); | 2042 | 0 | return it; | 2043 | 0 | } |
Unexecuted instantiation: _ZN3scn2v34impl21read_while_code_unitsINS1_15take_width_viewINS3_INS0_6ranges6detail9subrange_8subrangeIPKwS9_EEEEEENSt3__117basic_string_viewIwNSD_11char_traitsIwEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSD_9add_constIT_E4typeEEEEESJ_RKT0_ |
2044 | | |
2045 | | template <typename Range> |
2046 | | auto read_until_code_point(Range range, function_ref<bool(char32_t)> pred) |
2047 | | -> ranges::const_iterator_t<Range> |
2048 | 196k | { |
2049 | 196k | auto it = range.begin(); |
2050 | 617k | while (it != range.end()) { |
2051 | 523k | const auto val = |
2052 | 523k | read_code_point_into(ranges::subrange{it, range.end()}); |
2053 | 523k | if (SCN_LIKELY(val.is_valid())) { |
2054 | 520k | const auto cp = detail::decode_code_point_exhaustive( |
2055 | 520k | std::basic_string_view<detail::char_t<Range>>{val.codepoint}); |
2056 | 520k | if (pred(cp)) { |
2057 | 103k | return it; |
2058 | 103k | } |
2059 | 520k | } |
2060 | 420k | it = val.iterator; |
2061 | 420k | } |
2062 | | |
2063 | 93.4k | return it; |
2064 | 196k | } Unexecuted instantiation: _ZN3scn2v34impl21read_until_code_pointINS1_15take_width_viewINS3_INS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS4_18default_sentinel_tEEEEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESI_NS1_12function_refIFbDiESO_EE Unexecuted instantiation: _ZN3scn2v34impl21read_until_code_pointINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS4_18default_sentinel_tEEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESH_NS1_12function_refIFbDiESN_EE Unexecuted instantiation: _ZN3scn2v34impl21read_until_code_pointINS1_15take_width_viewINS3_INSt3__117basic_string_viewIcNS4_11char_traitsIcEEEEEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS4_9add_constIT_E4typeEEEEESD_NS1_12function_refIFbDiESJ_EE Unexecuted instantiation: _ZN3scn2v34impl21read_until_code_pointINS1_15take_width_viewINSt3__117basic_string_viewIcNS4_11char_traitsIcEEEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS4_9add_constIT_E4typeEEEEESC_NS1_12function_refIFbDiESI_EE _ZN3scn2v34impl21read_until_code_pointINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESE_NS1_12function_refIFbDiESK_EE Line | Count | Source | 2048 | 840 | { | 2049 | 840 | auto it = range.begin(); | 2050 | 12.2k | while (it != range.end()) { | 2051 | 11.9k | const auto val = | 2052 | 11.9k | read_code_point_into(ranges::subrange{it, range.end()}); | 2053 | 11.9k | if (SCN_LIKELY(val.is_valid())) { | 2054 | 11.2k | const auto cp = detail::decode_code_point_exhaustive( | 2055 | 11.2k | std::basic_string_view<detail::char_t<Range>>{val.codepoint}); | 2056 | 11.2k | if (pred(cp)) { | 2057 | 560 | return it; | 2058 | 560 | } | 2059 | 11.2k | } | 2060 | 11.4k | it = val.iterator; | 2061 | 11.4k | } | 2062 | | | 2063 | 280 | return it; | 2064 | 840 | } |
Unexecuted instantiation: _ZN3scn2v34impl21read_until_code_pointINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESN_NS1_12function_refIFbDiEST_EE Unexecuted instantiation: _ZN3scn2v34impl21read_until_code_pointINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESF_NS1_12function_refIFbDiESL_EE _ZN3scn2v34impl21read_until_code_pointINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESK_NS1_12function_refIFbDiESQ_EE Line | Count | Source | 2048 | 714 | { | 2049 | 714 | auto it = range.begin(); | 2050 | 9.51k | while (it != range.end()) { | 2051 | 8.96k | const auto val = | 2052 | 8.96k | read_code_point_into(ranges::subrange{it, range.end()}); | 2053 | 8.96k | if (SCN_LIKELY(val.is_valid())) { | 2054 | 7.53k | const auto cp = detail::decode_code_point_exhaustive( | 2055 | 7.53k | std::basic_string_view<detail::char_t<Range>>{val.codepoint}); | 2056 | 7.53k | if (pred(cp)) { | 2057 | 162 | return it; | 2058 | 162 | } | 2059 | 7.53k | } | 2060 | 8.80k | it = val.iterator; | 2061 | 8.80k | } | 2062 | | | 2063 | 552 | return it; | 2064 | 714 | } |
_ZN3scn2v34impl21read_until_code_pointINS0_6ranges6detail9subrange_8subrangeIPKcS8_EEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESC_NS1_12function_refIFbDiESI_EE Line | Count | Source | 2048 | 2.33k | { | 2049 | 2.33k | auto it = range.begin(); | 2050 | 275k | while (it != range.end()) { | 2051 | 275k | const auto val = | 2052 | 275k | read_code_point_into(ranges::subrange{it, range.end()}); | 2053 | 275k | if (SCN_LIKELY(val.is_valid())) { | 2054 | 274k | const auto cp = detail::decode_code_point_exhaustive( | 2055 | 274k | std::basic_string_view<detail::char_t<Range>>{val.codepoint}); | 2056 | 274k | if (pred(cp)) { | 2057 | 2.18k | return it; | 2058 | 2.18k | } | 2059 | 274k | } | 2060 | 273k | it = val.iterator; | 2061 | 273k | } | 2062 | | | 2063 | 150 | return it; | 2064 | 2.33k | } |
Unexecuted instantiation: _ZN3scn2v34impl21read_until_code_pointINS1_15take_width_viewINS3_INS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS4_18default_sentinel_tEEEEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESI_NS1_12function_refIFbDiESO_EE Unexecuted instantiation: _ZN3scn2v34impl21read_until_code_pointINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS4_18default_sentinel_tEEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESH_NS1_12function_refIFbDiESN_EE Unexecuted instantiation: _ZN3scn2v34impl21read_until_code_pointINS1_15take_width_viewINS3_INSt3__117basic_string_viewIwNS4_11char_traitsIwEEEEEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS4_9add_constIT_E4typeEEEEESD_NS1_12function_refIFbDiESJ_EE Unexecuted instantiation: _ZN3scn2v34impl21read_until_code_pointINS1_15take_width_viewINSt3__117basic_string_viewIwNS4_11char_traitsIwEEEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS4_9add_constIT_E4typeEEEEESC_NS1_12function_refIFbDiESI_EE _ZN3scn2v34impl21read_until_code_pointINSt3__117basic_string_viewIwNS3_11char_traitsIwEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS3_9add_constIT_E4typeEEEEESA_NS1_12function_refIFbDiESG_EE Line | Count | Source | 2048 | 90.0k | { | 2049 | 90.0k | auto it = range.begin(); | 2050 | 91.1k | while (it != range.end()) { | 2051 | 1.79k | const auto val = | 2052 | 1.79k | read_code_point_into(ranges::subrange{it, range.end()}); | 2053 | 1.79k | if (SCN_LIKELY(val.is_valid())) { | 2054 | 1.79k | const auto cp = detail::decode_code_point_exhaustive( | 2055 | 1.79k | std::basic_string_view<detail::char_t<Range>>{val.codepoint}); | 2056 | 1.79k | if (pred(cp)) { | 2057 | 740 | return it; | 2058 | 740 | } | 2059 | 1.79k | } | 2060 | 1.05k | it = val.iterator; | 2061 | 1.05k | } | 2062 | | | 2063 | 89.3k | return it; | 2064 | 90.0k | } |
_ZN3scn2v34impl21read_until_code_pointINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESE_NS1_12function_refIFbDiESK_EE Line | Count | Source | 2048 | 360 | { | 2049 | 360 | auto it = range.begin(); | 2050 | 2.02k | while (it != range.end()) { | 2051 | 1.97k | const auto val = | 2052 | 1.97k | read_code_point_into(ranges::subrange{it, range.end()}); | 2053 | 1.97k | if (SCN_LIKELY(val.is_valid())) { | 2054 | 1.97k | const auto cp = detail::decode_code_point_exhaustive( | 2055 | 1.97k | std::basic_string_view<detail::char_t<Range>>{val.codepoint}); | 2056 | 1.97k | if (pred(cp)) { | 2057 | 312 | return it; | 2058 | 312 | } | 2059 | 1.97k | } | 2060 | 1.66k | it = val.iterator; | 2061 | 1.66k | } | 2062 | | | 2063 | 48 | return it; | 2064 | 360 | } |
_ZN3scn2v34impl21read_until_code_pointINS0_6ranges6detail9subrange_8subrangeIPKwS8_EEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESC_NS1_12function_refIFbDiESI_EE Line | Count | Source | 2048 | 99.3k | { | 2049 | 99.3k | auto it = range.begin(); | 2050 | 216k | while (it != range.end()) { | 2051 | 213k | const auto val = | 2052 | 213k | read_code_point_into(ranges::subrange{it, range.end()}); | 2053 | 213k | if (SCN_LIKELY(val.is_valid())) { | 2054 | 213k | const auto cp = detail::decode_code_point_exhaustive( | 2055 | 213k | std::basic_string_view<detail::char_t<Range>>{val.codepoint}); | 2056 | 213k | if (pred(cp)) { | 2057 | 96.6k | return it; | 2058 | 96.6k | } | 2059 | 213k | } | 2060 | 117k | it = val.iterator; | 2061 | 117k | } | 2062 | | | 2063 | 2.68k | return it; | 2064 | 99.3k | } |
Unexecuted instantiation: _ZN3scn2v34impl21read_until_code_pointINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESN_NS1_12function_refIFbDiEST_EE Unexecuted instantiation: _ZN3scn2v34impl21read_until_code_pointINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESF_NS1_12function_refIFbDiESL_EE _ZN3scn2v34impl21read_until_code_pointINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESK_NS1_12function_refIFbDiESQ_EE Line | Count | Source | 2048 | 276 | { | 2049 | 276 | auto it = range.begin(); | 2050 | 6.27k | while (it != range.end()) { | 2051 | 6.03k | const auto val = | 2052 | 6.03k | read_code_point_into(ranges::subrange{it, range.end()}); | 2053 | 6.03k | if (SCN_LIKELY(val.is_valid())) { | 2054 | 6.03k | const auto cp = detail::decode_code_point_exhaustive( | 2055 | 6.03k | std::basic_string_view<detail::char_t<Range>>{val.codepoint}); | 2056 | 6.03k | if (pred(cp)) { | 2057 | 36 | return it; | 2058 | 36 | } | 2059 | 6.03k | } | 2060 | 6.00k | it = val.iterator; | 2061 | 6.00k | } | 2062 | | | 2063 | 240 | return it; | 2064 | 276 | } |
_ZN3scn2v34impl21read_until_code_pointINS1_15take_width_viewINS3_INS0_6ranges6detail9subrange_8subrangeIPKcS9_EEEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESF_NS1_12function_refIFbDiESL_EE Line | Count | Source | 2048 | 1.89k | { | 2049 | 1.89k | auto it = range.begin(); | 2050 | 3.14k | while (it != range.end()) { | 2051 | 2.96k | const auto val = | 2052 | 2.96k | read_code_point_into(ranges::subrange{it, range.end()}); | 2053 | 2.96k | if (SCN_LIKELY(val.is_valid())) { | 2054 | 2.96k | const auto cp = detail::decode_code_point_exhaustive( | 2055 | 2.96k | std::basic_string_view<detail::char_t<Range>>{val.codepoint}); | 2056 | 2.96k | if (pred(cp)) { | 2057 | 1.71k | return it; | 2058 | 1.71k | } | 2059 | 2.96k | } | 2060 | 1.24k | it = val.iterator; | 2061 | 1.24k | } | 2062 | | | 2063 | 174 | return it; | 2064 | 1.89k | } |
_ZN3scn2v34impl21read_until_code_pointINS1_15take_width_viewINS3_INS0_6ranges6detail9subrange_8subrangeIPKwS9_EEEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESF_NS1_12function_refIFbDiESL_EE Line | Count | Source | 2048 | 714 | { | 2049 | 714 | auto it = range.begin(); | 2050 | 714 | while (it != range.end()) { | 2051 | 714 | const auto val = | 2052 | 714 | read_code_point_into(ranges::subrange{it, range.end()}); | 2053 | 714 | if (SCN_LIKELY(val.is_valid())) { | 2054 | 714 | const auto cp = detail::decode_code_point_exhaustive( | 2055 | 714 | std::basic_string_view<detail::char_t<Range>>{val.codepoint}); | 2056 | 714 | if (pred(cp)) { | 2057 | 714 | return it; | 2058 | 714 | } | 2059 | 714 | } | 2060 | 0 | it = val.iterator; | 2061 | 0 | } | 2062 | | | 2063 | 0 | return it; | 2064 | 714 | } |
|
2065 | | |
2066 | | template <typename Range> |
2067 | | auto read_while_code_point(Range range, function_ref<bool(char32_t)> pred) |
2068 | | -> ranges::const_iterator_t<Range> |
2069 | 192k | { |
2070 | 192k | return read_until_code_point(range, std::not_fn(pred)); |
2071 | 192k | } Unexecuted instantiation: _ZN3scn2v34impl21read_while_code_pointINS1_15take_width_viewINS3_INS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS4_18default_sentinel_tEEEEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESI_NS1_12function_refIFbDiESO_EE Unexecuted instantiation: _ZN3scn2v34impl21read_while_code_pointINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS4_18default_sentinel_tEEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESH_NS1_12function_refIFbDiESN_EE Unexecuted instantiation: _ZN3scn2v34impl21read_while_code_pointINS1_15take_width_viewINS3_INSt3__117basic_string_viewIcNS4_11char_traitsIcEEEEEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS4_9add_constIT_E4typeEEEEESD_NS1_12function_refIFbDiESJ_EE Unexecuted instantiation: _ZN3scn2v34impl21read_while_code_pointINS1_15take_width_viewINSt3__117basic_string_viewIcNS4_11char_traitsIcEEEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS4_9add_constIT_E4typeEEEEESC_NS1_12function_refIFbDiESI_EE _ZN3scn2v34impl21read_while_code_pointINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESE_NS1_12function_refIFbDiESK_EE Line | Count | Source | 2069 | 654 | { | 2070 | 654 | return read_until_code_point(range, std::not_fn(pred)); | 2071 | 654 | } |
Unexecuted instantiation: _ZN3scn2v34impl21read_while_code_pointINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESF_NS1_12function_refIFbDiESL_EE _ZN3scn2v34impl21read_while_code_pointINS0_6ranges6detail9subrange_8subrangeIPKcS8_EEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESC_NS1_12function_refIFbDiESI_EE Line | Count | Source | 2069 | 2.14k | { | 2070 | 2.14k | return read_until_code_point(range, std::not_fn(pred)); | 2071 | 2.14k | } |
Unexecuted instantiation: _ZN3scn2v34impl21read_while_code_pointINS1_15take_width_viewINS3_INS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS4_18default_sentinel_tEEEEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESI_NS1_12function_refIFbDiESO_EE Unexecuted instantiation: _ZN3scn2v34impl21read_while_code_pointINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS4_18default_sentinel_tEEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESH_NS1_12function_refIFbDiESN_EE Unexecuted instantiation: _ZN3scn2v34impl21read_while_code_pointINS1_15take_width_viewINS3_INSt3__117basic_string_viewIwNS4_11char_traitsIwEEEEEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS4_9add_constIT_E4typeEEEEESD_NS1_12function_refIFbDiESJ_EE Unexecuted instantiation: _ZN3scn2v34impl21read_while_code_pointINS1_15take_width_viewINSt3__117basic_string_viewIwNS4_11char_traitsIwEEEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS4_9add_constIT_E4typeEEEEESC_NS1_12function_refIFbDiESI_EE _ZN3scn2v34impl21read_while_code_pointINSt3__117basic_string_viewIwNS3_11char_traitsIwEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS3_9add_constIT_E4typeEEEEESA_NS1_12function_refIFbDiESG_EE Line | Count | Source | 2069 | 90.0k | { | 2070 | 90.0k | return read_until_code_point(range, std::not_fn(pred)); | 2071 | 90.0k | } |
_ZN3scn2v34impl21read_while_code_pointINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESE_NS1_12function_refIFbDiESK_EE Line | Count | Source | 2069 | 270 | { | 2070 | 270 | return read_until_code_point(range, std::not_fn(pred)); | 2071 | 270 | } |
_ZN3scn2v34impl21read_while_code_pointINS0_6ranges6detail9subrange_8subrangeIPKwS8_EEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESC_NS1_12function_refIFbDiESI_EE Line | Count | Source | 2069 | 96.7k | { | 2070 | 96.7k | return read_until_code_point(range, std::not_fn(pred)); | 2071 | 96.7k | } |
Unexecuted instantiation: _ZN3scn2v34impl21read_while_code_pointINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESF_NS1_12function_refIFbDiESL_EE _ZN3scn2v34impl21read_while_code_pointINS1_15take_width_viewINS3_INS0_6ranges6detail9subrange_8subrangeIPKcS9_EEEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESF_NS1_12function_refIFbDiESL_EE Line | Count | Source | 2069 | 1.89k | { | 2070 | 1.89k | return read_until_code_point(range, std::not_fn(pred)); | 2071 | 1.89k | } |
_ZN3scn2v34impl21read_while_code_pointINS1_15take_width_viewINS3_INS0_6ranges6detail9subrange_8subrangeIPKwS9_EEEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESF_NS1_12function_refIFbDiESL_EE Line | Count | Source | 2069 | 714 | { | 2070 | 714 | return read_until_code_point(range, std::not_fn(pred)); | 2071 | 714 | } |
|
2072 | | |
2073 | | template <typename Range> |
2074 | | auto read_until_classic_space(Range range) -> ranges::const_iterator_t<Range> |
2075 | 6.17k | { |
2076 | | if constexpr (ranges::contiguous_range<Range> && |
2077 | | ranges::sized_range<Range> && |
2078 | 2.83k | std::is_same_v<detail::char_t<Range>, char>) { |
2079 | 2.83k | auto buf = make_contiguous_buffer(range); |
2080 | 2.83k | auto it = find_classic_space_narrow_fast(buf.view()); |
2081 | 2.83k | return ranges::next(range.begin(), |
2082 | 2.83k | ranges::distance(buf.view().begin(), it)); |
2083 | | } |
2084 | 3.34k | else { |
2085 | 3.34k | auto it = range.begin(); |
2086 | | |
2087 | 3.34k | if constexpr (std::is_same_v<detail::char_t<Range>, char>) { |
2088 | 714 | auto seg = get_contiguous_beginning(range); |
2089 | 714 | if (auto seg_it = find_classic_space_narrow_fast(seg); |
2090 | 714 | seg_it != seg.end()) { |
2091 | 0 | return ranges::next(it, ranges::distance(seg.begin(), seg_it)); |
2092 | 0 | } |
2093 | 714 | ranges::advance(it, seg.size()); |
2094 | 714 | } |
2095 | | |
2096 | 0 | return read_until_code_point( |
2097 | 3.34k | ranges::subrange{it, range.end()}, |
2098 | 36.3k | [](char32_t cp) noexcept { return detail::is_cp_space(cp); });Unexecuted instantiation: _ZZN3scn2v34impl24read_until_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS4_18default_sentinel_tEEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESH_ENKUlDiE_clEDi Unexecuted instantiation: _ZZN3scn2v34impl24read_until_classic_spaceINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESF_ENKUlDiE_clEDi _ZZN3scn2v34impl24read_until_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESE_ENKUlDiE_clEDi Line | Count | Source | 2098 | 7.53k | [](char32_t cp) noexcept { return detail::is_cp_space(cp); }); |
Unexecuted instantiation: _ZZN3scn2v34impl24read_until_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS4_18default_sentinel_tEEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESH_ENKUlDiE_clEDi Unexecuted instantiation: _ZZN3scn2v34impl24read_until_classic_spaceINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESF_ENKUlDiE_clEDi _ZZN3scn2v34impl24read_until_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESE_ENKUlDiE_clEDi Line | Count | Source | 2098 | 6.03k | [](char32_t cp) noexcept { return detail::is_cp_space(cp); }); |
_ZZN3scn2v34impl24read_until_classic_spaceINS0_6ranges6detail9subrange_8subrangeIPKwS8_EEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESC_ENKUlDiE_clEDi Line | Count | Source | 2098 | 22.8k | [](char32_t cp) noexcept { return detail::is_cp_space(cp); }); |
Unexecuted instantiation: _ZZN3scn2v34impl24read_until_classic_spaceINSt3__117basic_string_viewIwNS3_11char_traitsIwEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS3_9add_constIT_E4typeEEEEESA_ENKUlDiE_clEDi |
2099 | 3.34k | } |
2100 | 6.17k | } Unexecuted instantiation: _ZN3scn2v34impl24read_until_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS4_18default_sentinel_tEEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESH_ Unexecuted instantiation: _ZN3scn2v34impl24read_until_classic_spaceINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESF_ _ZN3scn2v34impl24read_until_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESE_ Line | Count | Source | 2075 | 714 | { | 2076 | | if constexpr (ranges::contiguous_range<Range> && | 2077 | | ranges::sized_range<Range> && | 2078 | | std::is_same_v<detail::char_t<Range>, char>) { | 2079 | | auto buf = make_contiguous_buffer(range); | 2080 | | auto it = find_classic_space_narrow_fast(buf.view()); | 2081 | | return ranges::next(range.begin(), | 2082 | | ranges::distance(buf.view().begin(), it)); | 2083 | | } | 2084 | 714 | else { | 2085 | 714 | auto it = range.begin(); | 2086 | | | 2087 | 714 | if constexpr (std::is_same_v<detail::char_t<Range>, char>) { | 2088 | 714 | auto seg = get_contiguous_beginning(range); | 2089 | 714 | if (auto seg_it = find_classic_space_narrow_fast(seg); | 2090 | 714 | seg_it != seg.end()) { | 2091 | 0 | return ranges::next(it, ranges::distance(seg.begin(), seg_it)); | 2092 | 0 | } | 2093 | 714 | ranges::advance(it, seg.size()); | 2094 | 714 | } | 2095 | | | 2096 | 0 | return read_until_code_point( | 2097 | 714 | ranges::subrange{it, range.end()}, | 2098 | 714 | [](char32_t cp) noexcept { return detail::is_cp_space(cp); }); | 2099 | 714 | } | 2100 | 714 | } |
_ZN3scn2v34impl24read_until_classic_spaceINS0_6ranges6detail9subrange_8subrangeIPKcS8_EEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESC_ Line | Count | Source | 2075 | 2.83k | { | 2076 | | if constexpr (ranges::contiguous_range<Range> && | 2077 | | ranges::sized_range<Range> && | 2078 | 2.83k | std::is_same_v<detail::char_t<Range>, char>) { | 2079 | 2.83k | auto buf = make_contiguous_buffer(range); | 2080 | 2.83k | auto it = find_classic_space_narrow_fast(buf.view()); | 2081 | 2.83k | return ranges::next(range.begin(), | 2082 | 2.83k | ranges::distance(buf.view().begin(), it)); | 2083 | | } | 2084 | | else { | 2085 | | auto it = range.begin(); | 2086 | | | 2087 | | if constexpr (std::is_same_v<detail::char_t<Range>, char>) { | 2088 | | auto seg = get_contiguous_beginning(range); | 2089 | | if (auto seg_it = find_classic_space_narrow_fast(seg); | 2090 | | seg_it != seg.end()) { | 2091 | | return ranges::next(it, ranges::distance(seg.begin(), seg_it)); | 2092 | | } | 2093 | | ranges::advance(it, seg.size()); | 2094 | | } | 2095 | | | 2096 | | return read_until_code_point( | 2097 | | ranges::subrange{it, range.end()}, | 2098 | | [](char32_t cp) noexcept { return detail::is_cp_space(cp); }); | 2099 | | } | 2100 | 2.83k | } |
Unexecuted instantiation: _ZN3scn2v34impl24read_until_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS4_18default_sentinel_tEEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESH_ Unexecuted instantiation: _ZN3scn2v34impl24read_until_classic_spaceINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESF_ _ZN3scn2v34impl24read_until_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESE_ Line | Count | Source | 2075 | 276 | { | 2076 | | if constexpr (ranges::contiguous_range<Range> && | 2077 | | ranges::sized_range<Range> && | 2078 | | std::is_same_v<detail::char_t<Range>, char>) { | 2079 | | auto buf = make_contiguous_buffer(range); | 2080 | | auto it = find_classic_space_narrow_fast(buf.view()); | 2081 | | return ranges::next(range.begin(), | 2082 | | ranges::distance(buf.view().begin(), it)); | 2083 | | } | 2084 | 276 | else { | 2085 | 276 | auto it = range.begin(); | 2086 | | | 2087 | | if constexpr (std::is_same_v<detail::char_t<Range>, char>) { | 2088 | | auto seg = get_contiguous_beginning(range); | 2089 | | if (auto seg_it = find_classic_space_narrow_fast(seg); | 2090 | | seg_it != seg.end()) { | 2091 | | return ranges::next(it, ranges::distance(seg.begin(), seg_it)); | 2092 | | } | 2093 | | ranges::advance(it, seg.size()); | 2094 | | } | 2095 | | | 2096 | 276 | return read_until_code_point( | 2097 | 276 | ranges::subrange{it, range.end()}, | 2098 | 276 | [](char32_t cp) noexcept { return detail::is_cp_space(cp); }); | 2099 | 276 | } | 2100 | 276 | } |
_ZN3scn2v34impl24read_until_classic_spaceINS0_6ranges6detail9subrange_8subrangeIPKwS8_EEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESC_ Line | Count | Source | 2075 | 2.35k | { | 2076 | | if constexpr (ranges::contiguous_range<Range> && | 2077 | | ranges::sized_range<Range> && | 2078 | | std::is_same_v<detail::char_t<Range>, char>) { | 2079 | | auto buf = make_contiguous_buffer(range); | 2080 | | auto it = find_classic_space_narrow_fast(buf.view()); | 2081 | | return ranges::next(range.begin(), | 2082 | | ranges::distance(buf.view().begin(), it)); | 2083 | | } | 2084 | 2.35k | else { | 2085 | 2.35k | auto it = range.begin(); | 2086 | | | 2087 | | if constexpr (std::is_same_v<detail::char_t<Range>, char>) { | 2088 | | auto seg = get_contiguous_beginning(range); | 2089 | | if (auto seg_it = find_classic_space_narrow_fast(seg); | 2090 | | seg_it != seg.end()) { | 2091 | | return ranges::next(it, ranges::distance(seg.begin(), seg_it)); | 2092 | | } | 2093 | | ranges::advance(it, seg.size()); | 2094 | | } | 2095 | | | 2096 | 2.35k | return read_until_code_point( | 2097 | 2.35k | ranges::subrange{it, range.end()}, | 2098 | 2.35k | [](char32_t cp) noexcept { return detail::is_cp_space(cp); }); | 2099 | 2.35k | } | 2100 | 2.35k | } |
Unexecuted instantiation: _ZN3scn2v34impl24read_until_classic_spaceINSt3__117basic_string_viewIcNS3_11char_traitsIcEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS3_9add_constIT_E4typeEEEEESA_ Unexecuted instantiation: _ZN3scn2v34impl24read_until_classic_spaceINSt3__117basic_string_viewIwNS3_11char_traitsIwEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS3_9add_constIT_E4typeEEEEESA_ |
2101 | | |
2102 | | template <typename Range> |
2103 | | auto read_while_classic_space(Range range) -> ranges::const_iterator_t<Range> |
2104 | 209k | { |
2105 | | if constexpr (ranges::contiguous_range<Range> && |
2106 | | ranges::sized_range<Range> && |
2107 | 19.7k | std::is_same_v<detail::char_t<Range>, char>) { |
2108 | 19.7k | auto buf = make_contiguous_buffer(range); |
2109 | 19.7k | auto it = find_classic_nonspace_narrow_fast(buf.view()); |
2110 | 19.7k | return ranges::next(range.begin(), |
2111 | 19.7k | ranges::distance(buf.view().begin(), it)); |
2112 | | } |
2113 | 189k | else { |
2114 | 189k | auto it = range.begin(); |
2115 | | |
2116 | 189k | if constexpr (std::is_same_v<detail::char_t<Range>, char>) { |
2117 | 2.36k | auto seg = get_contiguous_beginning(range); |
2118 | 2.36k | if (auto seg_it = find_classic_nonspace_narrow_fast(seg); |
2119 | 2.36k | seg_it != seg.end()) { |
2120 | 0 | return ranges::next(it, ranges::distance(seg.begin(), seg_it)); |
2121 | 0 | } |
2122 | 2.36k | ranges::advance(it, seg.size()); |
2123 | 2.36k | } |
2124 | | |
2125 | 193k | return read_while_code_point(range, [](char32_t cp) noexcept { |
2126 | 193k | return detail::is_cp_space(cp); |
2127 | 193k | }); Unexecuted instantiation: _ZZN3scn2v34impl24read_while_classic_spaceINS1_15take_width_viewINS3_INS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS4_18default_sentinel_tEEEEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESI_ENKUlDiE_clEDi Unexecuted instantiation: _ZZN3scn2v34impl24read_while_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS4_18default_sentinel_tEEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESH_ENKUlDiE_clEDi Unexecuted instantiation: _ZZN3scn2v34impl24read_while_classic_spaceINS1_15take_width_viewINS3_INSt3__117basic_string_viewIcNS4_11char_traitsIcEEEEEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS4_9add_constIT_E4typeEEEEESD_ENKUlDiE_clEDi Unexecuted instantiation: _ZZN3scn2v34impl24read_while_classic_spaceINS1_15take_width_viewINSt3__117basic_string_viewIcNS4_11char_traitsIcEEEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS4_9add_constIT_E4typeEEEEESC_ENKUlDiE_clEDi _ZZN3scn2v34impl24read_while_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESE_ENKUlDiE_clEDi Line | Count | Source | 2125 | 1.21k | return read_while_code_point(range, [](char32_t cp) noexcept { | 2126 | 1.21k | return detail::is_cp_space(cp); | 2127 | 1.21k | }); |
Unexecuted instantiation: _ZZN3scn2v34impl24read_while_classic_spaceINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESF_ENKUlDiE_clEDi Unexecuted instantiation: _ZZN3scn2v34impl24read_while_classic_spaceINS1_15take_width_viewINS3_INS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS4_18default_sentinel_tEEEEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESI_ENKUlDiE_clEDi Unexecuted instantiation: _ZZN3scn2v34impl24read_while_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS4_18default_sentinel_tEEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESH_ENKUlDiE_clEDi Unexecuted instantiation: _ZZN3scn2v34impl24read_while_classic_spaceINS1_15take_width_viewINS3_INSt3__117basic_string_viewIwNS4_11char_traitsIwEEEEEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS4_9add_constIT_E4typeEEEEESD_ENKUlDiE_clEDi Unexecuted instantiation: _ZZN3scn2v34impl24read_while_classic_spaceINS1_15take_width_viewINSt3__117basic_string_viewIwNS4_11char_traitsIwEEEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS4_9add_constIT_E4typeEEEEESC_ENKUlDiE_clEDi _ZZN3scn2v34impl24read_while_classic_spaceINSt3__117basic_string_viewIwNS3_11char_traitsIwEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS3_9add_constIT_E4typeEEEEESA_ENKUlDiE_clEDi Line | Count | Source | 2125 | 1.79k | return read_while_code_point(range, [](char32_t cp) noexcept { | 2126 | 1.79k | return detail::is_cp_space(cp); | 2127 | 1.79k | }); |
_ZZN3scn2v34impl24read_while_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESE_ENKUlDiE_clEDi Line | Count | Source | 2125 | 276 | return read_while_code_point(range, [](char32_t cp) noexcept { | 2126 | 276 | return detail::is_cp_space(cp); | 2127 | 276 | }); |
_ZZN3scn2v34impl24read_while_classic_spaceINS0_6ranges6detail9subrange_8subrangeIPKwS8_EEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESC_ENKUlDiE_clEDi Line | Count | Source | 2125 | 186k | return read_while_code_point(range, [](char32_t cp) noexcept { | 2126 | 186k | return detail::is_cp_space(cp); | 2127 | 186k | }); |
Unexecuted instantiation: _ZZN3scn2v34impl24read_while_classic_spaceINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESF_ENKUlDiE_clEDi _ZZN3scn2v34impl24read_while_classic_spaceINS1_15take_width_viewINS3_INS0_6ranges6detail9subrange_8subrangeIPKcS9_EEEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESF_ENKUlDiE_clEDi Line | Count | Source | 2125 | 2.96k | return read_while_code_point(range, [](char32_t cp) noexcept { | 2126 | 2.96k | return detail::is_cp_space(cp); | 2127 | 2.96k | }); |
_ZZN3scn2v34impl24read_while_classic_spaceINS1_15take_width_viewINS3_INS0_6ranges6detail9subrange_8subrangeIPKwS9_EEEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESF_ENKUlDiE_clEDi Line | Count | Source | 2125 | 714 | return read_while_code_point(range, [](char32_t cp) noexcept { | 2126 | 714 | return detail::is_cp_space(cp); | 2127 | 714 | }); |
|
2128 | 189k | } |
2129 | 209k | } Unexecuted instantiation: _ZN3scn2v34impl24read_while_classic_spaceINS1_15take_width_viewINS3_INS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS4_18default_sentinel_tEEEEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESI_ Unexecuted instantiation: _ZN3scn2v34impl24read_while_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS4_18default_sentinel_tEEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESH_ Unexecuted instantiation: _ZN3scn2v34impl24read_while_classic_spaceINS1_15take_width_viewINS3_INSt3__117basic_string_viewIcNS4_11char_traitsIcEEEEEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS4_9add_constIT_E4typeEEEEESD_ Unexecuted instantiation: _ZN3scn2v34impl24read_while_classic_spaceINS1_15take_width_viewINSt3__117basic_string_viewIcNS4_11char_traitsIcEEEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS4_9add_constIT_E4typeEEEEESC_ _ZN3scn2v34impl24read_while_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESE_ Line | Count | Source | 2104 | 468 | { | 2105 | | if constexpr (ranges::contiguous_range<Range> && | 2106 | | ranges::sized_range<Range> && | 2107 | | std::is_same_v<detail::char_t<Range>, char>) { | 2108 | | auto buf = make_contiguous_buffer(range); | 2109 | | auto it = find_classic_nonspace_narrow_fast(buf.view()); | 2110 | | return ranges::next(range.begin(), | 2111 | | ranges::distance(buf.view().begin(), it)); | 2112 | | } | 2113 | 468 | else { | 2114 | 468 | auto it = range.begin(); | 2115 | | | 2116 | 468 | if constexpr (std::is_same_v<detail::char_t<Range>, char>) { | 2117 | 468 | auto seg = get_contiguous_beginning(range); | 2118 | 468 | if (auto seg_it = find_classic_nonspace_narrow_fast(seg); | 2119 | 468 | seg_it != seg.end()) { | 2120 | 0 | return ranges::next(it, ranges::distance(seg.begin(), seg_it)); | 2121 | 0 | } | 2122 | 468 | ranges::advance(it, seg.size()); | 2123 | 468 | } | 2124 | | | 2125 | 0 | return read_while_code_point(range, [](char32_t cp) noexcept { | 2126 | 468 | return detail::is_cp_space(cp); | 2127 | 468 | }); | 2128 | 468 | } | 2129 | 468 | } |
_ZN3scn2v34impl24read_while_classic_spaceINS0_6ranges6detail9subrange_8subrangeIPKcS8_EEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESC_ Line | Count | Source | 2104 | 13.3k | { | 2105 | | if constexpr (ranges::contiguous_range<Range> && | 2106 | | ranges::sized_range<Range> && | 2107 | 13.3k | std::is_same_v<detail::char_t<Range>, char>) { | 2108 | 13.3k | auto buf = make_contiguous_buffer(range); | 2109 | 13.3k | auto it = find_classic_nonspace_narrow_fast(buf.view()); | 2110 | 13.3k | return ranges::next(range.begin(), | 2111 | 13.3k | ranges::distance(buf.view().begin(), it)); | 2112 | | } | 2113 | | else { | 2114 | | auto it = range.begin(); | 2115 | | | 2116 | | if constexpr (std::is_same_v<detail::char_t<Range>, char>) { | 2117 | | auto seg = get_contiguous_beginning(range); | 2118 | | if (auto seg_it = find_classic_nonspace_narrow_fast(seg); | 2119 | | seg_it != seg.end()) { | 2120 | | return ranges::next(it, ranges::distance(seg.begin(), seg_it)); | 2121 | | } | 2122 | | ranges::advance(it, seg.size()); | 2123 | | } | 2124 | | | 2125 | | return read_while_code_point(range, [](char32_t cp) noexcept { | 2126 | | return detail::is_cp_space(cp); | 2127 | | }); | 2128 | | } | 2129 | 13.3k | } |
Unexecuted instantiation: _ZN3scn2v34impl24read_while_classic_spaceINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESF_ Unexecuted instantiation: _ZN3scn2v34impl24read_while_classic_spaceINS1_15take_width_viewINS3_INS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS4_18default_sentinel_tEEEEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESI_ Unexecuted instantiation: _ZN3scn2v34impl24read_while_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS4_18default_sentinel_tEEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESH_ Unexecuted instantiation: _ZN3scn2v34impl24read_while_classic_spaceINS1_15take_width_viewINS3_INSt3__117basic_string_viewIwNS4_11char_traitsIwEEEEEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS4_9add_constIT_E4typeEEEEESD_ Unexecuted instantiation: _ZN3scn2v34impl24read_while_classic_spaceINS1_15take_width_viewINSt3__117basic_string_viewIwNS4_11char_traitsIwEEEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS4_9add_constIT_E4typeEEEEESC_ _ZN3scn2v34impl24read_while_classic_spaceINSt3__117basic_string_viewIwNS3_11char_traitsIwEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS3_9add_constIT_E4typeEEEEESA_ Line | Count | Source | 2104 | 90.0k | { | 2105 | | if constexpr (ranges::contiguous_range<Range> && | 2106 | | ranges::sized_range<Range> && | 2107 | | std::is_same_v<detail::char_t<Range>, char>) { | 2108 | | auto buf = make_contiguous_buffer(range); | 2109 | | auto it = find_classic_nonspace_narrow_fast(buf.view()); | 2110 | | return ranges::next(range.begin(), | 2111 | | ranges::distance(buf.view().begin(), it)); | 2112 | | } | 2113 | 90.0k | else { | 2114 | 90.0k | auto it = range.begin(); | 2115 | | | 2116 | | if constexpr (std::is_same_v<detail::char_t<Range>, char>) { | 2117 | | auto seg = get_contiguous_beginning(range); | 2118 | | if (auto seg_it = find_classic_nonspace_narrow_fast(seg); | 2119 | | seg_it != seg.end()) { | 2120 | | return ranges::next(it, ranges::distance(seg.begin(), seg_it)); | 2121 | | } | 2122 | | ranges::advance(it, seg.size()); | 2123 | | } | 2124 | | | 2125 | 90.0k | return read_while_code_point(range, [](char32_t cp) noexcept { | 2126 | 90.0k | return detail::is_cp_space(cp); | 2127 | 90.0k | }); | 2128 | 90.0k | } | 2129 | 90.0k | } |
_ZN3scn2v34impl24read_while_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESE_ Line | Count | Source | 2104 | 180 | { | 2105 | | if constexpr (ranges::contiguous_range<Range> && | 2106 | | ranges::sized_range<Range> && | 2107 | | std::is_same_v<detail::char_t<Range>, char>) { | 2108 | | auto buf = make_contiguous_buffer(range); | 2109 | | auto it = find_classic_nonspace_narrow_fast(buf.view()); | 2110 | | return ranges::next(range.begin(), | 2111 | | ranges::distance(buf.view().begin(), it)); | 2112 | | } | 2113 | 180 | else { | 2114 | 180 | auto it = range.begin(); | 2115 | | | 2116 | | if constexpr (std::is_same_v<detail::char_t<Range>, char>) { | 2117 | | auto seg = get_contiguous_beginning(range); | 2118 | | if (auto seg_it = find_classic_nonspace_narrow_fast(seg); | 2119 | | seg_it != seg.end()) { | 2120 | | return ranges::next(it, ranges::distance(seg.begin(), seg_it)); | 2121 | | } | 2122 | | ranges::advance(it, seg.size()); | 2123 | | } | 2124 | | | 2125 | 180 | return read_while_code_point(range, [](char32_t cp) noexcept { | 2126 | 180 | return detail::is_cp_space(cp); | 2127 | 180 | }); | 2128 | 180 | } | 2129 | 180 | } |
_ZN3scn2v34impl24read_while_classic_spaceINS0_6ranges6detail9subrange_8subrangeIPKwS8_EEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESC_ Line | Count | Source | 2104 | 96.6k | { | 2105 | | if constexpr (ranges::contiguous_range<Range> && | 2106 | | ranges::sized_range<Range> && | 2107 | | std::is_same_v<detail::char_t<Range>, char>) { | 2108 | | auto buf = make_contiguous_buffer(range); | 2109 | | auto it = find_classic_nonspace_narrow_fast(buf.view()); | 2110 | | return ranges::next(range.begin(), | 2111 | | ranges::distance(buf.view().begin(), it)); | 2112 | | } | 2113 | 96.6k | else { | 2114 | 96.6k | auto it = range.begin(); | 2115 | | | 2116 | | if constexpr (std::is_same_v<detail::char_t<Range>, char>) { | 2117 | | auto seg = get_contiguous_beginning(range); | 2118 | | if (auto seg_it = find_classic_nonspace_narrow_fast(seg); | 2119 | | seg_it != seg.end()) { | 2120 | | return ranges::next(it, ranges::distance(seg.begin(), seg_it)); | 2121 | | } | 2122 | | ranges::advance(it, seg.size()); | 2123 | | } | 2124 | | | 2125 | 96.6k | return read_while_code_point(range, [](char32_t cp) noexcept { | 2126 | 96.6k | return detail::is_cp_space(cp); | 2127 | 96.6k | }); | 2128 | 96.6k | } | 2129 | 96.6k | } |
Unexecuted instantiation: _ZN3scn2v34impl24read_while_classic_spaceINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESF_ _ZN3scn2v34impl24read_while_classic_spaceINSt3__117basic_string_viewIcNS3_11char_traitsIcEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS3_9add_constIT_E4typeEEEEESA_ Line | Count | Source | 2104 | 6.43k | { | 2105 | | if constexpr (ranges::contiguous_range<Range> && | 2106 | | ranges::sized_range<Range> && | 2107 | 6.43k | std::is_same_v<detail::char_t<Range>, char>) { | 2108 | 6.43k | auto buf = make_contiguous_buffer(range); | 2109 | 6.43k | auto it = find_classic_nonspace_narrow_fast(buf.view()); | 2110 | 6.43k | return ranges::next(range.begin(), | 2111 | 6.43k | ranges::distance(buf.view().begin(), it)); | 2112 | | } | 2113 | | else { | 2114 | | auto it = range.begin(); | 2115 | | | 2116 | | if constexpr (std::is_same_v<detail::char_t<Range>, char>) { | 2117 | | auto seg = get_contiguous_beginning(range); | 2118 | | if (auto seg_it = find_classic_nonspace_narrow_fast(seg); | 2119 | | seg_it != seg.end()) { | 2120 | | return ranges::next(it, ranges::distance(seg.begin(), seg_it)); | 2121 | | } | 2122 | | ranges::advance(it, seg.size()); | 2123 | | } | 2124 | | | 2125 | | return read_while_code_point(range, [](char32_t cp) noexcept { | 2126 | | return detail::is_cp_space(cp); | 2127 | | }); | 2128 | | } | 2129 | 6.43k | } |
_ZN3scn2v34impl24read_while_classic_spaceINS1_15take_width_viewINS3_INS0_6ranges6detail9subrange_8subrangeIPKcS9_EEEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESF_ Line | Count | Source | 2104 | 1.89k | { | 2105 | | if constexpr (ranges::contiguous_range<Range> && | 2106 | | ranges::sized_range<Range> && | 2107 | | std::is_same_v<detail::char_t<Range>, char>) { | 2108 | | auto buf = make_contiguous_buffer(range); | 2109 | | auto it = find_classic_nonspace_narrow_fast(buf.view()); | 2110 | | return ranges::next(range.begin(), | 2111 | | ranges::distance(buf.view().begin(), it)); | 2112 | | } | 2113 | 1.89k | else { | 2114 | 1.89k | auto it = range.begin(); | 2115 | | | 2116 | 1.89k | if constexpr (std::is_same_v<detail::char_t<Range>, char>) { | 2117 | 1.89k | auto seg = get_contiguous_beginning(range); | 2118 | 1.89k | if (auto seg_it = find_classic_nonspace_narrow_fast(seg); | 2119 | 1.89k | seg_it != seg.end()) { | 2120 | 0 | return ranges::next(it, ranges::distance(seg.begin(), seg_it)); | 2121 | 0 | } | 2122 | 1.89k | ranges::advance(it, seg.size()); | 2123 | 1.89k | } | 2124 | | | 2125 | 0 | return read_while_code_point(range, [](char32_t cp) noexcept { | 2126 | 1.89k | return detail::is_cp_space(cp); | 2127 | 1.89k | }); | 2128 | 1.89k | } | 2129 | 1.89k | } |
_ZN3scn2v34impl24read_while_classic_spaceINS1_15take_width_viewINS3_INS0_6ranges6detail9subrange_8subrangeIPKwS9_EEEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESF_ Line | Count | Source | 2104 | 714 | { | 2105 | | if constexpr (ranges::contiguous_range<Range> && | 2106 | | ranges::sized_range<Range> && | 2107 | | std::is_same_v<detail::char_t<Range>, char>) { | 2108 | | auto buf = make_contiguous_buffer(range); | 2109 | | auto it = find_classic_nonspace_narrow_fast(buf.view()); | 2110 | | return ranges::next(range.begin(), | 2111 | | ranges::distance(buf.view().begin(), it)); | 2112 | | } | 2113 | 714 | else { | 2114 | 714 | auto it = range.begin(); | 2115 | | | 2116 | | if constexpr (std::is_same_v<detail::char_t<Range>, char>) { | 2117 | | auto seg = get_contiguous_beginning(range); | 2118 | | if (auto seg_it = find_classic_nonspace_narrow_fast(seg); | 2119 | | seg_it != seg.end()) { | 2120 | | return ranges::next(it, ranges::distance(seg.begin(), seg_it)); | 2121 | | } | 2122 | | ranges::advance(it, seg.size()); | 2123 | | } | 2124 | | | 2125 | 714 | return read_while_code_point(range, [](char32_t cp) noexcept { | 2126 | 714 | return detail::is_cp_space(cp); | 2127 | 714 | }); | 2128 | 714 | } | 2129 | 714 | } |
|
2130 | | |
2131 | | template <typename Range> |
2132 | | auto read_matching_code_unit(Range range, detail::char_t<Range> ch) |
2133 | | -> parse_expected<ranges::const_iterator_t<Range>> |
2134 | 4.38k | { |
2135 | 4.38k | auto it = read_code_unit(range); |
2136 | 4.38k | if (SCN_UNLIKELY(!it)) { |
2137 | 0 | return unexpected(make_eof_parse_error(it.error())); |
2138 | 0 | } |
2139 | | |
2140 | 4.38k | if (SCN_UNLIKELY(*range.begin() != |
2141 | 4.38k | static_cast<detail::char_t<Range>>(ch))) { |
2142 | 4.38k | return unexpected(parse_error::error); |
2143 | 4.38k | } |
2144 | | |
2145 | 0 | return *it; |
2146 | 4.38k | } Unexecuted instantiation: _ZN3scn2v34impl23read_matching_code_unitINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_NDTcl4implISO_EEE4typeE Unexecuted instantiation: _ZN3scn2v34impl23read_matching_code_unitINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_NDTcl4implISG_EEE4typeE _ZN3scn2v34impl23read_matching_code_unitINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_NDTcl4implISL_EEE4typeE Line | Count | Source | 2134 | 34 | { | 2135 | 34 | auto it = read_code_unit(range); | 2136 | 34 | if (SCN_UNLIKELY(!it)) { | 2137 | 0 | return unexpected(make_eof_parse_error(it.error())); | 2138 | 0 | } | 2139 | | | 2140 | 34 | if (SCN_UNLIKELY(*range.begin() != | 2141 | 34 | static_cast<detail::char_t<Range>>(ch))) { | 2142 | 34 | return unexpected(parse_error::error); | 2143 | 34 | } | 2144 | | | 2145 | 0 | return *it; | 2146 | 34 | } |
_ZN3scn2v34impl23read_matching_code_unitINS0_6ranges6detail9subrange_8subrangeIPKcS8_EEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESD_NDTcl4implISD_EEE4typeE Line | Count | Source | 2134 | 1.88k | { | 2135 | 1.88k | auto it = read_code_unit(range); | 2136 | 1.88k | if (SCN_UNLIKELY(!it)) { | 2137 | 0 | return unexpected(make_eof_parse_error(it.error())); | 2138 | 0 | } | 2139 | | | 2140 | 1.88k | if (SCN_UNLIKELY(*range.begin() != | 2141 | 1.88k | static_cast<detail::char_t<Range>>(ch))) { | 2142 | 1.88k | return unexpected(parse_error::error); | 2143 | 1.88k | } | 2144 | | | 2145 | 0 | return *it; | 2146 | 1.88k | } |
Unexecuted instantiation: _ZN3scn2v34impl23read_matching_code_unitINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_NDTcl4implISO_EEE4typeE Unexecuted instantiation: _ZN3scn2v34impl23read_matching_code_unitINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_NDTcl4implISG_EEE4typeE _ZN3scn2v34impl23read_matching_code_unitINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_NDTcl4implISL_EEE4typeE Line | Count | Source | 2134 | 38 | { | 2135 | 38 | auto it = read_code_unit(range); | 2136 | 38 | if (SCN_UNLIKELY(!it)) { | 2137 | 0 | return unexpected(make_eof_parse_error(it.error())); | 2138 | 0 | } | 2139 | | | 2140 | 38 | if (SCN_UNLIKELY(*range.begin() != | 2141 | 38 | static_cast<detail::char_t<Range>>(ch))) { | 2142 | 38 | return unexpected(parse_error::error); | 2143 | 38 | } | 2144 | | | 2145 | 0 | return *it; | 2146 | 38 | } |
_ZN3scn2v34impl23read_matching_code_unitINS0_6ranges6detail9subrange_8subrangeIPKwS8_EEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESD_NDTcl4implISD_EEE4typeE Line | Count | Source | 2134 | 1.65k | { | 2135 | 1.65k | auto it = read_code_unit(range); | 2136 | 1.65k | if (SCN_UNLIKELY(!it)) { | 2137 | 0 | return unexpected(make_eof_parse_error(it.error())); | 2138 | 0 | } | 2139 | | | 2140 | 1.65k | if (SCN_UNLIKELY(*range.begin() != | 2141 | 1.65k | static_cast<detail::char_t<Range>>(ch))) { | 2142 | 1.65k | return unexpected(parse_error::error); | 2143 | 1.65k | } | 2144 | | | 2145 | 0 | return *it; | 2146 | 1.65k | } |
_ZN3scn2v34impl23read_matching_code_unitINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEEEEENS1_14parse_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_NDTcl4implISF_EEE4typeE Line | Count | Source | 2134 | 532 | { | 2135 | 532 | auto it = read_code_unit(range); | 2136 | 532 | if (SCN_UNLIKELY(!it)) { | 2137 | 0 | return unexpected(make_eof_parse_error(it.error())); | 2138 | 0 | } | 2139 | | | 2140 | 532 | if (SCN_UNLIKELY(*range.begin() != | 2141 | 532 | static_cast<detail::char_t<Range>>(ch))) { | 2142 | 532 | return unexpected(parse_error::error); | 2143 | 532 | } | 2144 | | | 2145 | 0 | return *it; | 2146 | 532 | } |
Unexecuted instantiation: _ZN3scn2v34impl23read_matching_code_unitINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS4_18default_sentinel_tEEEEEEENS1_14parse_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_NDTcl4implISI_EEE4typeE _ZN3scn2v34impl23read_matching_code_unitINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEEEEENS1_14parse_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_NDTcl4implISF_EEE4typeE Line | Count | Source | 2134 | 252 | { | 2135 | 252 | auto it = read_code_unit(range); | 2136 | 252 | if (SCN_UNLIKELY(!it)) { | 2137 | 0 | return unexpected(make_eof_parse_error(it.error())); | 2138 | 0 | } | 2139 | | | 2140 | 252 | if (SCN_UNLIKELY(*range.begin() != | 2141 | 252 | static_cast<detail::char_t<Range>>(ch))) { | 2142 | 252 | return unexpected(parse_error::error); | 2143 | 252 | } | 2144 | | | 2145 | 0 | return *it; | 2146 | 252 | } |
Unexecuted instantiation: _ZN3scn2v34impl23read_matching_code_unitINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS4_18default_sentinel_tEEEEEEENS1_14parse_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_NDTcl4implISI_EEE4typeE |
2147 | | |
2148 | | template <typename Range> |
2149 | | auto read_matching_code_point(Range range, char32_t cp) |
2150 | | -> parse_expected<ranges::const_iterator_t<Range>> |
2151 | | { |
2152 | | auto val = read_code_point_into(range); |
2153 | | if (!val.is_valid()) { |
2154 | | return unexpected(parse_error::error); |
2155 | | } |
2156 | | auto decoded_cp = decode_code_point_exhaustive(val.codepoint); |
2157 | | if (SCN_UNLIKELY(cp != decoded_cp)) { |
2158 | | return unexpected(parse_error::error); |
2159 | | } |
2160 | | return val.iterator; |
2161 | | } |
2162 | | |
2163 | | template <typename Range> |
2164 | | auto read_matching_string(Range range, |
2165 | | std::basic_string_view<detail::char_t<Range>> str) |
2166 | | -> parse_expected<ranges::const_iterator_t<Range>> |
2167 | 76 | { |
2168 | 76 | SCN_TRY(it, read_exactly_n_code_units( |
2169 | 48 | range, static_cast<std::ptrdiff_t>(str.size())) |
2170 | 48 | .transform_error(make_eof_parse_error)); |
2171 | | |
2172 | 48 | auto sv = make_contiguous_buffer(ranges::subrange{range.begin(), it}); |
2173 | 48 | if (SCN_UNLIKELY(sv.view() != str)) { |
2174 | 48 | return unexpected(parse_error::error); |
2175 | 48 | } |
2176 | 0 | return it; |
2177 | 48 | } _ZN3scn2v34impl20read_matching_stringINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEEEEENS1_14parse_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_NSD_17basic_string_viewINDTcl4implISF_EEE4typeENSD_11char_traitsISN_EEEE Line | Count | Source | 2167 | 20 | { | 2168 | 20 | SCN_TRY(it, read_exactly_n_code_units( | 2169 | 10 | range, static_cast<std::ptrdiff_t>(str.size())) | 2170 | 10 | .transform_error(make_eof_parse_error)); | 2171 | | | 2172 | 10 | auto sv = make_contiguous_buffer(ranges::subrange{range.begin(), it}); | 2173 | 10 | if (SCN_UNLIKELY(sv.view() != str)) { | 2174 | 10 | return unexpected(parse_error::error); | 2175 | 10 | } | 2176 | 0 | return it; | 2177 | 10 | } |
_ZN3scn2v34impl20read_matching_stringINS0_6ranges6detail9subrange_8subrangeIPKcS8_EEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESD_NSB_17basic_string_viewINDTcl4implISD_EEE4typeENSB_11char_traitsISL_EEEE Line | Count | Source | 2167 | 24 | { | 2168 | 24 | SCN_TRY(it, read_exactly_n_code_units( | 2169 | 22 | range, static_cast<std::ptrdiff_t>(str.size())) | 2170 | 22 | .transform_error(make_eof_parse_error)); | 2171 | | | 2172 | 22 | auto sv = make_contiguous_buffer(ranges::subrange{range.begin(), it}); | 2173 | 22 | if (SCN_UNLIKELY(sv.view() != str)) { | 2174 | 22 | return unexpected(parse_error::error); | 2175 | 22 | } | 2176 | 0 | return it; | 2177 | 22 | } |
Unexecuted instantiation: _ZN3scn2v34impl20read_matching_stringINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS4_18default_sentinel_tEEEEEEENS1_14parse_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_NSG_17basic_string_viewINDTcl4implISI_EEE4typeENSG_11char_traitsISQ_EEEE Unexecuted instantiation: _ZN3scn2v34impl20read_matching_stringINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_NSE_17basic_string_viewINDTcl4implISG_EEE4typeENSE_11char_traitsISO_EEEE _ZN3scn2v34impl20read_matching_stringINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEEEEENS1_14parse_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_NSD_17basic_string_viewINDTcl4implISF_EEE4typeENSD_11char_traitsISN_EEEE Line | Count | Source | 2167 | 20 | { | 2168 | 20 | SCN_TRY(it, read_exactly_n_code_units( | 2169 | 6 | range, static_cast<std::ptrdiff_t>(str.size())) | 2170 | 6 | .transform_error(make_eof_parse_error)); | 2171 | | | 2172 | 6 | auto sv = make_contiguous_buffer(ranges::subrange{range.begin(), it}); | 2173 | 6 | if (SCN_UNLIKELY(sv.view() != str)) { | 2174 | 6 | return unexpected(parse_error::error); | 2175 | 6 | } | 2176 | 0 | return it; | 2177 | 6 | } |
_ZN3scn2v34impl20read_matching_stringINS0_6ranges6detail9subrange_8subrangeIPKwS8_EEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESD_NSB_17basic_string_viewINDTcl4implISD_EEE4typeENSB_11char_traitsISL_EEEE Line | Count | Source | 2167 | 12 | { | 2168 | 12 | SCN_TRY(it, read_exactly_n_code_units( | 2169 | 10 | range, static_cast<std::ptrdiff_t>(str.size())) | 2170 | 10 | .transform_error(make_eof_parse_error)); | 2171 | | | 2172 | 10 | auto sv = make_contiguous_buffer(ranges::subrange{range.begin(), it}); | 2173 | 10 | if (SCN_UNLIKELY(sv.view() != str)) { | 2174 | 10 | return unexpected(parse_error::error); | 2175 | 10 | } | 2176 | 0 | return it; | 2177 | 10 | } |
Unexecuted instantiation: _ZN3scn2v34impl20read_matching_stringINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS4_18default_sentinel_tEEEEEEENS1_14parse_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_NSG_17basic_string_viewINDTcl4implISI_EEE4typeENSG_11char_traitsISQ_EEEE Unexecuted instantiation: _ZN3scn2v34impl20read_matching_stringINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_NSE_17basic_string_viewINDTcl4implISG_EEE4typeENSE_11char_traitsISO_EEEE |
2178 | | |
2179 | | template <typename Range> |
2180 | | auto read_matching_string_classic(Range range, std::string_view str) |
2181 | | -> parse_expected<ranges::const_iterator_t<Range>> |
2182 | 4.46k | { |
2183 | 4.46k | SCN_TRY(it, read_exactly_n_code_units( |
2184 | 4.06k | range, static_cast<std::ptrdiff_t>(str.size())) |
2185 | 4.06k | .transform_error(make_eof_parse_error)); |
2186 | | |
2187 | 4.06k | if constexpr (std::is_same_v<detail::char_t<Range>, char>) { |
2188 | 2.36k | auto sv = make_contiguous_buffer(ranges::subrange{range.begin(), it}); |
2189 | 2.36k | if (SCN_UNLIKELY(sv.view() != str)) { |
2190 | 2.36k | return unexpected(parse_error::error); |
2191 | 2.36k | } |
2192 | 0 | return it; |
2193 | | } |
2194 | 1.69k | else { |
2195 | 1.69k | auto range_it = range.begin(); |
2196 | 1.69k | for (size_t i = 0; i < str.size(); ++i, (void)++range_it) { |
2197 | 1.69k | if (SCN_UNLIKELY(*range_it != |
2198 | 1.69k | static_cast<detail::char_t<Range>>(str[i]))) { |
2199 | 1.69k | return unexpected(parse_error::error); |
2200 | 1.69k | } |
2201 | 1.69k | } |
2202 | 0 | return it; |
2203 | 1.69k | } |
2204 | 4.06k | } _ZN3scn2v34impl28read_matching_string_classicINS0_6ranges6detail9subrange_8subrangeIPKcS8_EEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESD_NSB_17basic_string_viewIcNSB_11char_traitsIcEEEE Line | Count | Source | 2182 | 2.00k | { | 2183 | 2.00k | SCN_TRY(it, read_exactly_n_code_units( | 2184 | 1.89k | range, static_cast<std::ptrdiff_t>(str.size())) | 2185 | 1.89k | .transform_error(make_eof_parse_error)); | 2186 | | | 2187 | 1.89k | if constexpr (std::is_same_v<detail::char_t<Range>, char>) { | 2188 | 1.89k | auto sv = make_contiguous_buffer(ranges::subrange{range.begin(), it}); | 2189 | 1.89k | if (SCN_UNLIKELY(sv.view() != str)) { | 2190 | 1.89k | return unexpected(parse_error::error); | 2191 | 1.89k | } | 2192 | 0 | return it; | 2193 | | } | 2194 | | else { | 2195 | | auto range_it = range.begin(); | 2196 | | for (size_t i = 0; i < str.size(); ++i, (void)++range_it) { | 2197 | | if (SCN_UNLIKELY(*range_it != | 2198 | | static_cast<detail::char_t<Range>>(str[i]))) { | 2199 | | return unexpected(parse_error::error); | 2200 | | } | 2201 | | } | 2202 | | return it; | 2203 | | } | 2204 | 1.89k | } |
Unexecuted instantiation: _ZN3scn2v34impl28read_matching_string_classicINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_NSE_17basic_string_viewIcNSE_11char_traitsIcEEEE _ZN3scn2v34impl28read_matching_string_classicINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEEEEENS1_14parse_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_NSD_17basic_string_viewIcNSD_11char_traitsIcEEEE Line | Count | Source | 2182 | 596 | { | 2183 | 596 | SCN_TRY(it, read_exactly_n_code_units( | 2184 | 472 | range, static_cast<std::ptrdiff_t>(str.size())) | 2185 | 472 | .transform_error(make_eof_parse_error)); | 2186 | | | 2187 | 472 | if constexpr (std::is_same_v<detail::char_t<Range>, char>) { | 2188 | 472 | auto sv = make_contiguous_buffer(ranges::subrange{range.begin(), it}); | 2189 | 472 | if (SCN_UNLIKELY(sv.view() != str)) { | 2190 | 472 | return unexpected(parse_error::error); | 2191 | 472 | } | 2192 | 0 | return it; | 2193 | | } | 2194 | | else { | 2195 | | auto range_it = range.begin(); | 2196 | | for (size_t i = 0; i < str.size(); ++i, (void)++range_it) { | 2197 | | if (SCN_UNLIKELY(*range_it != | 2198 | | static_cast<detail::char_t<Range>>(str[i]))) { | 2199 | | return unexpected(parse_error::error); | 2200 | | } | 2201 | | } | 2202 | | return it; | 2203 | | } | 2204 | 472 | } |
Unexecuted instantiation: _ZN3scn2v34impl28read_matching_string_classicINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS4_18default_sentinel_tEEEEEEENS1_14parse_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_NSG_17basic_string_viewIcNSG_11char_traitsIcEEEE _ZN3scn2v34impl28read_matching_string_classicINS0_6ranges6detail9subrange_8subrangeIPKwS8_EEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESD_NSB_17basic_string_viewIcNSB_11char_traitsIcEEEE Line | Count | Source | 2182 | 1.64k | { | 2183 | 1.64k | SCN_TRY(it, read_exactly_n_code_units( | 2184 | 1.51k | range, static_cast<std::ptrdiff_t>(str.size())) | 2185 | 1.51k | .transform_error(make_eof_parse_error)); | 2186 | | | 2187 | | if constexpr (std::is_same_v<detail::char_t<Range>, char>) { | 2188 | | auto sv = make_contiguous_buffer(ranges::subrange{range.begin(), it}); | 2189 | | if (SCN_UNLIKELY(sv.view() != str)) { | 2190 | | return unexpected(parse_error::error); | 2191 | | } | 2192 | | return it; | 2193 | | } | 2194 | 1.51k | else { | 2195 | 1.51k | auto range_it = range.begin(); | 2196 | 1.51k | for (size_t i = 0; i < str.size(); ++i, (void)++range_it) { | 2197 | 1.51k | if (SCN_UNLIKELY(*range_it != | 2198 | 1.51k | static_cast<detail::char_t<Range>>(str[i]))) { | 2199 | 1.51k | return unexpected(parse_error::error); | 2200 | 1.51k | } | 2201 | 1.51k | } | 2202 | 0 | return it; | 2203 | 1.51k | } | 2204 | 1.51k | } |
_ZN3scn2v34impl28read_matching_string_classicINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEEEEENS1_14parse_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_NSD_17basic_string_viewIcNSD_11char_traitsIcEEEE Line | Count | Source | 2182 | 228 | { | 2183 | 228 | SCN_TRY(it, read_exactly_n_code_units( | 2184 | 180 | range, static_cast<std::ptrdiff_t>(str.size())) | 2185 | 180 | .transform_error(make_eof_parse_error)); | 2186 | | | 2187 | | if constexpr (std::is_same_v<detail::char_t<Range>, char>) { | 2188 | | auto sv = make_contiguous_buffer(ranges::subrange{range.begin(), it}); | 2189 | | if (SCN_UNLIKELY(sv.view() != str)) { | 2190 | | return unexpected(parse_error::error); | 2191 | | } | 2192 | | return it; | 2193 | | } | 2194 | 180 | else { | 2195 | 180 | auto range_it = range.begin(); | 2196 | 180 | for (size_t i = 0; i < str.size(); ++i, (void)++range_it) { | 2197 | 180 | if (SCN_UNLIKELY(*range_it != | 2198 | 180 | static_cast<detail::char_t<Range>>(str[i]))) { | 2199 | 180 | return unexpected(parse_error::error); | 2200 | 180 | } | 2201 | 180 | } | 2202 | 0 | return it; | 2203 | 180 | } | 2204 | 180 | } |
Unexecuted instantiation: _ZN3scn2v34impl28read_matching_string_classicINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_NSE_17basic_string_viewIcNSE_11char_traitsIcEEEE Unexecuted instantiation: _ZN3scn2v34impl28read_matching_string_classicINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS4_18default_sentinel_tEEEEEEENS1_14parse_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_NSG_17basic_string_viewIcNSG_11char_traitsIcEEEE |
2205 | | |
2206 | | // Ripped from fast_float |
2207 | | constexpr bool fast_streq_nocase(const char* a, const char* b, size_t len) |
2208 | 3.68k | { |
2209 | 3.68k | unsigned char running_diff{0}; |
2210 | 12.8k | for (size_t i = 0; i < len; ++i) { |
2211 | 9.17k | running_diff |= static_cast<unsigned char>(a[i] ^ b[i]); |
2212 | 9.17k | } |
2213 | 3.68k | return running_diff == 0 || running_diff == 32; |
2214 | 3.68k | } |
2215 | | |
2216 | | template <typename Range> |
2217 | | auto read_matching_string_classic_nocase(Range range, std::string_view str) |
2218 | | -> parse_expected<ranges::const_iterator_t<Range>> |
2219 | 8.57k | { |
2220 | 8.57k | using char_type = detail::char_t<Range>; |
2221 | | |
2222 | | if constexpr (ranges::contiguous_range<Range> && |
2223 | 3.69k | std::is_same_v<char_type, char>) { |
2224 | 3.69k | if (range.size() < str.size()) { |
2225 | 12 | return unexpected(make_eof_parse_error(eof_error::eof)); |
2226 | 12 | } |
2227 | 3.68k | if (!fast_streq_nocase(range.data(), str.data(), str.size())) { |
2228 | 3.68k | return unexpected(parse_error::error); |
2229 | 3.68k | } |
2230 | 0 | return ranges::next(range.begin(), str.size()); |
2231 | | } |
2232 | 4.87k | else { |
2233 | 4.87k | auto ascii_tolower = [](char_type ch) -> char_type { |
2234 | 4.59k | if (ch < 'A' || ch > 'Z') { |
2235 | 4.59k | return ch; |
2236 | 4.59k | } |
2237 | 0 | return static_cast<char_type>(ch + |
2238 | 0 | static_cast<char_type>('a' - 'A')); |
2239 | 4.59k | }; Unexecuted instantiation: _ZZN3scn2v34impl35read_matching_string_classic_nocaseINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_NSM_17basic_string_viewIcNSM_11char_traitsIcEEEEENKUlcE_clEc Unexecuted instantiation: _ZZN3scn2v34impl35read_matching_string_classic_nocaseINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_NSE_17basic_string_viewIcNSE_11char_traitsIcEEEEENKUlcE_clEc _ZZN3scn2v34impl35read_matching_string_classic_nocaseINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_NSJ_17basic_string_viewIcNSJ_11char_traitsIcEEEEENKUlcE_clEc Line | Count | Source | 2233 | 930 | auto ascii_tolower = [](char_type ch) -> char_type { | 2234 | 930 | if (ch < 'A' || ch > 'Z') { | 2235 | 930 | return ch; | 2236 | 930 | } | 2237 | 0 | return static_cast<char_type>(ch + | 2238 | 0 | static_cast<char_type>('a' - 'A')); | 2239 | 930 | }; |
Unexecuted instantiation: _ZZN3scn2v34impl35read_matching_string_classic_nocaseINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_NSM_17basic_string_viewIcNSM_11char_traitsIcEEEEENKUlwE_clEw Unexecuted instantiation: _ZZN3scn2v34impl35read_matching_string_classic_nocaseINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_NSE_17basic_string_viewIcNSE_11char_traitsIcEEEEENKUlwE_clEw _ZZN3scn2v34impl35read_matching_string_classic_nocaseINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_NSJ_17basic_string_viewIcNSJ_11char_traitsIcEEEEENKUlwE_clEw Line | Count | Source | 2233 | 418 | auto ascii_tolower = [](char_type ch) -> char_type { | 2234 | 418 | if (ch < 'A' || ch > 'Z') { | 2235 | 418 | return ch; | 2236 | 418 | } | 2237 | 0 | return static_cast<char_type>(ch + | 2238 | 0 | static_cast<char_type>('a' - 'A')); | 2239 | 418 | }; |
_ZZN3scn2v34impl35read_matching_string_classic_nocaseINS0_6ranges6detail9subrange_8subrangeIPKwS8_EEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESD_NSB_17basic_string_viewIcNSB_11char_traitsIcEEEEENKUlwE_clEw Line | Count | Source | 2233 | 3.25k | auto ascii_tolower = [](char_type ch) -> char_type { | 2234 | 3.25k | if (ch < 'A' || ch > 'Z') { | 2235 | 3.25k | return ch; | 2236 | 3.25k | } | 2237 | 0 | return static_cast<char_type>(ch + | 2238 | 0 | static_cast<char_type>('a' - 'A')); | 2239 | 3.25k | }; |
|
2240 | | |
2241 | 4.87k | SCN_TRY(it, read_exactly_n_code_units( |
2242 | 4.59k | range, static_cast<std::ptrdiff_t>(str.size())) |
2243 | 4.59k | .transform_error(make_eof_parse_error)); |
2244 | | |
2245 | 4.59k | if (SCN_UNLIKELY(!std::equal( |
2246 | 4.59k | range.begin(), it, str.begin(), [&](auto a, auto b) { |
2247 | 4.59k | return ascii_tolower(a) == |
2248 | 4.59k | static_cast<detail::char_t<Range>>(b); |
2249 | 4.59k | }))) { |
2250 | 4.59k | return unexpected(parse_error::error); |
2251 | 4.59k | } |
2252 | | |
2253 | 0 | return it; |
2254 | 4.59k | } |
2255 | 8.57k | } Unexecuted instantiation: _ZN3scn2v34impl35read_matching_string_classic_nocaseINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_NSM_17basic_string_viewIcNSM_11char_traitsIcEEEE Unexecuted instantiation: _ZN3scn2v34impl35read_matching_string_classic_nocaseINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_NSE_17basic_string_viewIcNSE_11char_traitsIcEEEE _ZN3scn2v34impl35read_matching_string_classic_nocaseINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_NSJ_17basic_string_viewIcNSJ_11char_traitsIcEEEE Line | Count | Source | 2219 | 1.11k | { | 2220 | 1.11k | using char_type = detail::char_t<Range>; | 2221 | | | 2222 | | if constexpr (ranges::contiguous_range<Range> && | 2223 | | std::is_same_v<char_type, char>) { | 2224 | | if (range.size() < str.size()) { | 2225 | | return unexpected(make_eof_parse_error(eof_error::eof)); | 2226 | | } | 2227 | | if (!fast_streq_nocase(range.data(), str.data(), str.size())) { | 2228 | | return unexpected(parse_error::error); | 2229 | | } | 2230 | | return ranges::next(range.begin(), str.size()); | 2231 | | } | 2232 | 1.11k | else { | 2233 | 1.11k | auto ascii_tolower = [](char_type ch) -> char_type { | 2234 | 1.11k | if (ch < 'A' || ch > 'Z') { | 2235 | 1.11k | return ch; | 2236 | 1.11k | } | 2237 | 1.11k | return static_cast<char_type>(ch + | 2238 | 1.11k | static_cast<char_type>('a' - 'A')); | 2239 | 1.11k | }; | 2240 | | | 2241 | 1.11k | SCN_TRY(it, read_exactly_n_code_units( | 2242 | 930 | range, static_cast<std::ptrdiff_t>(str.size())) | 2243 | 930 | .transform_error(make_eof_parse_error)); | 2244 | | | 2245 | 930 | if (SCN_UNLIKELY(!std::equal( | 2246 | 930 | range.begin(), it, str.begin(), [&](auto a, auto b) { | 2247 | 930 | return ascii_tolower(a) == | 2248 | 930 | static_cast<detail::char_t<Range>>(b); | 2249 | 930 | }))) { | 2250 | 930 | return unexpected(parse_error::error); | 2251 | 930 | } | 2252 | | | 2253 | 0 | return it; | 2254 | 930 | } | 2255 | 1.11k | } |
_ZN3scn2v34impl35read_matching_string_classic_nocaseINS0_6ranges6detail9subrange_8subrangeIPKcS8_EEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESD_NSB_17basic_string_viewIcNSB_11char_traitsIcEEEE Line | Count | Source | 2219 | 3.69k | { | 2220 | 3.69k | using char_type = detail::char_t<Range>; | 2221 | | | 2222 | | if constexpr (ranges::contiguous_range<Range> && | 2223 | 3.69k | std::is_same_v<char_type, char>) { | 2224 | 3.69k | if (range.size() < str.size()) { | 2225 | 12 | return unexpected(make_eof_parse_error(eof_error::eof)); | 2226 | 12 | } | 2227 | 3.68k | if (!fast_streq_nocase(range.data(), str.data(), str.size())) { | 2228 | 3.68k | return unexpected(parse_error::error); | 2229 | 3.68k | } | 2230 | 0 | return ranges::next(range.begin(), str.size()); | 2231 | | } | 2232 | | else { | 2233 | | auto ascii_tolower = [](char_type ch) -> char_type { | 2234 | | if (ch < 'A' || ch > 'Z') { | 2235 | | return ch; | 2236 | | } | 2237 | | return static_cast<char_type>(ch + | 2238 | | static_cast<char_type>('a' - 'A')); | 2239 | | }; | 2240 | | | 2241 | | SCN_TRY(it, read_exactly_n_code_units( | 2242 | | range, static_cast<std::ptrdiff_t>(str.size())) | 2243 | | .transform_error(make_eof_parse_error)); | 2244 | | | 2245 | | if (SCN_UNLIKELY(!std::equal( | 2246 | | range.begin(), it, str.begin(), [&](auto a, auto b) { | 2247 | | return ascii_tolower(a) == | 2248 | | static_cast<detail::char_t<Range>>(b); | 2249 | | }))) { | 2250 | | return unexpected(parse_error::error); | 2251 | | } | 2252 | | | 2253 | | return it; | 2254 | | } | 2255 | 3.69k | } |
Unexecuted instantiation: _ZN3scn2v34impl35read_matching_string_classic_nocaseINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_NSM_17basic_string_viewIcNSM_11char_traitsIcEEEE Unexecuted instantiation: _ZN3scn2v34impl35read_matching_string_classic_nocaseINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_NSE_17basic_string_viewIcNSE_11char_traitsIcEEEE _ZN3scn2v34impl35read_matching_string_classic_nocaseINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_NSJ_17basic_string_viewIcNSJ_11char_traitsIcEEEE Line | Count | Source | 2219 | 510 | { | 2220 | 510 | using char_type = detail::char_t<Range>; | 2221 | | | 2222 | | if constexpr (ranges::contiguous_range<Range> && | 2223 | | std::is_same_v<char_type, char>) { | 2224 | | if (range.size() < str.size()) { | 2225 | | return unexpected(make_eof_parse_error(eof_error::eof)); | 2226 | | } | 2227 | | if (!fast_streq_nocase(range.data(), str.data(), str.size())) { | 2228 | | return unexpected(parse_error::error); | 2229 | | } | 2230 | | return ranges::next(range.begin(), str.size()); | 2231 | | } | 2232 | 510 | else { | 2233 | 510 | auto ascii_tolower = [](char_type ch) -> char_type { | 2234 | 510 | if (ch < 'A' || ch > 'Z') { | 2235 | 510 | return ch; | 2236 | 510 | } | 2237 | 510 | return static_cast<char_type>(ch + | 2238 | 510 | static_cast<char_type>('a' - 'A')); | 2239 | 510 | }; | 2240 | | | 2241 | 510 | SCN_TRY(it, read_exactly_n_code_units( | 2242 | 418 | range, static_cast<std::ptrdiff_t>(str.size())) | 2243 | 418 | .transform_error(make_eof_parse_error)); | 2244 | | | 2245 | 418 | if (SCN_UNLIKELY(!std::equal( | 2246 | 418 | range.begin(), it, str.begin(), [&](auto a, auto b) { | 2247 | 418 | return ascii_tolower(a) == | 2248 | 418 | static_cast<detail::char_t<Range>>(b); | 2249 | 418 | }))) { | 2250 | 418 | return unexpected(parse_error::error); | 2251 | 418 | } | 2252 | | | 2253 | 0 | return it; | 2254 | 418 | } | 2255 | 510 | } |
_ZN3scn2v34impl35read_matching_string_classic_nocaseINS0_6ranges6detail9subrange_8subrangeIPKwS8_EEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESD_NSB_17basic_string_viewIcNSB_11char_traitsIcEEEE Line | Count | Source | 2219 | 3.25k | { | 2220 | 3.25k | using char_type = detail::char_t<Range>; | 2221 | | | 2222 | | if constexpr (ranges::contiguous_range<Range> && | 2223 | | std::is_same_v<char_type, char>) { | 2224 | | if (range.size() < str.size()) { | 2225 | | return unexpected(make_eof_parse_error(eof_error::eof)); | 2226 | | } | 2227 | | if (!fast_streq_nocase(range.data(), str.data(), str.size())) { | 2228 | | return unexpected(parse_error::error); | 2229 | | } | 2230 | | return ranges::next(range.begin(), str.size()); | 2231 | | } | 2232 | 3.25k | else { | 2233 | 3.25k | auto ascii_tolower = [](char_type ch) -> char_type { | 2234 | 3.25k | if (ch < 'A' || ch > 'Z') { | 2235 | 3.25k | return ch; | 2236 | 3.25k | } | 2237 | 3.25k | return static_cast<char_type>(ch + | 2238 | 3.25k | static_cast<char_type>('a' - 'A')); | 2239 | 3.25k | }; | 2240 | | | 2241 | 3.25k | SCN_TRY(it, read_exactly_n_code_units( | 2242 | 3.25k | range, static_cast<std::ptrdiff_t>(str.size())) | 2243 | 3.25k | .transform_error(make_eof_parse_error)); | 2244 | | | 2245 | 3.25k | if (SCN_UNLIKELY(!std::equal( | 2246 | 3.25k | range.begin(), it, str.begin(), [&](auto a, auto b) { | 2247 | 3.25k | return ascii_tolower(a) == | 2248 | 3.25k | static_cast<detail::char_t<Range>>(b); | 2249 | 3.25k | }))) { | 2250 | 3.25k | return unexpected(parse_error::error); | 2251 | 3.25k | } | 2252 | | | 2253 | 0 | return it; | 2254 | 3.25k | } | 2255 | 3.25k | } |
|
2256 | | |
2257 | | template <typename Range> |
2258 | | auto read_one_of_code_unit(Range range, std::string_view str) |
2259 | | -> parse_expected<ranges::const_iterator_t<Range>> |
2260 | 8.38k | { |
2261 | 8.38k | auto it = read_code_unit(range); |
2262 | 8.38k | if (SCN_UNLIKELY(!it)) { |
2263 | 0 | return unexpected(make_eof_parse_error(it.error())); |
2264 | 0 | } |
2265 | | |
2266 | 16.7k | for (auto ch : str) { |
2267 | 16.7k | if (*range.begin() == static_cast<detail::char_t<Range>>(ch)) { |
2268 | 0 | return *it; |
2269 | 0 | } |
2270 | 16.7k | } |
2271 | | |
2272 | 8.38k | return unexpected(parse_error::error); |
2273 | 8.38k | } Unexecuted instantiation: _ZN3scn2v34impl21read_one_of_code_unitINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS4_18default_sentinel_tEEEEEEENS1_14parse_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_NSG_17basic_string_viewIcNSG_11char_traitsIcEEEE Unexecuted instantiation: _ZN3scn2v34impl21read_one_of_code_unitINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_NSE_17basic_string_viewIcNSE_11char_traitsIcEEEE _ZN3scn2v34impl21read_one_of_code_unitINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEEEEENS1_14parse_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_NSD_17basic_string_viewIcNSD_11char_traitsIcEEEE Line | Count | Source | 2260 | 1.06k | { | 2261 | 1.06k | auto it = read_code_unit(range); | 2262 | 1.06k | if (SCN_UNLIKELY(!it)) { | 2263 | 0 | return unexpected(make_eof_parse_error(it.error())); | 2264 | 0 | } | 2265 | | | 2266 | 2.12k | for (auto ch : str) { | 2267 | 2.12k | if (*range.begin() == static_cast<detail::char_t<Range>>(ch)) { | 2268 | 0 | return *it; | 2269 | 0 | } | 2270 | 2.12k | } | 2271 | | | 2272 | 1.06k | return unexpected(parse_error::error); | 2273 | 1.06k | } |
_ZN3scn2v34impl21read_one_of_code_unitINS0_6ranges6detail9subrange_8subrangeIPKcS8_EEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESD_NSB_17basic_string_viewIcNSB_11char_traitsIcEEEE Line | Count | Source | 2260 | 3.64k | { | 2261 | 3.64k | auto it = read_code_unit(range); | 2262 | 3.64k | if (SCN_UNLIKELY(!it)) { | 2263 | 0 | return unexpected(make_eof_parse_error(it.error())); | 2264 | 0 | } | 2265 | | | 2266 | 7.28k | for (auto ch : str) { | 2267 | 7.28k | if (*range.begin() == static_cast<detail::char_t<Range>>(ch)) { | 2268 | 0 | return *it; | 2269 | 0 | } | 2270 | 7.28k | } | 2271 | | | 2272 | 3.64k | return unexpected(parse_error::error); | 2273 | 3.64k | } |
Unexecuted instantiation: _ZN3scn2v34impl21read_one_of_code_unitINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_NSM_17basic_string_viewIcNSM_11char_traitsIcEEEE Unexecuted instantiation: _ZN3scn2v34impl21read_one_of_code_unitINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_NSJ_17basic_string_viewIcNSJ_11char_traitsIcEEEE Unexecuted instantiation: _ZN3scn2v34impl21read_one_of_code_unitINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS4_18default_sentinel_tEEEEEEENS1_14parse_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_NSG_17basic_string_viewIcNSG_11char_traitsIcEEEE Unexecuted instantiation: _ZN3scn2v34impl21read_one_of_code_unitINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_NSE_17basic_string_viewIcNSE_11char_traitsIcEEEE _ZN3scn2v34impl21read_one_of_code_unitINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEEEEENS1_14parse_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_NSD_17basic_string_viewIcNSD_11char_traitsIcEEEE Line | Count | Source | 2260 | 472 | { | 2261 | 472 | auto it = read_code_unit(range); | 2262 | 472 | if (SCN_UNLIKELY(!it)) { | 2263 | 0 | return unexpected(make_eof_parse_error(it.error())); | 2264 | 0 | } | 2265 | | | 2266 | 944 | for (auto ch : str) { | 2267 | 944 | if (*range.begin() == static_cast<detail::char_t<Range>>(ch)) { | 2268 | 0 | return *it; | 2269 | 0 | } | 2270 | 944 | } | 2271 | | | 2272 | 472 | return unexpected(parse_error::error); | 2273 | 472 | } |
_ZN3scn2v34impl21read_one_of_code_unitINS0_6ranges6detail9subrange_8subrangeIPKwS8_EEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESD_NSB_17basic_string_viewIcNSB_11char_traitsIcEEEE Line | Count | Source | 2260 | 3.20k | { | 2261 | 3.20k | auto it = read_code_unit(range); | 2262 | 3.20k | if (SCN_UNLIKELY(!it)) { | 2263 | 0 | return unexpected(make_eof_parse_error(it.error())); | 2264 | 0 | } | 2265 | | | 2266 | 6.41k | for (auto ch : str) { | 2267 | 6.41k | if (*range.begin() == static_cast<detail::char_t<Range>>(ch)) { | 2268 | 0 | return *it; | 2269 | 0 | } | 2270 | 6.41k | } | 2271 | | | 2272 | 3.20k | return unexpected(parse_error::error); | 2273 | 3.20k | } |
Unexecuted instantiation: _ZN3scn2v34impl21read_one_of_code_unitINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_NSM_17basic_string_viewIcNSM_11char_traitsIcEEEE Unexecuted instantiation: _ZN3scn2v34impl21read_one_of_code_unitINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_NSJ_17basic_string_viewIcNSJ_11char_traitsIcEEEE |
2274 | | |
2275 | | template <typename Range, template <class> class Expected, typename Iterator> |
2276 | | auto apply_opt(Expected<Iterator>&& result, Range range) |
2277 | | -> std::enable_if_t<detail::is_expected<Expected<Iterator>>::value, |
2278 | | ranges::const_iterator_t<Range>> |
2279 | 2.15k | { |
2280 | 2.15k | if (!result) { |
2281 | 2.15k | return range.begin(); |
2282 | 2.15k | } |
2283 | 0 | return *result; |
2284 | 2.15k | } Unexecuted instantiation: _ZN3scn2v34impl9apply_optINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEENS1_14parse_expectedESE_EENSt3__19enable_ifIXsr6detail11is_expectedIT0_IT1_EEE5valueEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSM_9add_constIT_E4typeEEEEEE4typeEOSQ_SS_ Unexecuted instantiation: _ZN3scn2v34impl9apply_optINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEENS1_14parse_expectedESA_EENSt3__19enable_ifIXsr6detail11is_expectedIT0_IT1_EEE5valueEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSE_9add_constIT_E4typeEEEEEE4typeEOSI_SK_ _ZN3scn2v34impl9apply_optINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEENS1_14parse_expectedESB_EENSt3__19enable_ifIXsr6detail11is_expectedIT0_IT1_EEE5valueEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSJ_9add_constIT_E4typeEEEEEE4typeEOSN_SP_ Line | Count | Source | 2279 | 284 | { | 2280 | 284 | if (!result) { | 2281 | 284 | return range.begin(); | 2282 | 284 | } | 2283 | 0 | return *result; | 2284 | 284 | } |
_ZN3scn2v34impl9apply_optINS0_6ranges6detail9subrange_8subrangeIPKcS8_EENS1_14parse_expectedES8_EENSt3__19enable_ifIXsr6detail11is_expectedIT0_IT1_EEE5valueEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSB_9add_constIT_E4typeEEEEEE4typeEOSF_SH_ Line | Count | Source | 2279 | 932 | { | 2280 | 932 | if (!result) { | 2281 | 932 | return range.begin(); | 2282 | 932 | } | 2283 | 0 | return *result; | 2284 | 932 | } |
Unexecuted instantiation: _ZN3scn2v34impl9apply_optINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEENS1_14parse_expectedESE_EENSt3__19enable_ifIXsr6detail11is_expectedIT0_IT1_EEE5valueEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSM_9add_constIT_E4typeEEEEEE4typeEOSQ_SS_ Unexecuted instantiation: _ZN3scn2v34impl9apply_optINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEENS1_14parse_expectedESA_EENSt3__19enable_ifIXsr6detail11is_expectedIT0_IT1_EEE5valueEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSE_9add_constIT_E4typeEEEEEE4typeEOSI_SK_ _ZN3scn2v34impl9apply_optINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEENS1_14parse_expectedESB_EENSt3__19enable_ifIXsr6detail11is_expectedIT0_IT1_EEE5valueEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSJ_9add_constIT_E4typeEEEEEE4typeEOSN_SP_ Line | Count | Source | 2279 | 122 | { | 2280 | 122 | if (!result) { | 2281 | 122 | return range.begin(); | 2282 | 122 | } | 2283 | 0 | return *result; | 2284 | 122 | } |
_ZN3scn2v34impl9apply_optINS0_6ranges6detail9subrange_8subrangeIPKwS8_EENS1_14parse_expectedES8_EENSt3__19enable_ifIXsr6detail11is_expectedIT0_IT1_EEE5valueEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSB_9add_constIT_E4typeEEEEEE4typeEOSF_SH_ Line | Count | Source | 2279 | 814 | { | 2280 | 814 | if (!result) { | 2281 | 814 | return range.begin(); | 2282 | 814 | } | 2283 | 0 | return *result; | 2284 | 814 | } |
|
2285 | | |
2286 | | ///////////////////////////////////////////////////////////////// |
2287 | | // Text width calculation |
2288 | | ///////////////////////////////////////////////////////////////// |
2289 | | |
2290 | | constexpr std::size_t calculate_text_width_for_fmt_v10(char32_t cp) |
2291 | 112k | { |
2292 | 112k | if (cp >= 0x1100 && |
2293 | 112k | (cp <= 0x115f || // Hangul Jamo init. consonants |
2294 | 22.3k | cp == 0x2329 || // LEFT-POINTING ANGLE BRACKET |
2295 | 22.3k | cp == 0x232a || // RIGHT-POINTING ANGLE BRACKET |
2296 | | // CJK ... Yi except IDEOGRAPHIC HALF FILL SPACE: |
2297 | 22.3k | (cp >= 0x2e80 && cp <= 0xa4cf && cp != 0x303f) || |
2298 | 22.3k | (cp >= 0xac00 && cp <= 0xd7a3) || // Hangul Syllables |
2299 | 22.3k | (cp >= 0xf900 && cp <= 0xfaff) || // CJK Compatibility Ideographs |
2300 | 22.3k | (cp >= 0xfe10 && cp <= 0xfe19) || // Vertical Forms |
2301 | 22.3k | (cp >= 0xfe30 && cp <= 0xfe6f) || // CJK Compatibility Forms |
2302 | 22.3k | (cp >= 0xff00 && cp <= 0xff60) || // Fullwidth Forms |
2303 | 22.3k | (cp >= 0xffe0 && cp <= 0xffe6) || // Fullwidth Forms |
2304 | 22.3k | (cp >= 0x20000 && cp <= 0x2fffd) || // CJK |
2305 | 22.3k | (cp >= 0x30000 && cp <= 0x3fffd) || |
2306 | | // Miscellaneous Symbols and Pictographs + Emoticons: |
2307 | 22.3k | (cp >= 0x1f300 && cp <= 0x1f64f) || |
2308 | | // Supplemental Symbols and Pictographs: |
2309 | 22.3k | (cp >= 0x1f900 && cp <= 0x1f9ff))) { |
2310 | 3.67k | return 2; |
2311 | 3.67k | } |
2312 | 109k | return 1; |
2313 | 112k | } |
2314 | | |
2315 | | constexpr std::size_t calculate_valid_text_width(char32_t cp) |
2316 | 66.1k | { |
2317 | 66.1k | return calculate_text_width_for_fmt_v10(cp); |
2318 | 66.1k | } |
2319 | | |
2320 | | template <typename CharT> |
2321 | | std::size_t calculate_valid_text_width(std::basic_string_view<CharT> input) |
2322 | | { |
2323 | | size_t count{0}; |
2324 | | for_each_code_point_valid(input, [&count](char32_t cp) { |
2325 | | count += calculate_text_width_for_fmt_v10(cp); |
2326 | | }); |
2327 | | return count; |
2328 | | } |
2329 | | |
2330 | | constexpr std::size_t calculate_text_width(char32_t cp) |
2331 | 190 | { |
2332 | 190 | return calculate_text_width_for_fmt_v10(cp); |
2333 | 190 | } |
2334 | | |
2335 | | template <typename CharT> |
2336 | | std::size_t calculate_text_width(std::basic_string_view<CharT> input) |
2337 | 26.9k | { |
2338 | 26.9k | size_t count{0}; |
2339 | 46.3k | for_each_code_point(input, [&count](char32_t cp) { |
2340 | 46.3k | count += calculate_text_width_for_fmt_v10(cp); |
2341 | 46.3k | }); scn::v3::impl::calculate_text_width<char>(std::__1::basic_string_view<char, std::__1::char_traits<char> >)::{lambda(char32_t)#1}::operator()(char32_t) constLine | Count | Source | 2339 | 38.9k | for_each_code_point(input, [&count](char32_t cp) { | 2340 | 38.9k | count += calculate_text_width_for_fmt_v10(cp); | 2341 | 38.9k | }); |
scn::v3::impl::calculate_text_width<wchar_t>(std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> >)::{lambda(char32_t)#1}::operator()(char32_t) constLine | Count | Source | 2339 | 7.38k | for_each_code_point(input, [&count](char32_t cp) { | 2340 | 7.38k | count += calculate_text_width_for_fmt_v10(cp); | 2341 | 7.38k | }); |
|
2342 | 26.9k | return count; |
2343 | 26.9k | } unsigned long scn::v3::impl::calculate_text_width<char>(std::__1::basic_string_view<char, std::__1::char_traits<char> >) Line | Count | Source | 2337 | 23.4k | { | 2338 | 23.4k | size_t count{0}; | 2339 | 23.4k | for_each_code_point(input, [&count](char32_t cp) { | 2340 | 23.4k | count += calculate_text_width_for_fmt_v10(cp); | 2341 | 23.4k | }); | 2342 | 23.4k | return count; | 2343 | 23.4k | } |
unsigned long scn::v3::impl::calculate_text_width<wchar_t>(std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> >) Line | Count | Source | 2337 | 3.47k | { | 2338 | 3.47k | size_t count{0}; | 2339 | 3.47k | for_each_code_point(input, [&count](char32_t cp) { | 2340 | 3.47k | count += calculate_text_width_for_fmt_v10(cp); | 2341 | 3.47k | }); | 2342 | 3.47k | return count; | 2343 | 3.47k | } |
|
2344 | | |
2345 | | namespace counted_width_iterator_impl { |
2346 | | template <typename It, typename S> |
2347 | | class counted_width_iterator { |
2348 | | static_assert(ranges::forward_iterator<It>); |
2349 | | static_assert(ranges::sentinel_for<S, It>); |
2350 | | |
2351 | | template <typename OtherIt, typename OtherS> |
2352 | | friend class counted_width_iterator; |
2353 | | |
2354 | | public: |
2355 | | using iterator = It; |
2356 | | using sentinel = S; |
2357 | | using value_type = ranges::iter_value_t<It>; |
2358 | | using pointer = value_type*; |
2359 | | using reference = value_type&; |
2360 | | using difference_type = ranges::iter_difference_t<It>; |
2361 | | using iterator_category = |
2362 | | std::conditional_t<ranges::bidirectional_iterator<It>, |
2363 | | std::bidirectional_iterator_tag, |
2364 | | std::forward_iterator_tag>; |
2365 | | |
2366 | | constexpr counted_width_iterator() = default; |
2367 | | |
2368 | | constexpr counted_width_iterator(iterator x, sentinel s, difference_type n) |
2369 | 33.5k | : m_current(x), m_end(s), m_count(n) |
2370 | 33.5k | { |
2371 | 33.5k | } Unexecuted instantiation: scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> >::counted_width_iterator(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true>, long) Unexecuted instantiation: scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>::counted_width_iterator(scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t, long) Unexecuted instantiation: scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> >::counted_width_iterator(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true>, long) Unexecuted instantiation: scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> >::counted_width_iterator(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true>, long) Unexecuted instantiation: scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>::counted_width_iterator(scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t, long) Unexecuted instantiation: scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> >::counted_width_iterator(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true>, long) scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> >::counted_width_iterator(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true>, long) Line | Count | Source | 2369 | 4.46k | : m_current(x), m_end(s), m_count(n) | 2370 | 4.46k | { | 2371 | 4.46k | } |
scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> >::counted_width_iterator(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true>, long) Line | Count | Source | 2369 | 1.67k | : m_current(x), m_end(s), m_count(n) | 2370 | 1.67k | { | 2371 | 1.67k | } |
scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>::counted_width_iterator(char const*, char const*, long) Line | Count | Source | 2369 | 19.4k | : m_current(x), m_end(s), m_count(n) | 2370 | 19.4k | { | 2371 | 19.4k | } |
scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>::counted_width_iterator(wchar_t const*, wchar_t const*, long) Line | Count | Source | 2369 | 7.92k | : m_current(x), m_end(s), m_count(n) | 2370 | 7.92k | { | 2371 | 7.92k | } |
|
2372 | | |
2373 | | template <typename OtherIt, |
2374 | | typename OtherS, |
2375 | | std::enable_if_t<std::is_convertible_v<OtherIt, It> && |
2376 | | std::is_convertible_v<OtherS, S>>* = nullptr> |
2377 | | constexpr counted_width_iterator( |
2378 | | const counted_width_iterator<OtherIt, OtherS>& other) |
2379 | | : m_current(other.m_current), |
2380 | | m_end(other.m_end), |
2381 | | m_count(other.m_count), |
2382 | | m_multibyte_left(other.m_multibyte_left) |
2383 | | { |
2384 | | } |
2385 | | |
2386 | | template <typename OtherIt, typename OtherS> |
2387 | | constexpr auto operator=( |
2388 | | const counted_width_iterator<OtherIt, OtherS>& other) |
2389 | | -> std::enable_if_t<std::is_convertible_v<OtherIt, It> && |
2390 | | std::is_convertible_v<OtherS, S>, |
2391 | | counted_width_iterator&> |
2392 | | { |
2393 | | m_current = other.m_current; |
2394 | | m_end = other.m_end; |
2395 | | m_count = other.m_count; |
2396 | | m_multibyte_left = other.m_multibyte_left; |
2397 | | return *this; |
2398 | | } |
2399 | | |
2400 | | constexpr It base() const |
2401 | 156k | { |
2402 | 156k | return m_current; |
2403 | 156k | } Unexecuted instantiation: scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> >::base() const Unexecuted instantiation: scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>::base() const Unexecuted instantiation: scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> >::base() const scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>::base() const Line | Count | Source | 2401 | 110k | { | 2402 | 110k | return m_current; | 2403 | 110k | } |
Unexecuted instantiation: scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> >::base() const Unexecuted instantiation: scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>::base() const Unexecuted instantiation: scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> >::base() const scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>::base() const Line | Count | Source | 2401 | 28.9k | { | 2402 | 28.9k | return m_current; | 2403 | 28.9k | } |
scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> >::base() const Line | Count | Source | 2401 | 13.7k | { | 2402 | 13.7k | return m_current; | 2403 | 13.7k | } |
scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> >::base() const Line | Count | Source | 2401 | 3.40k | { | 2402 | 3.40k | return m_current; | 2403 | 3.40k | } |
|
2404 | | constexpr difference_type count() const |
2405 | 151k | { |
2406 | 151k | return m_count; |
2407 | 151k | } Unexecuted instantiation: scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> >::count() const Unexecuted instantiation: scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>::count() const Unexecuted instantiation: scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> >::count() const scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>::count() const Line | Count | Source | 2405 | 106k | { | 2406 | 106k | return m_count; | 2407 | 106k | } |
Unexecuted instantiation: scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> >::count() const Unexecuted instantiation: scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>::count() const Unexecuted instantiation: scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> >::count() const scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>::count() const Line | Count | Source | 2405 | 27.5k | { | 2406 | 27.5k | return m_count; | 2407 | 27.5k | } |
scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> >::count() const Line | Count | Source | 2405 | 14.2k | { | 2406 | 14.2k | return m_count; | 2407 | 14.2k | } |
scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> >::count() const Line | Count | Source | 2405 | 3.43k | { | 2406 | 3.43k | return m_count; | 2407 | 3.43k | } |
|
2408 | | constexpr difference_type multibyte_left() const |
2409 | 4.71k | { |
2410 | 4.71k | return m_multibyte_left; |
2411 | 4.71k | } Unexecuted instantiation: scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>::multibyte_left() const Unexecuted instantiation: scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> >::multibyte_left() const scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>::multibyte_left() const Line | Count | Source | 2409 | 3.51k | { | 2410 | 3.51k | return m_multibyte_left; | 2411 | 3.51k | } |
Unexecuted instantiation: scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> >::multibyte_left() const Unexecuted instantiation: scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>::multibyte_left() const Unexecuted instantiation: scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> >::multibyte_left() const scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>::multibyte_left() const Line | Count | Source | 2409 | 384 | { | 2410 | 384 | return m_multibyte_left; | 2411 | 384 | } |
Unexecuted instantiation: scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> >::multibyte_left() const scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> >::multibyte_left() const Line | Count | Source | 2409 | 784 | { | 2410 | 784 | return m_multibyte_left; | 2411 | 784 | } |
scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> >::multibyte_left() const Line | Count | Source | 2409 | 34 | { | 2410 | 34 | return m_multibyte_left; | 2411 | 34 | } |
|
2412 | | |
2413 | | constexpr decltype(auto) operator*() |
2414 | 138k | { |
2415 | 138k | return *m_current; |
2416 | 138k | } Unexecuted instantiation: scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>::operator*() Unexecuted instantiation: scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> >::operator*() scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>::operator*() Line | Count | Source | 2414 | 100k | { | 2415 | 100k | return *m_current; | 2416 | 100k | } |
Unexecuted instantiation: scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> >::operator*() Unexecuted instantiation: scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>::operator*() Unexecuted instantiation: scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> >::operator*() scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>::operator*() Line | Count | Source | 2414 | 28.4k | { | 2415 | 28.4k | return *m_current; | 2416 | 28.4k | } |
Unexecuted instantiation: scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> >::operator*() scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> >::operator*() Line | Count | Source | 2414 | 8.10k | { | 2415 | 8.10k | return *m_current; | 2416 | 8.10k | } |
scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> >::operator*() Line | Count | Source | 2414 | 1.72k | { | 2415 | 1.72k | return *m_current; | 2416 | 1.72k | } |
|
2417 | | constexpr decltype(auto) operator*() const |
2418 | 9.78k | { |
2419 | 9.78k | return *m_current; |
2420 | 9.78k | } Unexecuted instantiation: scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>::operator*() const scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>::operator*() const Line | Count | Source | 2418 | 8.19k | { | 2419 | 8.19k | return *m_current; | 2420 | 8.19k | } |
Unexecuted instantiation: scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>::operator*() const scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>::operator*() const Line | Count | Source | 2418 | 1.58k | { | 2419 | 1.58k | return *m_current; | 2420 | 1.58k | } |
|
2421 | | |
2422 | | constexpr counted_width_iterator& operator++() |
2423 | 143k | { |
2424 | 143k | SCN_EXPECT(m_current != m_end); |
2425 | 143k | _increment_current(); |
2426 | 143k | return *this; |
2427 | 143k | } Unexecuted instantiation: scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>::operator++() Unexecuted instantiation: scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> >::operator++() scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>::operator++() Line | Count | Source | 2423 | 112k | { | 2424 | 112k | SCN_EXPECT(m_current != m_end); | 2425 | 112k | _increment_current(); | 2426 | 112k | return *this; | 2427 | 112k | } |
Unexecuted instantiation: scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> >::operator++() Unexecuted instantiation: scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>::operator++() Unexecuted instantiation: scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> >::operator++() scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>::operator++() Line | Count | Source | 2423 | 20.3k | { | 2424 | 20.3k | SCN_EXPECT(m_current != m_end); | 2425 | 20.3k | _increment_current(); | 2426 | 20.3k | return *this; | 2427 | 20.3k | } |
Unexecuted instantiation: scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> >::operator++() scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> >::operator++() Line | Count | Source | 2423 | 9.52k | { | 2424 | 9.52k | SCN_EXPECT(m_current != m_end); | 2425 | 9.52k | _increment_current(); | 2426 | 9.52k | return *this; | 2427 | 9.52k | } |
scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> >::operator++() Line | Count | Source | 2423 | 794 | { | 2424 | 794 | SCN_EXPECT(m_current != m_end); | 2425 | 794 | _increment_current(); | 2426 | 794 | return *this; | 2427 | 794 | } |
|
2428 | | |
2429 | | constexpr counted_width_iterator operator++(int) |
2430 | | { |
2431 | | auto tmp = *this; |
2432 | | ++*this; |
2433 | | return tmp; |
2434 | | } |
2435 | | |
2436 | | template <typename Iter = It> |
2437 | | constexpr auto operator--() |
2438 | | -> std::enable_if_t<ranges::bidirectional_iterator<Iter>, |
2439 | | counted_width_iterator&> |
2440 | 0 | { |
2441 | 0 | _decrement_current(); |
2442 | 0 | return *this; |
2443 | 0 | } Unexecuted instantiation: _ZN3scn2v34impl27counted_width_iterator_impl22counted_width_iteratorIPKcS5_EmmIS5_EENSt3__19enable_ifIXsr6rangesE22bidirectional_iteratorIT_EERS6_E4typeEv Unexecuted instantiation: _ZN3scn2v34impl27counted_width_iterator_impl22counted_width_iteratorINS3_IPKcS5_EENS1_15take_width_viewINSt3__117basic_string_viewIcNS8_11char_traitsIcEEEEE8sentinelILb1EEEEmmIS6_EENS8_9enable_ifIXsr6rangesE22bidirectional_iteratorIT_EERSG_E4typeEv Unexecuted instantiation: _ZN3scn2v34impl27counted_width_iterator_impl22counted_width_iteratorIPKwS5_EmmIS5_EENSt3__19enable_ifIXsr6rangesE22bidirectional_iteratorIT_EERS6_E4typeEv Unexecuted instantiation: _ZN3scn2v34impl27counted_width_iterator_impl22counted_width_iteratorINS3_IPKwS5_EENS1_15take_width_viewINSt3__117basic_string_viewIwNS8_11char_traitsIwEEEEE8sentinelILb1EEEEmmIS6_EENS8_9enable_ifIXsr6rangesE22bidirectional_iteratorIT_EERSG_E4typeEv Unexecuted instantiation: _ZN3scn2v34impl27counted_width_iterator_impl22counted_width_iteratorINS3_IPKcS5_EENS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIS5_S5_EEE8sentinelILb1EEEEmmIS6_EENSt3__19enable_ifIXsr6rangesE22bidirectional_iteratorIT_EERSG_E4typeEv Unexecuted instantiation: _ZN3scn2v34impl27counted_width_iterator_impl22counted_width_iteratorINS3_IPKwS5_EENS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIS5_S5_EEE8sentinelILb1EEEEmmIS6_EENSt3__19enable_ifIXsr6rangesE22bidirectional_iteratorIT_EERSG_E4typeEv |
2444 | | |
2445 | | template <typename Iter = It> |
2446 | | constexpr auto operator--(int) |
2447 | | -> std::enable_if_t<ranges::bidirectional_iterator<Iter>, |
2448 | | counted_width_iterator> |
2449 | | { |
2450 | | auto tmp = *this; |
2451 | | --*this; |
2452 | | return tmp; |
2453 | | } |
2454 | | |
2455 | | // TODO: optimize, make better than forward, if possible |
2456 | | #if 0 |
2457 | | template <typename Iter = It> |
2458 | | constexpr auto operator+(difference_type n) -> std::enable_if_t< |
2459 | | ranges_std::random_access_iterator<Iter>, |
2460 | | counted_width_iterator> |
2461 | | { |
2462 | | // TODO |
2463 | | return counted_width_iterator(m_current + n, m_count - n); |
2464 | | } |
2465 | | |
2466 | | template <typename Iter = It, |
2467 | | std::enable_if_t<ranges_std::random_access_iterator< |
2468 | | Iter>>* = nullptr> |
2469 | | friend constexpr counted_width_iterator operator+( |
2470 | | ranges_std::iter_difference_t<Iter> n, |
2471 | | const counted_width_iterator<Iter>& x) |
2472 | | { |
2473 | | return x + n; |
2474 | | } |
2475 | | |
2476 | | template <typename Iter = It> |
2477 | | constexpr auto operator+=(difference_type n) |
2478 | | -> std::enable_if_t< |
2479 | | ranges_std::random_access_iterator<Iter>, |
2480 | | counted_width_iterator&> |
2481 | | { |
2482 | | // TODO |
2483 | | m_current += n; |
2484 | | m_count -= n; |
2485 | | return *this; |
2486 | | } |
2487 | | |
2488 | | template <typename Iter = It> |
2489 | | constexpr auto operator-(difference_type n) -> std::enable_if_t< |
2490 | | ranges_std::random_access_iterator<Iter>, |
2491 | | counted_width_iterator> |
2492 | | { |
2493 | | // TODO |
2494 | | return counted_width_iterator(m_current - n, m_count + n); |
2495 | | } |
2496 | | |
2497 | | template <typename Iter = It, |
2498 | | std::enable_if_t<ranges_std::random_access_iterator< |
2499 | | Iter>>* = nullptr> |
2500 | | constexpr decltype(auto) operator[](difference_type n) const |
2501 | | { |
2502 | | return m_current[n]; |
2503 | | } |
2504 | | #endif |
2505 | | |
2506 | | template <typename OtherIt, typename OtherS> |
2507 | | friend constexpr auto operator==( |
2508 | | const counted_width_iterator& a, |
2509 | | const counted_width_iterator<OtherIt, OtherS>& b) |
2510 | | -> decltype(SCN_DECLVAL(const It&) == SCN_DECLVAL(const OtherIt&)) |
2511 | 87.6k | { |
2512 | 87.6k | return a.m_current == b.m_current; |
2513 | 87.6k | } Unexecuted instantiation: decltype (((static_cast<scn::v3::detail::basic_scan_buffer<char>::forward_iterator const& (*scn::v3::impl::counted_width_iterator_impl::operator==<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> const&, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> const&))()>(decltype(nullptr)))())==((static_cast<scn::v3::detail::basic_scan_buffer<char>::forward_iterator const& (*)()>(decltype(nullptr)))())) Unexecuted instantiation: decltype (((static_cast<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> const& (*scn::v3::impl::counted_width_iterator_impl::operator==<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> >(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> > const&, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> > const&))()>(decltype(nullptr)))())==((static_cast<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> const& (*)()>(decltype(nullptr)))())) decltype (((static_cast<char const* const& (*scn::v3::impl::counted_width_iterator_impl::operator==<char const*, char const*>(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> const&, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> const&))()>(decltype(nullptr)))())==((static_cast<char const* const& (*)()>(decltype(nullptr)))())) Line | Count | Source | 2511 | 73.8k | { | 2512 | 73.8k | return a.m_current == b.m_current; | 2513 | 73.8k | } |
Unexecuted instantiation: decltype (((static_cast<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> const& (*scn::v3::impl::counted_width_iterator_impl::operator==<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> >(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> > const&, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> > const&))()>(decltype(nullptr)))())==((static_cast<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> const& (*)()>(decltype(nullptr)))())) Unexecuted instantiation: decltype (((static_cast<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator const& (*scn::v3::impl::counted_width_iterator_impl::operator==<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> const&, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> const&))()>(decltype(nullptr)))())==((static_cast<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator const& (*)()>(decltype(nullptr)))())) Unexecuted instantiation: decltype (((static_cast<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> const& (*scn::v3::impl::counted_width_iterator_impl::operator==<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> >(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> > const&, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> > const&))()>(decltype(nullptr)))())==((static_cast<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> const& (*)()>(decltype(nullptr)))())) decltype (((static_cast<wchar_t const* const& (*scn::v3::impl::counted_width_iterator_impl::operator==<wchar_t const*, wchar_t const*>(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> const&, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> const&))()>(decltype(nullptr)))())==((static_cast<wchar_t const* const& (*)()>(decltype(nullptr)))())) Line | Count | Source | 2511 | 7.95k | { | 2512 | 7.95k | return a.m_current == b.m_current; | 2513 | 7.95k | } |
Unexecuted instantiation: decltype (((static_cast<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> const& (*scn::v3::impl::counted_width_iterator_impl::operator==<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> >(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> > const&, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> > const&))()>(decltype(nullptr)))())==((static_cast<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> const& (*)()>(decltype(nullptr)))())) decltype (((static_cast<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> const& (*scn::v3::impl::counted_width_iterator_impl::operator==<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> >(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> > const&, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> > const&))()>(decltype(nullptr)))())==((static_cast<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> const& (*)()>(decltype(nullptr)))())) Line | Count | Source | 2511 | 5.82k | { | 2512 | 5.82k | return a.m_current == b.m_current; | 2513 | 5.82k | } |
Unexecuted instantiation: decltype (((static_cast<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> const& (*scn::v3::impl::counted_width_iterator_impl::operator==<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> >(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> > const&, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> > const&))()>(decltype(nullptr)))())==((static_cast<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> const& (*)()>(decltype(nullptr)))())) |
2514 | | template <typename OtherIt, typename OtherS> |
2515 | | friend constexpr auto operator!=( |
2516 | | const counted_width_iterator& a, |
2517 | | const counted_width_iterator<OtherIt, OtherS>& b) |
2518 | | -> decltype(SCN_DECLVAL(const It&) == SCN_DECLVAL(const OtherIt&)) |
2519 | 79.4k | { |
2520 | 79.4k | return !(a == b); |
2521 | 79.4k | } Unexecuted instantiation: decltype (((static_cast<scn::v3::detail::basic_scan_buffer<char>::forward_iterator const& (*scn::v3::impl::counted_width_iterator_impl::operator!=<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> const&, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> const&))()>(decltype(nullptr)))())==((static_cast<scn::v3::detail::basic_scan_buffer<char>::forward_iterator const& (*)()>(decltype(nullptr)))())) Unexecuted instantiation: decltype (((static_cast<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> const& (*scn::v3::impl::counted_width_iterator_impl::operator!=<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> >(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> > const&, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> > const&))()>(decltype(nullptr)))())==((static_cast<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> const& (*)()>(decltype(nullptr)))())) decltype (((static_cast<char const* const& (*scn::v3::impl::counted_width_iterator_impl::operator!=<char const*, char const*>(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> const&, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> const&))()>(decltype(nullptr)))())==((static_cast<char const* const& (*)()>(decltype(nullptr)))())) Line | Count | Source | 2519 | 66.3k | { | 2520 | 66.3k | return !(a == b); | 2521 | 66.3k | } |
Unexecuted instantiation: decltype (((static_cast<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> const& (*scn::v3::impl::counted_width_iterator_impl::operator!=<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> >(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> > const&, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> > const&))()>(decltype(nullptr)))())==((static_cast<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> const& (*)()>(decltype(nullptr)))())) Unexecuted instantiation: decltype (((static_cast<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator const& (*scn::v3::impl::counted_width_iterator_impl::operator!=<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> const&, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> const&))()>(decltype(nullptr)))())==((static_cast<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator const& (*)()>(decltype(nullptr)))())) Unexecuted instantiation: decltype (((static_cast<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> const& (*scn::v3::impl::counted_width_iterator_impl::operator!=<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> >(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> > const&, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> > const&))()>(decltype(nullptr)))())==((static_cast<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> const& (*)()>(decltype(nullptr)))())) decltype (((static_cast<wchar_t const* const& (*scn::v3::impl::counted_width_iterator_impl::operator!=<wchar_t const*, wchar_t const*>(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> const&, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> const&))()>(decltype(nullptr)))())==((static_cast<wchar_t const* const& (*)()>(decltype(nullptr)))())) Line | Count | Source | 2519 | 7.25k | { | 2520 | 7.25k | return !(a == b); | 2521 | 7.25k | } |
Unexecuted instantiation: decltype (((static_cast<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> const& (*scn::v3::impl::counted_width_iterator_impl::operator!=<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> >(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> > const&, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> > const&))()>(decltype(nullptr)))())==((static_cast<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> const& (*)()>(decltype(nullptr)))())) decltype (((static_cast<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> const& (*scn::v3::impl::counted_width_iterator_impl::operator!=<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> >(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> > const&, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> > const&))()>(decltype(nullptr)))())==((static_cast<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> const& (*)()>(decltype(nullptr)))())) Line | Count | Source | 2519 | 5.82k | { | 2520 | 5.82k | return !(a == b); | 2521 | 5.82k | } |
Unexecuted instantiation: decltype (((static_cast<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> const& (*scn::v3::impl::counted_width_iterator_impl::operator!=<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> >(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> > const&, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> > const&))()>(decltype(nullptr)))())==((static_cast<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> const& (*)()>(decltype(nullptr)))())) |
2522 | | |
2523 | | friend constexpr bool operator==(const counted_width_iterator& x, |
2524 | | ranges::default_sentinel_t) |
2525 | | { |
2526 | | return x.count() == 0 && x.multibyte_left() == 0; |
2527 | | } |
2528 | | friend constexpr bool operator==(ranges::default_sentinel_t, |
2529 | | const counted_width_iterator& x) |
2530 | | { |
2531 | | return x.count() == 0 && x.multibyte_left() == 0; |
2532 | | } |
2533 | | |
2534 | | friend constexpr bool operator!=(const counted_width_iterator& a, |
2535 | | ranges::default_sentinel_t b) |
2536 | | { |
2537 | | return !(a == b); |
2538 | | } |
2539 | | friend constexpr bool operator!=(ranges::default_sentinel_t a, |
2540 | | const counted_width_iterator& b) |
2541 | | { |
2542 | | return !(a == b); |
2543 | | } |
2544 | | |
2545 | | template <typename OtherIt, typename OtherS> |
2546 | | friend constexpr auto operator<( |
2547 | | const counted_width_iterator& a, |
2548 | | const counted_width_iterator<OtherIt, OtherS>& b) |
2549 | | -> decltype(SCN_DECLVAL(const It&) < SCN_DECLVAL(const OtherIt&)) |
2550 | | { |
2551 | | if (a.count() == b.count()) { |
2552 | | return a.multibyte_left() > b.multibyte_left(); |
2553 | | } |
2554 | | |
2555 | | return a.count() > b.count(); |
2556 | | } |
2557 | | |
2558 | | template <typename OtherIt, typename OtherS> |
2559 | | friend constexpr auto operator>( |
2560 | | const counted_width_iterator& a, |
2561 | | const counted_width_iterator<OtherIt, OtherS>& b) |
2562 | | -> decltype(SCN_DECLVAL(const It&) < SCN_DECLVAL(const OtherIt&)) |
2563 | | { |
2564 | | return !(b < a); |
2565 | | } |
2566 | | |
2567 | | template <typename OtherIt, typename OtherS> |
2568 | | friend constexpr auto operator<=( |
2569 | | const counted_width_iterator& a, |
2570 | | const counted_width_iterator<OtherIt, OtherS>& b) |
2571 | | -> decltype(SCN_DECLVAL(const It&) < SCN_DECLVAL(const OtherIt&)) |
2572 | | { |
2573 | | return !(b < a); |
2574 | | } |
2575 | | |
2576 | | template <typename OtherIt, typename OtherS> |
2577 | | friend constexpr auto operator>=( |
2578 | | const counted_width_iterator& a, |
2579 | | const counted_width_iterator<OtherIt, OtherS>& b) |
2580 | | -> decltype(SCN_DECLVAL(const It&) < SCN_DECLVAL(const OtherIt&)) |
2581 | | { |
2582 | | return !(a < b); |
2583 | | } |
2584 | | |
2585 | | #if 0 |
2586 | | template <typename OtherIt, typename OtherS> |
2587 | | friend constexpr auto operator-( |
2588 | | const counted_width_iterator& a, |
2589 | | const counted_width_iterator<OtherIt, OtherS>& b) |
2590 | | -> std::enable_if_t<ranges_std::common_with<OtherIt, It>, |
2591 | | ranges_std::iter_difference_t<OtherIt>> |
2592 | | { |
2593 | | // TODO |
2594 | | } |
2595 | | |
2596 | | friend constexpr ranges_std::iter_difference_t<It> operator-( |
2597 | | const counted_width_iterator& x, |
2598 | | ranges_std::default_sentinel_t) |
2599 | | { |
2600 | | // TODO |
2601 | | } |
2602 | | |
2603 | | friend constexpr ranges_std::iter_difference_t<It> operator-( |
2604 | | ranges_std::default_sentinel_t, |
2605 | | const counted_width_iterator& x) |
2606 | | { |
2607 | | // TODO |
2608 | | } |
2609 | | #endif |
2610 | | |
2611 | | #if 0 |
2612 | | template <typename Iter = It> |
2613 | | constexpr auto operator-=(difference_type n) |
2614 | | -> std::enable_if_t< |
2615 | | ranges_std::random_access_iterator<Iter>, |
2616 | | counted_width_iterator&> |
2617 | | { |
2618 | | // TODO |
2619 | | m_current -= n; |
2620 | | m_count += n; |
2621 | | return *this; |
2622 | | } |
2623 | | #endif |
2624 | | |
2625 | | private: |
2626 | | difference_type _get_cp_length_at_current() const |
2627 | 88.5k | { |
2628 | 88.5k | return static_cast<difference_type>( |
2629 | 88.5k | detail::code_point_length_by_starting_code_unit(*m_current)); |
2630 | 88.5k | } Unexecuted instantiation: scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>::_get_cp_length_at_current() const Unexecuted instantiation: scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> >::_get_cp_length_at_current() const scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>::_get_cp_length_at_current() const Line | Count | Source | 2627 | 62.0k | { | 2628 | 62.0k | return static_cast<difference_type>( | 2629 | 62.0k | detail::code_point_length_by_starting_code_unit(*m_current)); | 2630 | 62.0k | } |
Unexecuted instantiation: scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> >::_get_cp_length_at_current() const Unexecuted instantiation: scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>::_get_cp_length_at_current() const Unexecuted instantiation: scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> >::_get_cp_length_at_current() const scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>::_get_cp_length_at_current() const Line | Count | Source | 2627 | 20.3k | { | 2628 | 20.3k | return static_cast<difference_type>( | 2629 | 20.3k | detail::code_point_length_by_starting_code_unit(*m_current)); | 2630 | 20.3k | } |
Unexecuted instantiation: scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> >::_get_cp_length_at_current() const scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> >::_get_cp_length_at_current() const Line | Count | Source | 2627 | 5.26k | { | 2628 | 5.26k | return static_cast<difference_type>( | 2629 | 5.26k | detail::code_point_length_by_starting_code_unit(*m_current)); | 2630 | 5.26k | } |
scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> >::_get_cp_length_at_current() const Line | Count | Source | 2627 | 794 | { | 2628 | 794 | return static_cast<difference_type>( | 2629 | 794 | detail::code_point_length_by_starting_code_unit(*m_current)); | 2630 | 794 | } |
|
2631 | | |
2632 | | difference_type _get_width_at_current_cp_start(difference_type cplen) const |
2633 | 88.5k | { |
2634 | 88.5k | if (SCN_UNLIKELY(cplen == 0)) { |
2635 | 644 | return 0; |
2636 | 644 | } |
2637 | | |
2638 | 87.8k | if (cplen == 1) { |
2639 | 66.1k | SCN_EXPECT(m_current != m_end); |
2640 | 66.1k | auto cp = static_cast<char32_t>(*m_current); |
2641 | 66.1k | return static_cast<difference_type>(calculate_valid_text_width(cp)); |
2642 | 66.1k | } |
2643 | | |
2644 | 21.6k | auto r = read_exactly_n_code_units(ranges::subrange{m_current, m_end}, |
2645 | 21.6k | cplen); |
2646 | 21.6k | if (SCN_UNLIKELY(!r)) { |
2647 | 310 | return 0; |
2648 | 310 | } |
2649 | | |
2650 | 21.3k | auto cp_str = std::basic_string<value_type>{m_current, *r}; |
2651 | 21.3k | return static_cast<difference_type>( |
2652 | 21.3k | calculate_text_width(std::basic_string_view<value_type>{cp_str})); |
2653 | 21.6k | } Unexecuted instantiation: scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>::_get_width_at_current_cp_start(long) const Unexecuted instantiation: scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> >::_get_width_at_current_cp_start(long) const scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>::_get_width_at_current_cp_start(long) const Line | Count | Source | 2633 | 62.0k | { | 2634 | 62.0k | if (SCN_UNLIKELY(cplen == 0)) { | 2635 | 644 | return 0; | 2636 | 644 | } | 2637 | | | 2638 | 61.4k | if (cplen == 1) { | 2639 | 42.0k | SCN_EXPECT(m_current != m_end); | 2640 | 42.0k | auto cp = static_cast<char32_t>(*m_current); | 2641 | 42.0k | return static_cast<difference_type>(calculate_valid_text_width(cp)); | 2642 | 42.0k | } | 2643 | | | 2644 | 19.3k | auto r = read_exactly_n_code_units(ranges::subrange{m_current, m_end}, | 2645 | 19.3k | cplen); | 2646 | 19.3k | if (SCN_UNLIKELY(!r)) { | 2647 | 310 | return 0; | 2648 | 310 | } | 2649 | | | 2650 | 19.0k | auto cp_str = std::basic_string<value_type>{m_current, *r}; | 2651 | 19.0k | return static_cast<difference_type>( | 2652 | 19.0k | calculate_text_width(std::basic_string_view<value_type>{cp_str})); | 2653 | 19.3k | } |
Unexecuted instantiation: scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> >::_get_width_at_current_cp_start(long) const Unexecuted instantiation: scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>::_get_width_at_current_cp_start(long) const Unexecuted instantiation: scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> >::_get_width_at_current_cp_start(long) const scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>::_get_width_at_current_cp_start(long) const Line | Count | Source | 2633 | 20.3k | { | 2634 | 20.3k | if (SCN_UNLIKELY(cplen == 0)) { | 2635 | 0 | return 0; | 2636 | 0 | } | 2637 | | | 2638 | 20.3k | if (cplen == 1) { | 2639 | 20.3k | SCN_EXPECT(m_current != m_end); | 2640 | 20.3k | auto cp = static_cast<char32_t>(*m_current); | 2641 | 20.3k | return static_cast<difference_type>(calculate_valid_text_width(cp)); | 2642 | 20.3k | } | 2643 | | | 2644 | 0 | auto r = read_exactly_n_code_units(ranges::subrange{m_current, m_end}, | 2645 | 0 | cplen); | 2646 | 0 | if (SCN_UNLIKELY(!r)) { | 2647 | 0 | return 0; | 2648 | 0 | } | 2649 | | | 2650 | 0 | auto cp_str = std::basic_string<value_type>{m_current, *r}; | 2651 | 0 | return static_cast<difference_type>( | 2652 | 0 | calculate_text_width(std::basic_string_view<value_type>{cp_str})); | 2653 | 0 | } |
Unexecuted instantiation: scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> >::_get_width_at_current_cp_start(long) const scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> >::_get_width_at_current_cp_start(long) const Line | Count | Source | 2633 | 5.26k | { | 2634 | 5.26k | if (SCN_UNLIKELY(cplen == 0)) { | 2635 | 0 | return 0; | 2636 | 0 | } | 2637 | | | 2638 | 5.26k | if (cplen == 1) { | 2639 | 2.93k | SCN_EXPECT(m_current != m_end); | 2640 | 2.93k | auto cp = static_cast<char32_t>(*m_current); | 2641 | 2.93k | return static_cast<difference_type>(calculate_valid_text_width(cp)); | 2642 | 2.93k | } | 2643 | | | 2644 | 2.32k | auto r = read_exactly_n_code_units(ranges::subrange{m_current, m_end}, | 2645 | 2.32k | cplen); | 2646 | 2.32k | if (SCN_UNLIKELY(!r)) { | 2647 | 0 | return 0; | 2648 | 0 | } | 2649 | | | 2650 | 2.32k | auto cp_str = std::basic_string<value_type>{m_current, *r}; | 2651 | 2.32k | return static_cast<difference_type>( | 2652 | 2.32k | calculate_text_width(std::basic_string_view<value_type>{cp_str})); | 2653 | 2.32k | } |
scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> >::_get_width_at_current_cp_start(long) const Line | Count | Source | 2633 | 794 | { | 2634 | 794 | if (SCN_UNLIKELY(cplen == 0)) { | 2635 | 0 | return 0; | 2636 | 0 | } | 2637 | | | 2638 | 794 | if (cplen == 1) { | 2639 | 794 | SCN_EXPECT(m_current != m_end); | 2640 | 794 | auto cp = static_cast<char32_t>(*m_current); | 2641 | 794 | return static_cast<difference_type>(calculate_valid_text_width(cp)); | 2642 | 794 | } | 2643 | | | 2644 | 0 | auto r = read_exactly_n_code_units(ranges::subrange{m_current, m_end}, | 2645 | 0 | cplen); | 2646 | 0 | if (SCN_UNLIKELY(!r)) { | 2647 | 0 | return 0; | 2648 | 0 | } | 2649 | | | 2650 | 0 | auto cp_str = std::basic_string<value_type>{m_current, *r}; | 2651 | 0 | return static_cast<difference_type>( | 2652 | 0 | calculate_text_width(std::basic_string_view<value_type>{cp_str})); | 2653 | 0 | } |
|
2654 | | |
2655 | | void _increment_current() |
2656 | 143k | { |
2657 | 143k | if (m_multibyte_left == 0) { |
2658 | 88.5k | auto cplen = _get_cp_length_at_current(); |
2659 | 88.5k | m_multibyte_left = cplen - 1; |
2660 | 88.5k | m_count -= _get_width_at_current_cp_start(cplen); |
2661 | 88.5k | } |
2662 | 54.6k | else { |
2663 | 54.6k | --m_multibyte_left; |
2664 | 54.6k | } |
2665 | | |
2666 | 143k | ++m_current; |
2667 | 143k | } Unexecuted instantiation: scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>::_increment_current() Unexecuted instantiation: scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> >::_increment_current() scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>::_increment_current() Line | Count | Source | 2656 | 112k | { | 2657 | 112k | if (m_multibyte_left == 0) { | 2658 | 62.0k | auto cplen = _get_cp_length_at_current(); | 2659 | 62.0k | m_multibyte_left = cplen - 1; | 2660 | 62.0k | m_count -= _get_width_at_current_cp_start(cplen); | 2661 | 62.0k | } | 2662 | 50.4k | else { | 2663 | 50.4k | --m_multibyte_left; | 2664 | 50.4k | } | 2665 | | | 2666 | 112k | ++m_current; | 2667 | 112k | } |
Unexecuted instantiation: scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> >::_increment_current() Unexecuted instantiation: scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>::_increment_current() Unexecuted instantiation: scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> >::_increment_current() scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>::_increment_current() Line | Count | Source | 2656 | 20.3k | { | 2657 | 20.3k | if (m_multibyte_left == 0) { | 2658 | 20.3k | auto cplen = _get_cp_length_at_current(); | 2659 | 20.3k | m_multibyte_left = cplen - 1; | 2660 | 20.3k | m_count -= _get_width_at_current_cp_start(cplen); | 2661 | 20.3k | } | 2662 | 0 | else { | 2663 | 0 | --m_multibyte_left; | 2664 | 0 | } | 2665 | | | 2666 | 20.3k | ++m_current; | 2667 | 20.3k | } |
Unexecuted instantiation: scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> >::_increment_current() scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> >::_increment_current() Line | Count | Source | 2656 | 9.52k | { | 2657 | 9.52k | if (m_multibyte_left == 0) { | 2658 | 5.26k | auto cplen = _get_cp_length_at_current(); | 2659 | 5.26k | m_multibyte_left = cplen - 1; | 2660 | 5.26k | m_count -= _get_width_at_current_cp_start(cplen); | 2661 | 5.26k | } | 2662 | 4.26k | else { | 2663 | 4.26k | --m_multibyte_left; | 2664 | 4.26k | } | 2665 | | | 2666 | 9.52k | ++m_current; | 2667 | 9.52k | } |
scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> >::_increment_current() Line | Count | Source | 2656 | 794 | { | 2657 | 794 | if (m_multibyte_left == 0) { | 2658 | 794 | auto cplen = _get_cp_length_at_current(); | 2659 | 794 | m_multibyte_left = cplen - 1; | 2660 | 794 | m_count -= _get_width_at_current_cp_start(cplen); | 2661 | 794 | } | 2662 | 0 | else { | 2663 | 0 | --m_multibyte_left; | 2664 | 0 | } | 2665 | | | 2666 | 794 | ++m_current; | 2667 | 794 | } |
|
2668 | | |
2669 | | void _decrement_current() |
2670 | 0 | { |
2671 | 0 | --m_current; |
2672 | |
|
2673 | 0 | auto cplen = _get_cp_length_at_current(); |
2674 | 0 | if (cplen == 0) { |
2675 | 0 | ++m_multibyte_left; |
2676 | 0 | } |
2677 | 0 | else { |
2678 | 0 | m_count += _get_width_at_current_cp_start(cplen); |
2679 | 0 | m_multibyte_left = cplen - 1; |
2680 | 0 | } |
2681 | 0 | } Unexecuted instantiation: scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>::_decrement_current() Unexecuted instantiation: scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> >::_decrement_current() Unexecuted instantiation: scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>::_decrement_current() Unexecuted instantiation: scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> >::_decrement_current() Unexecuted instantiation: scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> >::_decrement_current() Unexecuted instantiation: scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> >::_decrement_current() |
2682 | | |
2683 | | It m_current{}; |
2684 | | S m_end{}; |
2685 | | difference_type m_count{0}; |
2686 | | difference_type m_multibyte_left{0}; |
2687 | | }; |
2688 | | |
2689 | | template <typename I, typename S> |
2690 | | counted_width_iterator(I, S, ranges::iter_difference_t<I>) |
2691 | | -> counted_width_iterator<I, S>; |
2692 | | } // namespace counted_width_iterator_impl |
2693 | | |
2694 | | using counted_width_iterator_impl::counted_width_iterator; |
2695 | | |
2696 | | template <typename View, typename = void> |
2697 | | struct take_width_view_storage; |
2698 | | |
2699 | | template <typename View> |
2700 | | struct take_width_view_storage<View, |
2701 | | std::enable_if_t<ranges::borrowed_range<View>>> { |
2702 | 14.4k | take_width_view_storage(const View& v) : view(v) {}Unexecuted instantiation: scn::v3::impl::take_width_view_storage<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>, void>::take_width_view_storage(scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> const&) Unexecuted instantiation: scn::v3::impl::take_width_view_storage<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >, void>::take_width_view_storage(scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> > const&) Unexecuted instantiation: scn::v3::impl::take_width_view_storage<std::__1::basic_string_view<char, std::__1::char_traits<char> >, void>::take_width_view_storage(std::__1::basic_string_view<char, std::__1::char_traits<char> > const&) Unexecuted instantiation: scn::v3::impl::take_width_view_storage<scn::v3::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >, void>::take_width_view_storage(scn::v3::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > > const&) scn::v3::impl::take_width_view_storage<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*>, void>::take_width_view_storage(scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> const&) Line | Count | Source | 2702 | 7.90k | take_width_view_storage(const View& v) : view(v) {} |
Unexecuted instantiation: scn::v3::impl::take_width_view_storage<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>, void>::take_width_view_storage(scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> const&) Unexecuted instantiation: scn::v3::impl::take_width_view_storage<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >, void>::take_width_view_storage(scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> > const&) Unexecuted instantiation: scn::v3::impl::take_width_view_storage<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> >, void>::take_width_view_storage(std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > const&) Unexecuted instantiation: scn::v3::impl::take_width_view_storage<scn::v3::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >, void>::take_width_view_storage(scn::v3::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > > const&) scn::v3::impl::take_width_view_storage<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>, void>::take_width_view_storage(scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> const&) Line | Count | Source | 2702 | 3.04k | take_width_view_storage(const View& v) : view(v) {} |
scn::v3::impl::take_width_view_storage<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> >, void>::take_width_view_storage(scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> > const&) Line | Count | Source | 2702 | 2.57k | take_width_view_storage(const View& v) : view(v) {} |
scn::v3::impl::take_width_view_storage<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >, void>::take_width_view_storage(scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> > const&) Line | Count | Source | 2702 | 964 | take_width_view_storage(const View& v) : view(v) {} |
|
2703 | | |
2704 | | const View& get() const |
2705 | 146k | { |
2706 | 146k | return view; |
2707 | 146k | } Unexecuted instantiation: scn::v3::impl::take_width_view_storage<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>, void>::get() const Unexecuted instantiation: scn::v3::impl::take_width_view_storage<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >, void>::get() const Unexecuted instantiation: scn::v3::impl::take_width_view_storage<std::__1::basic_string_view<char, std::__1::char_traits<char> >, void>::get() const Unexecuted instantiation: scn::v3::impl::take_width_view_storage<scn::v3::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >, void>::get() const scn::v3::impl::take_width_view_storage<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*>, void>::get() const Line | Count | Source | 2705 | 94.0k | { | 2706 | 94.0k | return view; | 2707 | 94.0k | } |
Unexecuted instantiation: scn::v3::impl::take_width_view_storage<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>, void>::get() const Unexecuted instantiation: scn::v3::impl::take_width_view_storage<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >, void>::get() const Unexecuted instantiation: scn::v3::impl::take_width_view_storage<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> >, void>::get() const Unexecuted instantiation: scn::v3::impl::take_width_view_storage<scn::v3::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >, void>::get() const scn::v3::impl::take_width_view_storage<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>, void>::get() const Line | Count | Source | 2705 | 28.9k | { | 2706 | 28.9k | return view; | 2707 | 28.9k | } |
scn::v3::impl::take_width_view_storage<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> >, void>::get() const Line | Count | Source | 2705 | 18.0k | { | 2706 | 18.0k | return view; | 2707 | 18.0k | } |
scn::v3::impl::take_width_view_storage<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >, void>::get() const Line | Count | Source | 2705 | 5.82k | { | 2706 | 5.82k | return view; | 2707 | 5.82k | } |
|
2708 | | |
2709 | | View view; |
2710 | | }; |
2711 | | |
2712 | | template <typename View> |
2713 | | struct take_width_view_storage< |
2714 | | View, |
2715 | | std::enable_if_t<!ranges::borrowed_range<View>>> { |
2716 | | take_width_view_storage(const View& v) : view(&v) {} |
2717 | | |
2718 | | const View& get() const |
2719 | | { |
2720 | | return *view; |
2721 | | } |
2722 | | |
2723 | | const View* view; |
2724 | | }; |
2725 | | |
2726 | | template <typename View> |
2727 | | class take_width_view : public ranges::view_interface<take_width_view<View>> { |
2728 | | template <bool IsConst> |
2729 | | class sentinel { |
2730 | | friend class sentinel<!IsConst>; |
2731 | | using Base = std::conditional_t<IsConst, const View, View>; |
2732 | | using CWI = counted_width_iterator<ranges::iterator_t<Base>, |
2733 | | ranges::sentinel_t<Base>>; |
2734 | | using underlying = ranges::sentinel_t<Base>; |
2735 | | |
2736 | | public: |
2737 | | constexpr sentinel() = default; |
2738 | | |
2739 | 79.9k | constexpr explicit sentinel(underlying s) : m_end(SCN_MOVE(s)) {}Unexecuted instantiation: scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true>::sentinel(scn::v3::ranges::default_sentinel_t) Unexecuted instantiation: scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> > >::sentinel<true>::sentinel(scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true>) Unexecuted instantiation: scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > > >::sentinel<true>::sentinel(scn::v3::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true>) Unexecuted instantiation: scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true>::sentinel(scn::v3::ranges::default_sentinel_t) Unexecuted instantiation: scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> > >::sentinel<true>::sentinel(scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true>) Unexecuted instantiation: scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > > >::sentinel<true>::sentinel(scn::v3::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true>) scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> > >::sentinel<true>::sentinel(scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true>) Line | Count | Source | 2739 | 9.16k | constexpr explicit sentinel(underlying s) : m_end(SCN_MOVE(s)) {} |
scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> > >::sentinel<true>::sentinel(scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true>) Line | Count | Source | 2739 | 2.47k | constexpr explicit sentinel(underlying s) : m_end(SCN_MOVE(s)) {} |
Unexecuted instantiation: scn::v3::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true>::sentinel(char const*) scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true>::sentinel(char const*) Line | Count | Source | 2739 | 55.1k | constexpr explicit sentinel(underlying s) : m_end(SCN_MOVE(s)) {} |
Unexecuted instantiation: scn::v3::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true>::sentinel(wchar_t const*) scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true>::sentinel(wchar_t const*) Line | Count | Source | 2739 | 13.1k | constexpr explicit sentinel(underlying s) : m_end(SCN_MOVE(s)) {} |
|
2740 | | |
2741 | | template < |
2742 | | typename S, |
2743 | | std::enable_if_t<std::is_same_v<S, sentinel<!IsConst>>>* = nullptr, |
2744 | | bool C = IsConst, |
2745 | | typename VV = View, |
2746 | | std::enable_if_t<C && std::is_convertible_v<ranges::sentinel_t<VV>, |
2747 | | underlying>>* = nullptr> |
2748 | | constexpr explicit sentinel(S s) : m_end(SCN_MOVE(s.m_end)) |
2749 | | { |
2750 | | } |
2751 | | |
2752 | | constexpr underlying base() const |
2753 | | { |
2754 | | return m_end; |
2755 | | } |
2756 | | |
2757 | | friend constexpr bool operator==(const CWI& y, const sentinel& x) |
2758 | 145k | { |
2759 | 145k | return (y.count() == 0 && y.multibyte_left() == 0) || |
2760 | 145k | y.base() == x.m_end; |
2761 | 145k | } Unexecuted instantiation: scn::v3::impl::operator==(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> const&, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> const&) Unexecuted instantiation: scn::v3::impl::operator==(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> > const&, scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> > >::sentinel<true> const&) Unexecuted instantiation: scn::v3::impl::operator==(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> const&, scn::v3::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> const&) Unexecuted instantiation: scn::v3::impl::operator==(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> > const&, scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > > >::sentinel<true> const&) scn::v3::impl::operator==(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> const&, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> const&) Line | Count | Source | 2758 | 104k | { | 2759 | 104k | return (y.count() == 0 && y.multibyte_left() == 0) || | 2760 | 104k | y.base() == x.m_end; | 2761 | 104k | } |
Unexecuted instantiation: scn::v3::impl::operator==(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> const&, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> const&) Unexecuted instantiation: scn::v3::impl::operator==(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> > const&, scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> > >::sentinel<true> const&) Unexecuted instantiation: scn::v3::impl::operator==(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> const&, scn::v3::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> const&) Unexecuted instantiation: scn::v3::impl::operator==(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> > const&, scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > > >::sentinel<true> const&) scn::v3::impl::operator==(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> const&, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> const&) Line | Count | Source | 2758 | 26.7k | { | 2759 | 26.7k | return (y.count() == 0 && y.multibyte_left() == 0) || | 2760 | 26.7k | y.base() == x.m_end; | 2761 | 26.7k | } |
scn::v3::impl::operator==(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> > const&, scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> > >::sentinel<true> const&) Line | Count | Source | 2758 | 11.8k | { | 2759 | 11.8k | return (y.count() == 0 && y.multibyte_left() == 0) || | 2760 | 11.8k | y.base() == x.m_end; | 2761 | 11.8k | } |
scn::v3::impl::operator==(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> > const&, scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> > >::sentinel<true> const&) Line | Count | Source | 2758 | 2.47k | { | 2759 | 2.47k | return (y.count() == 0 && y.multibyte_left() == 0) || | 2760 | 2.47k | y.base() == x.m_end; | 2761 | 2.47k | } |
|
2762 | | |
2763 | | friend constexpr bool operator==(const sentinel& x, const CWI& y) |
2764 | | { |
2765 | | return y == x; |
2766 | | } |
2767 | | |
2768 | | friend constexpr bool operator!=(const CWI& y, const sentinel& x) |
2769 | 75.4k | { |
2770 | 75.4k | return !(y == x); |
2771 | 75.4k | } Unexecuted instantiation: scn::v3::impl::operator!=(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> const&, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> const&) Unexecuted instantiation: scn::v3::impl::operator!=(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> > const&, scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> > >::sentinel<true> const&) Unexecuted instantiation: scn::v3::impl::operator!=(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> const&, scn::v3::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> const&) Unexecuted instantiation: scn::v3::impl::operator!=(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> > const&, scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > > >::sentinel<true> const&) scn::v3::impl::operator!=(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> const&, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> const&) Line | Count | Source | 2769 | 55.4k | { | 2770 | 55.4k | return !(y == x); | 2771 | 55.4k | } |
Unexecuted instantiation: scn::v3::impl::operator!=(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> const&, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> const&) Unexecuted instantiation: scn::v3::impl::operator!=(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::sentinel<true> > const&, scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> > >::sentinel<true> const&) Unexecuted instantiation: scn::v3::impl::operator!=(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> const&, scn::v3::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> const&) Unexecuted instantiation: scn::v3::impl::operator!=(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> > const&, scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > > >::sentinel<true> const&) scn::v3::impl::operator!=(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> const&, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> const&) Line | Count | Source | 2769 | 12.8k | { | 2770 | 12.8k | return !(y == x); | 2771 | 12.8k | } |
scn::v3::impl::operator!=(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> > const&, scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> > >::sentinel<true> const&) Line | Count | Source | 2769 | 6.14k | { | 2770 | 6.14k | return !(y == x); | 2771 | 6.14k | } |
scn::v3::impl::operator!=(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> > const&, scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> > >::sentinel<true> const&) Line | Count | Source | 2769 | 1.04k | { | 2770 | 1.04k | return !(y == x); | 2771 | 1.04k | } |
|
2772 | | |
2773 | | friend constexpr bool operator!=(const sentinel& x, const CWI& y) |
2774 | | { |
2775 | | return !(y == x); |
2776 | | } |
2777 | | |
2778 | | private: |
2779 | | SCN_NO_UNIQUE_ADDRESS underlying m_end{}; |
2780 | | }; |
2781 | | |
2782 | | public: |
2783 | | using value_type = ranges::range_value_t<View>; |
2784 | | |
2785 | | take_width_view() = default; |
2786 | | |
2787 | | constexpr take_width_view(const View& base, std::ptrdiff_t count) |
2788 | 14.4k | : m_base(base), m_count(count) |
2789 | 14.4k | { |
2790 | 14.4k | } Unexecuted instantiation: scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::take_width_view(scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> const&, long) Unexecuted instantiation: scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> > >::take_width_view(scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> > const&, long) Unexecuted instantiation: scn::v3::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::take_width_view(std::__1::basic_string_view<char, std::__1::char_traits<char> > const&, long) Unexecuted instantiation: scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > > >::take_width_view(scn::v3::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > > const&, long) scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> >::take_width_view(scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> const&, long) Line | Count | Source | 2788 | 7.90k | : m_base(base), m_count(count) | 2789 | 7.90k | { | 2790 | 7.90k | } |
Unexecuted instantiation: scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::take_width_view(scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> const&, long) Unexecuted instantiation: scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> > >::take_width_view(scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> > const&, long) Unexecuted instantiation: scn::v3::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::take_width_view(std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > const&, long) Unexecuted instantiation: scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > > >::take_width_view(scn::v3::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > > const&, long) scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::take_width_view(scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> const&, long) Line | Count | Source | 2788 | 3.04k | : m_base(base), m_count(count) | 2789 | 3.04k | { | 2790 | 3.04k | } |
scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> > >::take_width_view(scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> > const&, long) Line | Count | Source | 2788 | 2.57k | : m_base(base), m_count(count) | 2789 | 2.57k | { | 2790 | 2.57k | } |
scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> > >::take_width_view(scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> > const&, long) Line | Count | Source | 2788 | 964 | : m_base(base), m_count(count) | 2789 | 964 | { | 2790 | 964 | } |
|
2791 | | |
2792 | | constexpr View base() const |
2793 | | { |
2794 | | return m_base; |
2795 | | } |
2796 | | |
2797 | | constexpr auto begin() const |
2798 | 33.5k | { |
2799 | 33.5k | return counted_width_iterator{m_base.get().begin(), m_base.get().end(), |
2800 | 33.5k | m_count}; |
2801 | 33.5k | } Unexecuted instantiation: scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> > >::begin() const Unexecuted instantiation: scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::begin() const Unexecuted instantiation: scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > > >::begin() const Unexecuted instantiation: scn::v3::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::begin() const scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> >::begin() const Line | Count | Source | 2798 | 19.4k | { | 2799 | 19.4k | return counted_width_iterator{m_base.get().begin(), m_base.get().end(), | 2800 | 19.4k | m_count}; | 2801 | 19.4k | } |
Unexecuted instantiation: scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> > >::begin() const Unexecuted instantiation: scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::begin() const Unexecuted instantiation: scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > > >::begin() const Unexecuted instantiation: scn::v3::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::begin() const scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::begin() const Line | Count | Source | 2798 | 7.92k | { | 2799 | 7.92k | return counted_width_iterator{m_base.get().begin(), m_base.get().end(), | 2800 | 7.92k | m_count}; | 2801 | 7.92k | } |
scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> > >::begin() const Line | Count | Source | 2798 | 4.46k | { | 2799 | 4.46k | return counted_width_iterator{m_base.get().begin(), m_base.get().end(), | 2800 | 4.46k | m_count}; | 2801 | 4.46k | } |
scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> > >::begin() const Line | Count | Source | 2798 | 1.67k | { | 2799 | 1.67k | return counted_width_iterator{m_base.get().begin(), m_base.get().end(), | 2800 | 1.67k | m_count}; | 2801 | 1.67k | } |
|
2802 | | |
2803 | | constexpr auto end() const |
2804 | 79.9k | { |
2805 | 79.9k | return sentinel<true>{m_base.get().end()}; |
2806 | 79.9k | } Unexecuted instantiation: scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::end() const Unexecuted instantiation: scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> > >::end() const Unexecuted instantiation: scn::v3::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::end() const Unexecuted instantiation: scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > > >::end() const scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> >::end() const Line | Count | Source | 2804 | 55.1k | { | 2805 | 55.1k | return sentinel<true>{m_base.get().end()}; | 2806 | 55.1k | } |
Unexecuted instantiation: scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >::end() const Unexecuted instantiation: scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> > >::end() const Unexecuted instantiation: scn::v3::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::end() const Unexecuted instantiation: scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > > >::end() const scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::end() const Line | Count | Source | 2804 | 13.1k | { | 2805 | 13.1k | return sentinel<true>{m_base.get().end()}; | 2806 | 13.1k | } |
scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> > >::end() const Line | Count | Source | 2804 | 9.16k | { | 2805 | 9.16k | return sentinel<true>{m_base.get().end()}; | 2806 | 9.16k | } |
scn::v3::impl::take_width_view<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> > >::end() const Line | Count | Source | 2804 | 2.47k | { | 2805 | 2.47k | return sentinel<true>{m_base.get().end()}; | 2806 | 2.47k | } |
|
2807 | | |
2808 | | private: |
2809 | | take_width_view_storage<View> m_base{}; |
2810 | | std::ptrdiff_t m_count{0}; |
2811 | | }; |
2812 | | |
2813 | | template <typename R> |
2814 | | take_width_view(R&&, std::ptrdiff_t) -> take_width_view<R>; |
2815 | | |
2816 | | struct _take_width_fn { |
2817 | | template <typename R> |
2818 | | constexpr auto operator()(const R& r, std::ptrdiff_t n) const |
2819 | | -> decltype(take_width_view{r, n}) |
2820 | 14.4k | { |
2821 | 14.4k | return take_width_view{r, n}; |
2822 | 14.4k | } Unexecuted instantiation: decltype (scn::v3::impl::take_width_view{{parm#1}, {parm#2}}) scn::v3::impl::_take_width_fn::operator()<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >(scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> const&, long) constUnexecuted instantiation: decltype (scn::v3::impl::take_width_view{{parm#1}, {parm#2}}) scn::v3::impl::_take_width_fn::operator()<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> > >(scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> > const&, long) constUnexecuted instantiation: decltype (scn::v3::impl::take_width_view{{parm#1}, {parm#2}}) scn::v3::impl::_take_width_fn::operator()<std::__1::basic_string_view<char, std::__1::char_traits<char> > >(std::__1::basic_string_view<char, std::__1::char_traits<char> > const&, long) constUnexecuted instantiation: decltype (scn::v3::impl::take_width_view{{parm#1}, {parm#2}}) scn::v3::impl::_take_width_fn::operator()<scn::v3::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > > >(scn::v3::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > > const&, long) constdecltype (scn::v3::impl::take_width_view{{parm#1}, {parm#2}}) scn::v3::impl::_take_width_fn::operator()<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> >(scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> const&, long) constLine | Count | Source | 2820 | 7.90k | { | 2821 | 7.90k | return take_width_view{r, n}; | 2822 | 7.90k | } |
Unexecuted instantiation: decltype (scn::v3::impl::take_width_view{{parm#1}, {parm#2}}) scn::v3::impl::_take_width_fn::operator()<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >(scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> const&, long) constUnexecuted instantiation: decltype (scn::v3::impl::take_width_view{{parm#1}, {parm#2}}) scn::v3::impl::_take_width_fn::operator()<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> > >(scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> > const&, long) constUnexecuted instantiation: decltype (scn::v3::impl::take_width_view{{parm#1}, {parm#2}}) scn::v3::impl::_take_width_fn::operator()<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >(std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > const&, long) constUnexecuted instantiation: decltype (scn::v3::impl::take_width_view{{parm#1}, {parm#2}}) scn::v3::impl::_take_width_fn::operator()<scn::v3::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > > >(scn::v3::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > > const&, long) constdecltype (scn::v3::impl::take_width_view{{parm#1}, {parm#2}}) scn::v3::impl::_take_width_fn::operator()<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >(scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> const&, long) constLine | Count | Source | 2820 | 3.04k | { | 2821 | 3.04k | return take_width_view{r, n}; | 2822 | 3.04k | } |
decltype (scn::v3::impl::take_width_view{{parm#1}, {parm#2}}) scn::v3::impl::_take_width_fn::operator()<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> > >(scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> > const&, long) constLine | Count | Source | 2820 | 2.57k | { | 2821 | 2.57k | return take_width_view{r, n}; | 2822 | 2.57k | } |
decltype (scn::v3::impl::take_width_view{{parm#1}, {parm#2}}) scn::v3::impl::_take_width_fn::operator()<scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> > >(scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> > const&, long) constLine | Count | Source | 2820 | 964 | { | 2821 | 964 | return take_width_view{r, n}; | 2822 | 964 | } |
|
2823 | | }; |
2824 | | |
2825 | | inline constexpr _take_width_fn take_width{}; |
2826 | | } // namespace impl |
2827 | | |
2828 | | namespace ranges { |
2829 | | template <typename R> |
2830 | | inline constexpr bool enable_borrowed_range<::scn::impl::take_width_view<R>> = |
2831 | | enable_borrowed_range<R>; |
2832 | | } |
2833 | | |
2834 | | ///////////////////////////////////////////////////////////////// |
2835 | | // contiguous_scan_context |
2836 | | ///////////////////////////////////////////////////////////////// |
2837 | | |
2838 | | namespace impl { |
2839 | | template <typename CharT> |
2840 | | class basic_contiguous_scan_context |
2841 | | : public detail::scan_context_base< |
2842 | | basic_scan_args<basic_scan_context<CharT>>> { |
2843 | | using base = |
2844 | | detail::scan_context_base<basic_scan_args<basic_scan_context<CharT>>>; |
2845 | | |
2846 | | public: |
2847 | | using char_type = CharT; |
2848 | | using buffer_type = detail::basic_scan_buffer<char_type>; |
2849 | | using range_type = ranges::subrange<const char_type*, const char_type*>; |
2850 | | using iterator = const char_type*; |
2851 | | using sentinel = const char_type*; |
2852 | | using parse_context_type = basic_scan_parse_context<char_type>; |
2853 | | |
2854 | | using parent_context_type = basic_scan_context<char_type>; |
2855 | | using args_type = basic_scan_args<parent_context_type>; |
2856 | | using arg_type = basic_scan_arg<parent_context_type>; |
2857 | | |
2858 | | template <typename Range, |
2859 | | std::enable_if_t<ranges::contiguous_range<Range> && |
2860 | | ranges::borrowed_range<Range>>* = nullptr> |
2861 | | constexpr basic_contiguous_scan_context(Range&& r, |
2862 | | args_type a, |
2863 | | detail::locale_ref loc = {}) |
2864 | 265k | : base(SCN_MOVE(a), loc), |
2865 | 265k | m_range(SCN_FWD(r)), |
2866 | 265k | m_current(m_range.begin()) |
2867 | 265k | { |
2868 | 265k | } _ZN3scn2v34impl29basic_contiguous_scan_contextIcEC2IRNS0_6ranges6detail9subrange_8subrangeIPKcSA_EETnPNSt3__19enable_ifIXaasr6rangesE16contiguous_rangeIT_Esr6rangesE14borrowed_rangeISF_EEvE4typeELPv0EEEOSF_NS0_15basic_scan_argsINS0_18basic_scan_contextIcEEEENS0_6detail10locale_refE Line | Count | Source | 2864 | 88.4k | : base(SCN_MOVE(a), loc), | 2865 | 88.4k | m_range(SCN_FWD(r)), | 2866 | 88.4k | m_current(m_range.begin()) | 2867 | 88.4k | { | 2868 | 88.4k | } |
_ZN3scn2v34impl29basic_contiguous_scan_contextIwEC2IRNS0_6ranges6detail9subrange_8subrangeIPKwSA_EETnPNSt3__19enable_ifIXaasr6rangesE16contiguous_rangeIT_Esr6rangesE14borrowed_rangeISF_EEvE4typeELPv0EEEOSF_NS0_15basic_scan_argsINS0_18basic_scan_contextIwEEEENS0_6detail10locale_refE Line | Count | Source | 2864 | 176k | : base(SCN_MOVE(a), loc), | 2865 | 176k | m_range(SCN_FWD(r)), | 2866 | 176k | m_current(m_range.begin()) | 2867 | 176k | { | 2868 | 176k | } |
|
2869 | | |
2870 | | constexpr iterator begin() const |
2871 | 363M | { |
2872 | 363M | return m_current; |
2873 | 363M | } scn::v3::impl::basic_contiguous_scan_context<char>::begin() const Line | Count | Source | 2871 | 189k | { | 2872 | 189k | return m_current; | 2873 | 189k | } |
scn::v3::impl::basic_contiguous_scan_context<wchar_t>::begin() const Line | Count | Source | 2871 | 363M | { | 2872 | 363M | return m_current; | 2873 | 363M | } |
|
2874 | | |
2875 | | constexpr sentinel end() const |
2876 | 725M | { |
2877 | 725M | return m_range.end(); |
2878 | 725M | } scn::v3::impl::basic_contiguous_scan_context<char>::end() const Line | Count | Source | 2876 | 139k | { | 2877 | 139k | return m_range.end(); | 2878 | 139k | } |
scn::v3::impl::basic_contiguous_scan_context<wchar_t>::end() const Line | Count | Source | 2876 | 725M | { | 2877 | 725M | return m_range.end(); | 2878 | 725M | } |
|
2879 | | |
2880 | | constexpr auto range() const |
2881 | 177k | { |
2882 | 177k | return ranges::subrange{begin(), end()}; |
2883 | 177k | } scn::v3::impl::basic_contiguous_scan_context<char>::range() const Line | Count | Source | 2881 | 58.9k | { | 2882 | 58.9k | return ranges::subrange{begin(), end()}; | 2883 | 58.9k | } |
scn::v3::impl::basic_contiguous_scan_context<wchar_t>::range() const Line | Count | Source | 2881 | 118k | { | 2882 | 118k | return ranges::subrange{begin(), end()}; | 2883 | 118k | } |
|
2884 | | |
2885 | | constexpr auto underlying_range() const |
2886 | 0 | { |
2887 | 0 | return m_range; |
2888 | 0 | } Unexecuted instantiation: scn::v3::impl::basic_contiguous_scan_context<char>::underlying_range() const Unexecuted instantiation: scn::v3::impl::basic_contiguous_scan_context<wchar_t>::underlying_range() const |
2889 | | |
2890 | | void advance_to(iterator it) |
2891 | 362M | { |
2892 | 362M | SCN_EXPECT(it <= end()); |
2893 | 362M | if constexpr (detail::is_comparable_with_nullptr<iterator>) { |
2894 | 362M | if (it == nullptr) { |
2895 | 0 | it = end(); |
2896 | 0 | } |
2897 | 362M | } |
2898 | 362M | m_current = SCN_MOVE(it); |
2899 | 362M | } scn::v3::impl::basic_contiguous_scan_context<char>::advance_to(char const*) Line | Count | Source | 2891 | 41.1k | { | 2892 | 41.1k | SCN_EXPECT(it <= end()); | 2893 | 41.1k | if constexpr (detail::is_comparable_with_nullptr<iterator>) { | 2894 | 41.1k | if (it == nullptr) { | 2895 | 0 | it = end(); | 2896 | 0 | } | 2897 | 41.1k | } | 2898 | 41.1k | m_current = SCN_MOVE(it); | 2899 | 41.1k | } |
scn::v3::impl::basic_contiguous_scan_context<wchar_t>::advance_to(wchar_t const*) Line | Count | Source | 2891 | 362M | { | 2892 | 362M | SCN_EXPECT(it <= end()); | 2893 | 362M | if constexpr (detail::is_comparable_with_nullptr<iterator>) { | 2894 | 362M | if (it == nullptr) { | 2895 | 0 | it = end(); | 2896 | 0 | } | 2897 | 362M | } | 2898 | 362M | m_current = SCN_MOVE(it); | 2899 | 362M | } |
|
2900 | | |
2901 | | void advance_to(const typename parent_context_type::iterator& it) |
2902 | 0 | { |
2903 | 0 | SCN_EXPECT(it.position() <= m_range.size()); |
2904 | 0 | m_current = m_range.begin() + it.position(); |
2905 | 0 | } Unexecuted instantiation: scn::v3::impl::basic_contiguous_scan_context<char>::advance_to(scn::v3::detail::basic_scan_buffer<char>::forward_iterator const&) Unexecuted instantiation: scn::v3::impl::basic_contiguous_scan_context<wchar_t>::advance_to(scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator const&) |
2906 | | |
2907 | | std::ptrdiff_t begin_position() |
2908 | 0 | { |
2909 | 0 | return ranges::distance(m_range.begin(), begin()); |
2910 | 0 | } Unexecuted instantiation: scn::v3::impl::basic_contiguous_scan_context<char>::begin_position() Unexecuted instantiation: scn::v3::impl::basic_contiguous_scan_context<wchar_t>::begin_position() |
2911 | | |
2912 | | private: |
2913 | | range_type m_range; |
2914 | | iterator m_current; |
2915 | | }; |
2916 | | |
2917 | | struct reader_error_handler { |
2918 | | constexpr void on_error(const char* msg) |
2919 | 41.7k | { |
2920 | 41.7k | SCN_UNLIKELY_ATTR |
2921 | 41.7k | m_msg = msg; |
2922 | 41.7k | } |
2923 | | explicit constexpr operator bool() const |
2924 | 70.9k | { |
2925 | 70.9k | return m_msg == nullptr; |
2926 | 70.9k | } |
2927 | | |
2928 | | const char* m_msg{nullptr}; |
2929 | | }; |
2930 | | |
2931 | | ///////////////////////////////////////////////////////////////// |
2932 | | // General reading support |
2933 | | ///////////////////////////////////////////////////////////////// |
2934 | | |
2935 | | template <typename SourceRange> |
2936 | | auto skip_classic_whitespace(const SourceRange& range, |
2937 | | bool allow_exhaustion = false) |
2938 | | -> eof_expected<ranges::const_iterator_t<SourceRange>> |
2939 | 16.7k | { |
2940 | 16.7k | if (!allow_exhaustion) { |
2941 | 15.4k | auto it = read_while_classic_space(range); |
2942 | 15.4k | if (auto e = eof_check(ranges::subrange{it, range.end()}); |
2943 | 15.4k | SCN_UNLIKELY(!e)) { |
2944 | 174 | return unexpected(e); |
2945 | 174 | } |
2946 | | |
2947 | 15.2k | return it; |
2948 | 15.4k | } |
2949 | | |
2950 | 1.29k | return read_while_classic_space(range); |
2951 | 16.7k | } Unexecuted instantiation: _ZN3scn2v34impl23skip_classic_whitespaceINS1_15take_width_viewINS3_INS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS4_18default_sentinel_tEEEEEEEEENS1_12eof_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEERKSJ_b Unexecuted instantiation: _ZN3scn2v34impl23skip_classic_whitespaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS4_18default_sentinel_tEEEEEEENS1_12eof_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEERKSI_b Unexecuted instantiation: _ZN3scn2v34impl23skip_classic_whitespaceINS1_15take_width_viewINS3_INSt3__117basic_string_viewIcNS4_11char_traitsIcEEEEEEEEEENS1_12eof_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS4_9add_constIT_E4typeEEEEEEERKSE_b Unexecuted instantiation: _ZN3scn2v34impl23skip_classic_whitespaceINS1_15take_width_viewINSt3__117basic_string_viewIcNS4_11char_traitsIcEEEEEEEENS1_12eof_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS4_9add_constIT_E4typeEEEEEEERKSD_b _ZN3scn2v34impl23skip_classic_whitespaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEEEEENS1_12eof_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEERKSF_b Line | Count | Source | 2939 | 468 | { | 2940 | 468 | if (!allow_exhaustion) { | 2941 | 0 | auto it = read_while_classic_space(range); | 2942 | 0 | if (auto e = eof_check(ranges::subrange{it, range.end()}); | 2943 | 0 | SCN_UNLIKELY(!e)) { | 2944 | 0 | return unexpected(e); | 2945 | 0 | } | 2946 | | | 2947 | 0 | return it; | 2948 | 0 | } | 2949 | | | 2950 | 468 | return read_while_classic_space(range); | 2951 | 468 | } |
_ZN3scn2v34impl23skip_classic_whitespaceINS0_6ranges6detail9subrange_8subrangeIPKcS8_EEEENS1_12eof_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEERKSD_b Line | Count | Source | 2939 | 6.92k | { | 2940 | 6.92k | if (!allow_exhaustion) { | 2941 | 6.73k | auto it = read_while_classic_space(range); | 2942 | 6.73k | if (auto e = eof_check(ranges::subrange{it, range.end()}); | 2943 | 6.73k | SCN_UNLIKELY(!e)) { | 2944 | 0 | return unexpected(e); | 2945 | 0 | } | 2946 | | | 2947 | 6.73k | return it; | 2948 | 6.73k | } | 2949 | | | 2950 | 196 | return read_while_classic_space(range); | 2951 | 6.92k | } |
Unexecuted instantiation: _ZN3scn2v34impl23skip_classic_whitespaceINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEEEENS1_12eof_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEERKSG_b Unexecuted instantiation: _ZN3scn2v34impl23skip_classic_whitespaceINS1_15take_width_viewINS3_INS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS4_18default_sentinel_tEEEEEEEEENS1_12eof_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEERKSJ_b Unexecuted instantiation: _ZN3scn2v34impl23skip_classic_whitespaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS4_18default_sentinel_tEEEEEEENS1_12eof_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEERKSI_b Unexecuted instantiation: _ZN3scn2v34impl23skip_classic_whitespaceINS1_15take_width_viewINS3_INSt3__117basic_string_viewIwNS4_11char_traitsIwEEEEEEEEEENS1_12eof_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS4_9add_constIT_E4typeEEEEEEERKSE_b Unexecuted instantiation: _ZN3scn2v34impl23skip_classic_whitespaceINS1_15take_width_viewINSt3__117basic_string_viewIwNS4_11char_traitsIwEEEEEEEENS1_12eof_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS4_9add_constIT_E4typeEEEEEEERKSD_b Unexecuted instantiation: _ZN3scn2v34impl23skip_classic_whitespaceINSt3__117basic_string_viewIwNS3_11char_traitsIwEEEEEENS1_12eof_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS3_9add_constIT_E4typeEEEEEEERKSB_b _ZN3scn2v34impl23skip_classic_whitespaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEEEEENS1_12eof_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEERKSF_b Line | Count | Source | 2939 | 180 | { | 2940 | 180 | if (!allow_exhaustion) { | 2941 | 0 | auto it = read_while_classic_space(range); | 2942 | 0 | if (auto e = eof_check(ranges::subrange{it, range.end()}); | 2943 | 0 | SCN_UNLIKELY(!e)) { | 2944 | 0 | return unexpected(e); | 2945 | 0 | } | 2946 | | | 2947 | 0 | return it; | 2948 | 0 | } | 2949 | | | 2950 | 180 | return read_while_classic_space(range); | 2951 | 180 | } |
_ZN3scn2v34impl23skip_classic_whitespaceINS0_6ranges6detail9subrange_8subrangeIPKwS8_EEEENS1_12eof_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEERKSD_b Line | Count | Source | 2939 | 6.53k | { | 2940 | 6.53k | if (!allow_exhaustion) { | 2941 | 6.09k | auto it = read_while_classic_space(range); | 2942 | 6.09k | if (auto e = eof_check(ranges::subrange{it, range.end()}); | 2943 | 6.09k | SCN_UNLIKELY(!e)) { | 2944 | 0 | return unexpected(e); | 2945 | 0 | } | 2946 | | | 2947 | 6.09k | return it; | 2948 | 6.09k | } | 2949 | | | 2950 | 446 | return read_while_classic_space(range); | 2951 | 6.53k | } |
Unexecuted instantiation: _ZN3scn2v34impl23skip_classic_whitespaceINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEEEENS1_12eof_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEERKSG_b _ZN3scn2v34impl23skip_classic_whitespaceINS1_15take_width_viewINS3_INS0_6ranges6detail9subrange_8subrangeIPKcS9_EEEEEEEENS1_12eof_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEERKSG_b Line | Count | Source | 2939 | 1.89k | { | 2940 | 1.89k | if (!allow_exhaustion) { | 2941 | 1.89k | auto it = read_while_classic_space(range); | 2942 | 1.89k | if (auto e = eof_check(ranges::subrange{it, range.end()}); | 2943 | 1.89k | SCN_UNLIKELY(!e)) { | 2944 | 174 | return unexpected(e); | 2945 | 174 | } | 2946 | | | 2947 | 1.71k | return it; | 2948 | 1.89k | } | 2949 | | | 2950 | 0 | return read_while_classic_space(range); | 2951 | 1.89k | } |
_ZN3scn2v34impl23skip_classic_whitespaceINS1_15take_width_viewINS3_INS0_6ranges6detail9subrange_8subrangeIPKwS9_EEEEEEEENS1_12eof_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEERKSG_b Line | Count | Source | 2939 | 714 | { | 2940 | 714 | if (!allow_exhaustion) { | 2941 | 714 | auto it = read_while_classic_space(range); | 2942 | 714 | if (auto e = eof_check(ranges::subrange{it, range.end()}); | 2943 | 714 | SCN_UNLIKELY(!e)) { | 2944 | 0 | return unexpected(e); | 2945 | 0 | } | 2946 | | | 2947 | 714 | return it; | 2948 | 714 | } | 2949 | | | 2950 | 0 | return read_while_classic_space(range); | 2951 | 714 | } |
Unexecuted instantiation: _ZN3scn2v34impl23skip_classic_whitespaceINSt3__117basic_string_viewIcNS3_11char_traitsIcEEEEEENS1_12eof_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS3_9add_constIT_E4typeEEEEEEERKSB_b |
2952 | | |
2953 | | template <typename SourceCharT, typename DestCharT> |
2954 | | scan_error transcode_impl(std::basic_string_view<SourceCharT> src, |
2955 | | std::basic_string<DestCharT>& dst) |
2956 | 3.08k | { |
2957 | 3.08k | dst.clear(); |
2958 | 3.08k | transcode_valid_to_string(src, dst); |
2959 | 3.08k | return {}; |
2960 | 3.08k | } scn::v3::scan_error scn::v3::impl::transcode_impl<char, wchar_t>(std::__1::basic_string_view<char, std::__1::char_traits<char> >, std::__1::basic_string<wchar_t, std::__1::char_traits<wchar_t>, std::__1::allocator<wchar_t> >&) Line | Count | Source | 2956 | 2.00k | { | 2957 | 2.00k | dst.clear(); | 2958 | 2.00k | transcode_valid_to_string(src, dst); | 2959 | 2.00k | return {}; | 2960 | 2.00k | } |
scn::v3::scan_error scn::v3::impl::transcode_impl<wchar_t, char>(std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> >, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&) Line | Count | Source | 2956 | 1.07k | { | 2957 | 1.07k | dst.clear(); | 2958 | 1.07k | transcode_valid_to_string(src, dst); | 2959 | 1.07k | return {}; | 2960 | 1.07k | } |
|
2961 | | |
2962 | | template <typename SourceCharT, typename DestCharT> |
2963 | | scan_error transcode_if_necessary( |
2964 | | const contiguous_range_factory<SourceCharT>& source, |
2965 | | std::basic_string<DestCharT>& dest) |
2966 | | { |
2967 | | if constexpr (std::is_same_v<SourceCharT, DestCharT>) { |
2968 | | dest.assign(source.view()); |
2969 | | } |
2970 | | else { |
2971 | | return transcode_impl(source.view(), dest); |
2972 | | } |
2973 | | |
2974 | | return {}; |
2975 | | } |
2976 | | |
2977 | | template <typename SourceCharT, typename DestCharT> |
2978 | | scan_error transcode_if_necessary( |
2979 | | contiguous_range_factory<SourceCharT>&& source, |
2980 | | std::basic_string<DestCharT>& dest) |
2981 | 1.01k | { |
2982 | 1.01k | if constexpr (std::is_same_v<SourceCharT, DestCharT>) { |
2983 | 508 | if (source.stores_allocated_string()) { |
2984 | 508 | dest.assign(SCN_MOVE(source.get_allocated_string())); |
2985 | 508 | } |
2986 | 0 | else { |
2987 | 0 | dest.assign(source.view()); |
2988 | 0 | } |
2989 | | } |
2990 | 508 | else { |
2991 | 508 | return transcode_impl(source.view(), dest); |
2992 | 508 | } |
2993 | | |
2994 | 0 | return {}; |
2995 | 1.01k | } scn::v3::scan_error scn::v3::impl::transcode_if_necessary<char, char>(scn::v3::impl::contiguous_range_factory<char>&&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&) Line | Count | Source | 2981 | 360 | { | 2982 | 360 | if constexpr (std::is_same_v<SourceCharT, DestCharT>) { | 2983 | 360 | if (source.stores_allocated_string()) { | 2984 | 360 | dest.assign(SCN_MOVE(source.get_allocated_string())); | 2985 | 360 | } | 2986 | 0 | else { | 2987 | 0 | dest.assign(source.view()); | 2988 | 0 | } | 2989 | | } | 2990 | | else { | 2991 | | return transcode_impl(source.view(), dest); | 2992 | | } | 2993 | | | 2994 | 360 | return {}; | 2995 | 360 | } |
scn::v3::scan_error scn::v3::impl::transcode_if_necessary<char, wchar_t>(scn::v3::impl::contiguous_range_factory<char>&&, std::__1::basic_string<wchar_t, std::__1::char_traits<wchar_t>, std::__1::allocator<wchar_t> >&) Line | Count | Source | 2981 | 360 | { | 2982 | | if constexpr (std::is_same_v<SourceCharT, DestCharT>) { | 2983 | | if (source.stores_allocated_string()) { | 2984 | | dest.assign(SCN_MOVE(source.get_allocated_string())); | 2985 | | } | 2986 | | else { | 2987 | | dest.assign(source.view()); | 2988 | | } | 2989 | | } | 2990 | 360 | else { | 2991 | 360 | return transcode_impl(source.view(), dest); | 2992 | 360 | } | 2993 | | | 2994 | 0 | return {}; | 2995 | 360 | } |
scn::v3::scan_error scn::v3::impl::transcode_if_necessary<wchar_t, char>(scn::v3::impl::contiguous_range_factory<wchar_t>&&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&) Line | Count | Source | 2981 | 148 | { | 2982 | | if constexpr (std::is_same_v<SourceCharT, DestCharT>) { | 2983 | | if (source.stores_allocated_string()) { | 2984 | | dest.assign(SCN_MOVE(source.get_allocated_string())); | 2985 | | } | 2986 | | else { | 2987 | | dest.assign(source.view()); | 2988 | | } | 2989 | | } | 2990 | 148 | else { | 2991 | 148 | return transcode_impl(source.view(), dest); | 2992 | 148 | } | 2993 | | | 2994 | 0 | return {}; | 2995 | 148 | } |
scn::v3::scan_error scn::v3::impl::transcode_if_necessary<wchar_t, wchar_t>(scn::v3::impl::contiguous_range_factory<wchar_t>&&, std::__1::basic_string<wchar_t, std::__1::char_traits<wchar_t>, std::__1::allocator<wchar_t> >&) Line | Count | Source | 2981 | 148 | { | 2982 | 148 | if constexpr (std::is_same_v<SourceCharT, DestCharT>) { | 2983 | 148 | if (source.stores_allocated_string()) { | 2984 | 148 | dest.assign(SCN_MOVE(source.get_allocated_string())); | 2985 | 148 | } | 2986 | 0 | else { | 2987 | 0 | dest.assign(source.view()); | 2988 | 0 | } | 2989 | | } | 2990 | | else { | 2991 | | return transcode_impl(source.view(), dest); | 2992 | | } | 2993 | | | 2994 | 148 | return {}; | 2995 | 148 | } |
|
2996 | | |
2997 | | template <typename SourceCharT, typename DestCharT> |
2998 | | scan_error transcode_if_necessary(string_view_wrapper<SourceCharT> source, |
2999 | | std::basic_string<DestCharT>& dest) |
3000 | 5.14k | { |
3001 | 5.14k | if constexpr (std::is_same_v<SourceCharT, DestCharT>) { |
3002 | 2.57k | dest.assign(source.view()); |
3003 | | } |
3004 | 2.57k | else { |
3005 | 2.57k | return transcode_impl(source.view(), dest); |
3006 | 2.57k | } |
3007 | | |
3008 | 0 | return {}; |
3009 | 5.14k | } scn::v3::scan_error scn::v3::impl::transcode_if_necessary<char, char>(scn::v3::impl::string_view_wrapper<char>, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&) Line | Count | Source | 3000 | 1.64k | { | 3001 | 1.64k | if constexpr (std::is_same_v<SourceCharT, DestCharT>) { | 3002 | 1.64k | dest.assign(source.view()); | 3003 | | } | 3004 | | else { | 3005 | | return transcode_impl(source.view(), dest); | 3006 | | } | 3007 | | | 3008 | 1.64k | return {}; | 3009 | 1.64k | } |
scn::v3::scan_error scn::v3::impl::transcode_if_necessary<char, wchar_t>(scn::v3::impl::string_view_wrapper<char>, std::__1::basic_string<wchar_t, std::__1::char_traits<wchar_t>, std::__1::allocator<wchar_t> >&) Line | Count | Source | 3000 | 1.64k | { | 3001 | | if constexpr (std::is_same_v<SourceCharT, DestCharT>) { | 3002 | | dest.assign(source.view()); | 3003 | | } | 3004 | 1.64k | else { | 3005 | 1.64k | return transcode_impl(source.view(), dest); | 3006 | 1.64k | } | 3007 | | | 3008 | 0 | return {}; | 3009 | 1.64k | } |
scn::v3::scan_error scn::v3::impl::transcode_if_necessary<wchar_t, char>(scn::v3::impl::string_view_wrapper<wchar_t>, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&) Line | Count | Source | 3000 | 928 | { | 3001 | | if constexpr (std::is_same_v<SourceCharT, DestCharT>) { | 3002 | | dest.assign(source.view()); | 3003 | | } | 3004 | 928 | else { | 3005 | 928 | return transcode_impl(source.view(), dest); | 3006 | 928 | } | 3007 | | | 3008 | 0 | return {}; | 3009 | 928 | } |
scn::v3::scan_error scn::v3::impl::transcode_if_necessary<wchar_t, wchar_t>(scn::v3::impl::string_view_wrapper<wchar_t>, std::__1::basic_string<wchar_t, std::__1::char_traits<wchar_t>, std::__1::allocator<wchar_t> >&) Line | Count | Source | 3000 | 928 | { | 3001 | 928 | if constexpr (std::is_same_v<SourceCharT, DestCharT>) { | 3002 | 928 | dest.assign(source.view()); | 3003 | | } | 3004 | | else { | 3005 | | return transcode_impl(source.view(), dest); | 3006 | | } | 3007 | | | 3008 | 928 | return {}; | 3009 | 928 | } |
|
3010 | | |
3011 | | ///////////////////////////////////////////////////////////////// |
3012 | | // Reader base classes etc. |
3013 | | ///////////////////////////////////////////////////////////////// |
3014 | | |
3015 | | template <typename Derived, typename CharT> |
3016 | | class reader_base { |
3017 | | public: |
3018 | | using char_type = CharT; |
3019 | | |
3020 | | constexpr reader_base() = default; |
3021 | | |
3022 | | bool skip_ws_before_read() const |
3023 | 8.83k | { |
3024 | 8.83k | return true; |
3025 | 8.83k | } scn::v3::impl::reader_base<scn::v3::impl::reader_impl_for_int<char>, char>::skip_ws_before_read() const Line | Count | Source | 3023 | 2.42k | { | 3024 | 2.42k | return true; | 3025 | 2.42k | } |
scn::v3::impl::reader_base<scn::v3::impl::reader_impl_for_float<char>, char>::skip_ws_before_read() const Line | Count | Source | 3023 | 1.20k | { | 3024 | 1.20k | return true; | 3025 | 1.20k | } |
Unexecuted instantiation: scn::v3::impl::reader_base<scn::v3::impl::regex_matches_reader<char>, char>::skip_ws_before_read() const scn::v3::impl::reader_base<scn::v3::impl::reader_impl_for_int<wchar_t>, wchar_t>::skip_ws_before_read() const Line | Count | Source | 3023 | 1.87k | { | 3024 | 1.87k | return true; | 3025 | 1.87k | } |
scn::v3::impl::reader_base<scn::v3::impl::reader_impl_for_float<wchar_t>, wchar_t>::skip_ws_before_read() const Line | Count | Source | 3023 | 910 | { | 3024 | 910 | return true; | 3025 | 910 | } |
Unexecuted instantiation: scn::v3::impl::reader_base<scn::v3::impl::regex_matches_reader<wchar_t>, wchar_t>::skip_ws_before_read() const scn::v3::impl::reader_base<scn::v3::impl::reader_impl_for_bool<char>, char>::skip_ws_before_read() const Line | Count | Source | 3023 | 1.41k | { | 3024 | 1.41k | return true; | 3025 | 1.41k | } |
scn::v3::impl::reader_base<scn::v3::impl::reader_impl_for_bool<wchar_t>, wchar_t>::skip_ws_before_read() const Line | Count | Source | 3023 | 1.01k | { | 3024 | 1.01k | return true; | 3025 | 1.01k | } |
|
3026 | | |
3027 | | scan_error check_specs(const detail::format_specs& specs) |
3028 | 55.2k | { |
3029 | 55.2k | reader_error_handler eh{}; |
3030 | 55.2k | get_derived().check_specs_impl(specs, eh); |
3031 | 55.2k | if (SCN_UNLIKELY(!eh)) { |
3032 | 27.9k | return {scan_error::invalid_format_string, eh.m_msg}; |
3033 | 27.9k | } |
3034 | 27.3k | return {}; |
3035 | 55.2k | } scn::v3::impl::reader_base<scn::v3::impl::reader_impl_for_int<char>, char>::check_specs(scn::v3::detail::format_specs const&) Line | Count | Source | 3028 | 10.4k | { | 3029 | 10.4k | reader_error_handler eh{}; | 3030 | 10.4k | get_derived().check_specs_impl(specs, eh); | 3031 | 10.4k | if (SCN_UNLIKELY(!eh)) { | 3032 | 9.25k | return {scan_error::invalid_format_string, eh.m_msg}; | 3033 | 9.25k | } | 3034 | 1.14k | return {}; | 3035 | 10.4k | } |
scn::v3::impl::reader_base<scn::v3::impl::reader_impl_for_float<char>, char>::check_specs(scn::v3::detail::format_specs const&) Line | Count | Source | 3028 | 5.20k | { | 3029 | 5.20k | reader_error_handler eh{}; | 3030 | 5.20k | get_derived().check_specs_impl(specs, eh); | 3031 | 5.20k | if (SCN_UNLIKELY(!eh)) { | 3032 | 4.63k | return {scan_error::invalid_format_string, eh.m_msg}; | 3033 | 4.63k | } | 3034 | 568 | return {}; | 3035 | 5.20k | } |
scn::v3::impl::reader_base<scn::v3::impl::string_reader<char>, char>::check_specs(scn::v3::detail::format_specs const&) Line | Count | Source | 3028 | 15.4k | { | 3029 | 15.4k | reader_error_handler eh{}; | 3030 | 15.4k | get_derived().check_specs_impl(specs, eh); | 3031 | 15.4k | if (SCN_UNLIKELY(!eh)) { | 3032 | 372 | return {scan_error::invalid_format_string, eh.m_msg}; | 3033 | 372 | } | 3034 | 15.1k | return {}; | 3035 | 15.4k | } |
Unexecuted instantiation: scn::v3::impl::reader_base<scn::v3::impl::regex_matches_reader<char>, char>::check_specs(scn::v3::detail::format_specs const&) scn::v3::impl::reader_base<scn::v3::impl::reader_impl_for_int<wchar_t>, wchar_t>::check_specs(scn::v3::detail::format_specs const&) Line | Count | Source | 3028 | 5.46k | { | 3029 | 5.46k | reader_error_handler eh{}; | 3030 | 5.46k | get_derived().check_specs_impl(specs, eh); | 3031 | 5.46k | if (SCN_UNLIKELY(!eh)) { | 3032 | 4.54k | return {scan_error::invalid_format_string, eh.m_msg}; | 3033 | 4.54k | } | 3034 | 924 | return {}; | 3035 | 5.46k | } |
scn::v3::impl::reader_base<scn::v3::impl::reader_impl_for_float<wchar_t>, wchar_t>::check_specs(scn::v3::detail::format_specs const&) Line | Count | Source | 3028 | 2.73k | { | 3029 | 2.73k | reader_error_handler eh{}; | 3030 | 2.73k | get_derived().check_specs_impl(specs, eh); | 3031 | 2.73k | if (SCN_UNLIKELY(!eh)) { | 3032 | 2.29k | return {scan_error::invalid_format_string, eh.m_msg}; | 3033 | 2.29k | } | 3034 | 436 | return {}; | 3035 | 2.73k | } |
scn::v3::impl::reader_base<scn::v3::impl::string_reader<wchar_t>, wchar_t>::check_specs(scn::v3::detail::format_specs const&) Line | Count | Source | 3028 | 8.07k | { | 3029 | 8.07k | reader_error_handler eh{}; | 3030 | 8.07k | get_derived().check_specs_impl(specs, eh); | 3031 | 8.07k | if (SCN_UNLIKELY(!eh)) { | 3032 | 240 | return {scan_error::invalid_format_string, eh.m_msg}; | 3033 | 240 | } | 3034 | 7.83k | return {}; | 3035 | 8.07k | } |
Unexecuted instantiation: scn::v3::impl::reader_base<scn::v3::impl::regex_matches_reader<wchar_t>, wchar_t>::check_specs(scn::v3::detail::format_specs const&) scn::v3::impl::reader_base<scn::v3::impl::reader_impl_for_bool<char>, char>::check_specs(scn::v3::detail::format_specs const&) Line | Count | Source | 3028 | 5.20k | { | 3029 | 5.20k | reader_error_handler eh{}; | 3030 | 5.20k | get_derived().check_specs_impl(specs, eh); | 3031 | 5.20k | if (SCN_UNLIKELY(!eh)) { | 3032 | 4.42k | return {scan_error::invalid_format_string, eh.m_msg}; | 3033 | 4.42k | } | 3034 | 778 | return {}; | 3035 | 5.20k | } |
scn::v3::impl::reader_base<scn::v3::impl::reader_impl_for_bool<wchar_t>, wchar_t>::check_specs(scn::v3::detail::format_specs const&) Line | Count | Source | 3028 | 2.73k | { | 3029 | 2.73k | reader_error_handler eh{}; | 3030 | 2.73k | get_derived().check_specs_impl(specs, eh); | 3031 | 2.73k | if (SCN_UNLIKELY(!eh)) { | 3032 | 2.19k | return {scan_error::invalid_format_string, eh.m_msg}; | 3033 | 2.19k | } | 3034 | 544 | return {}; | 3035 | 2.73k | } |
|
3036 | | |
3037 | | private: |
3038 | | Derived& get_derived() |
3039 | 55.2k | { |
3040 | 55.2k | return static_cast<Derived&>(*this); |
3041 | 55.2k | } scn::v3::impl::reader_base<scn::v3::impl::reader_impl_for_int<char>, char>::get_derived() Line | Count | Source | 3039 | 10.4k | { | 3040 | 10.4k | return static_cast<Derived&>(*this); | 3041 | 10.4k | } |
scn::v3::impl::reader_base<scn::v3::impl::reader_impl_for_float<char>, char>::get_derived() Line | Count | Source | 3039 | 5.20k | { | 3040 | 5.20k | return static_cast<Derived&>(*this); | 3041 | 5.20k | } |
scn::v3::impl::reader_base<scn::v3::impl::string_reader<char>, char>::get_derived() Line | Count | Source | 3039 | 15.4k | { | 3040 | 15.4k | return static_cast<Derived&>(*this); | 3041 | 15.4k | } |
Unexecuted instantiation: scn::v3::impl::reader_base<scn::v3::impl::regex_matches_reader<char>, char>::get_derived() scn::v3::impl::reader_base<scn::v3::impl::reader_impl_for_int<wchar_t>, wchar_t>::get_derived() Line | Count | Source | 3039 | 5.46k | { | 3040 | 5.46k | return static_cast<Derived&>(*this); | 3041 | 5.46k | } |
scn::v3::impl::reader_base<scn::v3::impl::reader_impl_for_float<wchar_t>, wchar_t>::get_derived() Line | Count | Source | 3039 | 2.73k | { | 3040 | 2.73k | return static_cast<Derived&>(*this); | 3041 | 2.73k | } |
scn::v3::impl::reader_base<scn::v3::impl::string_reader<wchar_t>, wchar_t>::get_derived() Line | Count | Source | 3039 | 8.07k | { | 3040 | 8.07k | return static_cast<Derived&>(*this); | 3041 | 8.07k | } |
Unexecuted instantiation: scn::v3::impl::reader_base<scn::v3::impl::regex_matches_reader<wchar_t>, wchar_t>::get_derived() scn::v3::impl::reader_base<scn::v3::impl::reader_impl_for_bool<char>, char>::get_derived() Line | Count | Source | 3039 | 5.20k | { | 3040 | 5.20k | return static_cast<Derived&>(*this); | 3041 | 5.20k | } |
scn::v3::impl::reader_base<scn::v3::impl::reader_impl_for_bool<wchar_t>, wchar_t>::get_derived() Line | Count | Source | 3039 | 2.73k | { | 3040 | 2.73k | return static_cast<Derived&>(*this); | 3041 | 2.73k | } |
|
3042 | | const Derived& get_derived() const |
3043 | | { |
3044 | | return static_cast<const Derived&>(*this); |
3045 | | } |
3046 | | }; |
3047 | | |
3048 | | template <typename CharT> |
3049 | | class reader_impl_for_monostate { |
3050 | | public: |
3051 | | constexpr reader_impl_for_monostate() = default; |
3052 | | |
3053 | | bool skip_ws_before_read() const |
3054 | 0 | { |
3055 | 0 | return true; |
3056 | 0 | } Unexecuted instantiation: scn::v3::impl::reader_impl_for_monostate<char>::skip_ws_before_read() const Unexecuted instantiation: scn::v3::impl::reader_impl_for_monostate<wchar_t>::skip_ws_before_read() const |
3057 | | |
3058 | | static scan_error check_specs(const detail::format_specs&) |
3059 | 0 | { |
3060 | 0 | SCN_EXPECT(false); |
3061 | 0 | SCN_UNREACHABLE; |
3062 | 0 | } Unexecuted instantiation: scn::v3::impl::reader_impl_for_monostate<char>::check_specs(scn::v3::detail::format_specs const&) Unexecuted instantiation: scn::v3::impl::reader_impl_for_monostate<wchar_t>::check_specs(scn::v3::detail::format_specs const&) |
3063 | | |
3064 | | template <typename Range> |
3065 | | auto read_default(Range, monostate&, detail::locale_ref) |
3066 | | -> scan_expected<ranges::const_iterator_t<Range>> |
3067 | 0 | { |
3068 | 0 | SCN_EXPECT(false); |
3069 | 0 | SCN_UNREACHABLE; |
3070 | 0 | } Unexecuted instantiation: _ZN3scn2v34impl25reader_impl_for_monostateIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RNS0_9monostateENS0_6detail10locale_refE Unexecuted instantiation: _ZN3scn2v34impl25reader_impl_for_monostateIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RNS0_9monostateENS9_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl25reader_impl_for_monostateIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RNS0_9monostateENS0_6detail10locale_refE Unexecuted instantiation: _ZN3scn2v34impl25reader_impl_for_monostateIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RNS0_9monostateENS9_10locale_refE |
3071 | | |
3072 | | template <typename Range> |
3073 | | auto read_specs(Range, |
3074 | | const detail::format_specs&, |
3075 | | monostate&, |
3076 | | detail::locale_ref) |
3077 | | -> scan_expected<ranges::const_iterator_t<Range>> |
3078 | 0 | { |
3079 | 0 | SCN_EXPECT(false); |
3080 | 0 | SCN_UNREACHABLE; |
3081 | 0 | } Unexecuted instantiation: _ZN3scn2v34impl25reader_impl_for_monostateIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERNS0_9monostateENSN_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl25reader_impl_for_monostateIcE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERNS0_9monostateENSL_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl25reader_impl_for_monostateIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERNS0_9monostateENSA_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl25reader_impl_for_monostateIcE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERNS0_9monostateENS9_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl25reader_impl_for_monostateIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERNS0_9monostateENSN_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl25reader_impl_for_monostateIwE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERNS0_9monostateENSL_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl25reader_impl_for_monostateIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERNS0_9monostateENSA_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl25reader_impl_for_monostateIwE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERNS0_9monostateENS9_10locale_refE |
3082 | | }; |
3083 | | |
3084 | | ///////////////////////////////////////////////////////////////// |
3085 | | // Numeric reader support |
3086 | | ///////////////////////////////////////////////////////////////// |
3087 | | |
3088 | | enum class sign_type { default_sign = -1, minus_sign = 0, plus_sign = 1 }; |
3089 | | |
3090 | | inline constexpr std::array<uint8_t, 256> char_to_int_table = { |
3091 | | 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, |
3092 | | 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, |
3093 | | 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, |
3094 | | 255, 255, 255, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 255, 255, |
3095 | | 255, 255, 255, 255, 255, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, |
3096 | | 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, |
3097 | | 35, 255, 255, 255, 255, 255, 255, 10, 11, 12, 13, 14, 15, 16, 17, |
3098 | | 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, |
3099 | | 33, 34, 35, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, |
3100 | | 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, |
3101 | | 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, |
3102 | | 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, |
3103 | | 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, |
3104 | | 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, |
3105 | | 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, |
3106 | | 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, |
3107 | | 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, |
3108 | | 255}; |
3109 | | |
3110 | | SCN_NODISCARD SCN_FORCE_INLINE constexpr uint8_t char_to_int(char ch) |
3111 | 14.6k | { |
3112 | 14.6k | return char_to_int_table[static_cast<unsigned char>(ch)]; |
3113 | 14.6k | } |
3114 | | SCN_NODISCARD SCN_FORCE_INLINE constexpr uint8_t char_to_int(wchar_t ch) |
3115 | 6.45k | { |
3116 | 6.45k | #if WCHAR_MIN < 0 |
3117 | 6.45k | if (ch >= 0 && ch <= 255) { |
3118 | | #else |
3119 | | if (ch <= 255) { |
3120 | | #endif |
3121 | 6.45k | return char_to_int(static_cast<char>(ch)); |
3122 | 6.45k | } |
3123 | 0 | return 255; |
3124 | 6.45k | } |
3125 | | |
3126 | | template <typename Range> |
3127 | | auto parse_numeric_sign(Range range) |
3128 | | -> eof_expected<std::pair<ranges::const_iterator_t<Range>, sign_type>> |
3129 | 8.38k | { |
3130 | 8.38k | auto r = read_one_of_code_unit(range, "+-"); |
3131 | 8.38k | if (!r) { |
3132 | 8.38k | if (r.error() == parse_error::error) { |
3133 | 8.38k | return std::pair{range.begin(), sign_type::default_sign}; |
3134 | 8.38k | } |
3135 | 0 | return unexpected(eof_error::eof); |
3136 | 8.38k | } |
3137 | | |
3138 | 0 | auto& it = *r; |
3139 | 0 | if (*range.begin() == '-') { |
3140 | 0 | return std::pair{it, sign_type::minus_sign}; |
3141 | 0 | } |
3142 | 0 | return std::pair{it, sign_type::plus_sign}; |
3143 | 0 | } Unexecuted instantiation: _ZN3scn2v34impl18parse_numeric_signINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS4_18default_sentinel_tEEEEEEENS1_12eof_expectedINSt3__14pairIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSG_9add_constIT_E4typeEEEEENS1_9sign_typeEEEEESJ_ Unexecuted instantiation: _ZN3scn2v34impl18parse_numeric_signINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEEEENS1_12eof_expectedINSt3__14pairIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSE_9add_constIT_E4typeEEEEENS1_9sign_typeEEEEESH_ _ZN3scn2v34impl18parse_numeric_signINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEEEEENS1_12eof_expectedINSt3__14pairIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSD_9add_constIT_E4typeEEEEENS1_9sign_typeEEEEESG_ Line | Count | Source | 3129 | 1.06k | { | 3130 | 1.06k | auto r = read_one_of_code_unit(range, "+-"); | 3131 | 1.06k | if (!r) { | 3132 | 1.06k | if (r.error() == parse_error::error) { | 3133 | 1.06k | return std::pair{range.begin(), sign_type::default_sign}; | 3134 | 1.06k | } | 3135 | 0 | return unexpected(eof_error::eof); | 3136 | 1.06k | } | 3137 | | | 3138 | 0 | auto& it = *r; | 3139 | 0 | if (*range.begin() == '-') { | 3140 | 0 | return std::pair{it, sign_type::minus_sign}; | 3141 | 0 | } | 3142 | 0 | return std::pair{it, sign_type::plus_sign}; | 3143 | 0 | } |
_ZN3scn2v34impl18parse_numeric_signINS0_6ranges6detail9subrange_8subrangeIPKcS8_EEEENS1_12eof_expectedINSt3__14pairIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSB_9add_constIT_E4typeEEEEENS1_9sign_typeEEEEESE_ Line | Count | Source | 3129 | 3.64k | { | 3130 | 3.64k | auto r = read_one_of_code_unit(range, "+-"); | 3131 | 3.64k | if (!r) { | 3132 | 3.64k | if (r.error() == parse_error::error) { | 3133 | 3.64k | return std::pair{range.begin(), sign_type::default_sign}; | 3134 | 3.64k | } | 3135 | 0 | return unexpected(eof_error::eof); | 3136 | 3.64k | } | 3137 | | | 3138 | 0 | auto& it = *r; | 3139 | 0 | if (*range.begin() == '-') { | 3140 | 0 | return std::pair{it, sign_type::minus_sign}; | 3141 | 0 | } | 3142 | 0 | return std::pair{it, sign_type::plus_sign}; | 3143 | 0 | } |
Unexecuted instantiation: _ZN3scn2v34impl18parse_numeric_signINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEEEENS1_12eof_expectedINSt3__14pairIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSM_9add_constIT_E4typeEEEEENS1_9sign_typeEEEEESP_ Unexecuted instantiation: _ZN3scn2v34impl18parse_numeric_signINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEEEENS1_12eof_expectedINSt3__14pairIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSJ_9add_constIT_E4typeEEEEENS1_9sign_typeEEEEESM_ Unexecuted instantiation: _ZN3scn2v34impl18parse_numeric_signINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS4_18default_sentinel_tEEEEEEENS1_12eof_expectedINSt3__14pairIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSG_9add_constIT_E4typeEEEEENS1_9sign_typeEEEEESJ_ Unexecuted instantiation: _ZN3scn2v34impl18parse_numeric_signINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEEEENS1_12eof_expectedINSt3__14pairIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSE_9add_constIT_E4typeEEEEENS1_9sign_typeEEEEESH_ _ZN3scn2v34impl18parse_numeric_signINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEEEEENS1_12eof_expectedINSt3__14pairIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSD_9add_constIT_E4typeEEEEENS1_9sign_typeEEEEESG_ Line | Count | Source | 3129 | 472 | { | 3130 | 472 | auto r = read_one_of_code_unit(range, "+-"); | 3131 | 472 | if (!r) { | 3132 | 472 | if (r.error() == parse_error::error) { | 3133 | 472 | return std::pair{range.begin(), sign_type::default_sign}; | 3134 | 472 | } | 3135 | 0 | return unexpected(eof_error::eof); | 3136 | 472 | } | 3137 | | | 3138 | 0 | auto& it = *r; | 3139 | 0 | if (*range.begin() == '-') { | 3140 | 0 | return std::pair{it, sign_type::minus_sign}; | 3141 | 0 | } | 3142 | 0 | return std::pair{it, sign_type::plus_sign}; | 3143 | 0 | } |
_ZN3scn2v34impl18parse_numeric_signINS0_6ranges6detail9subrange_8subrangeIPKwS8_EEEENS1_12eof_expectedINSt3__14pairIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSB_9add_constIT_E4typeEEEEENS1_9sign_typeEEEEESE_ Line | Count | Source | 3129 | 3.20k | { | 3130 | 3.20k | auto r = read_one_of_code_unit(range, "+-"); | 3131 | 3.20k | if (!r) { | 3132 | 3.20k | if (r.error() == parse_error::error) { | 3133 | 3.20k | return std::pair{range.begin(), sign_type::default_sign}; | 3134 | 3.20k | } | 3135 | 0 | return unexpected(eof_error::eof); | 3136 | 3.20k | } | 3137 | | | 3138 | 0 | auto& it = *r; | 3139 | 0 | if (*range.begin() == '-') { | 3140 | 0 | return std::pair{it, sign_type::minus_sign}; | 3141 | 0 | } | 3142 | 0 | return std::pair{it, sign_type::plus_sign}; | 3143 | 0 | } |
Unexecuted instantiation: _ZN3scn2v34impl18parse_numeric_signINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEEEENS1_12eof_expectedINSt3__14pairIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSM_9add_constIT_E4typeEEEEENS1_9sign_typeEEEEESP_ Unexecuted instantiation: _ZN3scn2v34impl18parse_numeric_signINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEEEENS1_12eof_expectedINSt3__14pairIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSJ_9add_constIT_E4typeEEEEENS1_9sign_typeEEEEESM_ |
3144 | | |
3145 | | inline void transform_thsep_indices(std::string& indices, |
3146 | | std::ptrdiff_t last_thsep_index) |
3147 | 0 | { |
3148 | 0 | for (auto thsep_it = indices.rbegin(); thsep_it != indices.rend(); |
3149 | 0 | ++thsep_it) { |
3150 | 0 | const auto tmp = *thsep_it; |
3151 | 0 | *thsep_it = static_cast<char>(last_thsep_index - tmp - 1); |
3152 | 0 | last_thsep_index = static_cast<std::ptrdiff_t>(tmp); |
3153 | 0 | } |
3154 | 0 | indices.insert(indices.begin(), static_cast<char>(last_thsep_index)); |
3155 | 0 | } |
3156 | | |
3157 | | template <typename Range> |
3158 | | bool check_thsep_grouping_impl(Range range, |
3159 | | std::string& thsep_indices, |
3160 | | std::string_view grouping) |
3161 | 0 | { |
3162 | 0 | transform_thsep_indices(thsep_indices, |
3163 | 0 | ranges::distance(range.begin(), range.end())); |
3164 | |
|
3165 | 0 | auto thsep_it = thsep_indices.rbegin(); |
3166 | 0 | for (auto grouping_it = grouping.begin(); |
3167 | 0 | grouping_it != grouping.end() && thsep_it != thsep_indices.rend() - 1; |
3168 | 0 | ++grouping_it, (void)++thsep_it) { |
3169 | 0 | if (*thsep_it != *grouping_it) { |
3170 | 0 | return false; |
3171 | 0 | } |
3172 | 0 | } |
3173 | | |
3174 | 0 | SCN_CLANG_PUSH |
3175 | | // false positive |
3176 | 0 | SCN_CLANG_IGNORE("-Wzero-as-null-pointer-constant") |
3177 | | |
3178 | 0 | for (; thsep_it < thsep_indices.rend() - 1; ++thsep_it) { |
3179 | 0 | if (*thsep_it != grouping.back()) { |
3180 | 0 | return false; |
3181 | 0 | } |
3182 | 0 | } |
3183 | | |
3184 | 0 | if (thsep_it == thsep_indices.rend() - 1) { |
3185 | 0 | if (*thsep_it > grouping.back()) { |
3186 | 0 | return false; |
3187 | 0 | } |
3188 | 0 | } |
3189 | | |
3190 | 0 | SCN_CLANG_POP |
3191 | | |
3192 | 0 | return true; |
3193 | 0 | } Unexecuted instantiation: bool scn::v3::impl::check_thsep_grouping_impl<scn::v3::ranges::detail::subrange_::subrange<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> > >(scn::v3::ranges::detail::subrange_::subrange<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&, std::__1::basic_string_view<char, std::__1::char_traits<char> >) Unexecuted instantiation: bool scn::v3::impl::check_thsep_grouping_impl<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::detail::basic_scan_buffer<char>::forward_iterator> >(scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::detail::basic_scan_buffer<char>::forward_iterator>, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&, std::__1::basic_string_view<char, std::__1::char_traits<char> >) Unexecuted instantiation: bool scn::v3::impl::check_thsep_grouping_impl<scn::v3::ranges::detail::subrange_::subrange<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> > >(scn::v3::ranges::detail::subrange_::subrange<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> >, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&, std::__1::basic_string_view<char, std::__1::char_traits<char> >) Unexecuted instantiation: bool scn::v3::impl::check_thsep_grouping_impl<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> >(scn::v3::ranges::detail::subrange_::subrange<char const*, char const*>, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&, std::__1::basic_string_view<char, std::__1::char_traits<char> >) Unexecuted instantiation: bool scn::v3::impl::check_thsep_grouping_impl<scn::v3::ranges::detail::subrange_::subrange<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> > >(scn::v3::ranges::detail::subrange_::subrange<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&, std::__1::basic_string_view<char, std::__1::char_traits<char> >) Unexecuted instantiation: bool scn::v3::impl::check_thsep_grouping_impl<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator> >(scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator>, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&, std::__1::basic_string_view<char, std::__1::char_traits<char> >) Unexecuted instantiation: bool scn::v3::impl::check_thsep_grouping_impl<scn::v3::ranges::detail::subrange_::subrange<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> > >(scn::v3::ranges::detail::subrange_::subrange<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> >, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&, std::__1::basic_string_view<char, std::__1::char_traits<char> >) Unexecuted instantiation: bool scn::v3::impl::check_thsep_grouping_impl<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >(scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&, std::__1::basic_string_view<char, std::__1::char_traits<char> >) |
3194 | | |
3195 | | template <typename Range> |
3196 | | scan_error check_thsep_grouping(Range range, |
3197 | | std::string thsep_indices, |
3198 | | std::string_view grouping) |
3199 | 0 | { |
3200 | 0 | SCN_EXPECT(!thsep_indices.empty()); |
3201 | | |
3202 | 0 | if (!check_thsep_grouping_impl(range, thsep_indices, grouping)) { |
3203 | 0 | SCN_UNLIKELY_ATTR |
3204 | 0 | return {scan_error::invalid_scanned_value, |
3205 | 0 | "Invalid thousands separator grouping"}; |
3206 | 0 | } |
3207 | | |
3208 | 0 | return {}; |
3209 | 0 | } Unexecuted instantiation: scn::v3::scan_error scn::v3::impl::check_thsep_grouping<scn::v3::ranges::detail::subrange_::subrange<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> > >(scn::v3::ranges::detail::subrange_::subrange<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::basic_string_view<char, std::__1::char_traits<char> >) Unexecuted instantiation: scn::v3::scan_error scn::v3::impl::check_thsep_grouping<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::detail::basic_scan_buffer<char>::forward_iterator> >(scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::detail::basic_scan_buffer<char>::forward_iterator>, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::basic_string_view<char, std::__1::char_traits<char> >) Unexecuted instantiation: scn::v3::scan_error scn::v3::impl::check_thsep_grouping<scn::v3::ranges::detail::subrange_::subrange<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> > >(scn::v3::ranges::detail::subrange_::subrange<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> >, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::basic_string_view<char, std::__1::char_traits<char> >) Unexecuted instantiation: scn::v3::scan_error scn::v3::impl::check_thsep_grouping<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> >(scn::v3::ranges::detail::subrange_::subrange<char const*, char const*>, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::basic_string_view<char, std::__1::char_traits<char> >) Unexecuted instantiation: scn::v3::scan_error scn::v3::impl::check_thsep_grouping<scn::v3::ranges::detail::subrange_::subrange<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> > >(scn::v3::ranges::detail::subrange_::subrange<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::basic_string_view<char, std::__1::char_traits<char> >) Unexecuted instantiation: scn::v3::scan_error scn::v3::impl::check_thsep_grouping<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator> >(scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator>, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::basic_string_view<char, std::__1::char_traits<char> >) Unexecuted instantiation: scn::v3::scan_error scn::v3::impl::check_thsep_grouping<scn::v3::ranges::detail::subrange_::subrange<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> > >(scn::v3::ranges::detail::subrange_::subrange<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> >, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::basic_string_view<char, std::__1::char_traits<char> >) Unexecuted instantiation: scn::v3::scan_error scn::v3::impl::check_thsep_grouping<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >(scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::basic_string_view<char, std::__1::char_traits<char> >) |
3210 | | |
3211 | | template <typename CharT> |
3212 | | class numeric_reader { |
3213 | | public: |
3214 | | contiguous_range_factory<CharT> m_buffer{}; |
3215 | | }; |
3216 | | |
3217 | | ///////////////////////////////////////////////////////////////// |
3218 | | // Integer reader |
3219 | | ///////////////////////////////////////////////////////////////// |
3220 | | |
3221 | | template <typename Iterator> |
3222 | | struct parse_integer_prefix_result { |
3223 | | SCN_NO_UNIQUE_ADDRESS Iterator iterator; |
3224 | | int parsed_base{0}; |
3225 | | sign_type sign{sign_type::default_sign}; |
3226 | | bool is_zero{false}; |
3227 | | }; |
3228 | | |
3229 | | template <typename Range> |
3230 | | auto parse_integer_bin_base_prefix(Range range) |
3231 | | -> parse_expected<ranges::const_iterator_t<Range>> |
3232 | 116 | { |
3233 | 116 | return read_matching_string_classic_nocase(range, "0b"); |
3234 | 116 | } Unexecuted instantiation: _ZN3scn2v34impl29parse_integer_bin_base_prefixINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_ Unexecuted instantiation: _ZN3scn2v34impl29parse_integer_bin_base_prefixINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_ _ZN3scn2v34impl29parse_integer_bin_base_prefixINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_ Line | Count | Source | 3232 | 34 | { | 3233 | 34 | return read_matching_string_classic_nocase(range, "0b"); | 3234 | 34 | } |
_ZN3scn2v34impl29parse_integer_bin_base_prefixINS0_6ranges6detail9subrange_8subrangeIPKcS8_EEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESD_ Line | Count | Source | 3232 | 22 | { | 3233 | 22 | return read_matching_string_classic_nocase(range, "0b"); | 3234 | 22 | } |
Unexecuted instantiation: _ZN3scn2v34impl29parse_integer_bin_base_prefixINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_ Unexecuted instantiation: _ZN3scn2v34impl29parse_integer_bin_base_prefixINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_ _ZN3scn2v34impl29parse_integer_bin_base_prefixINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_ Line | Count | Source | 3232 | 28 | { | 3233 | 28 | return read_matching_string_classic_nocase(range, "0b"); | 3234 | 28 | } |
_ZN3scn2v34impl29parse_integer_bin_base_prefixINS0_6ranges6detail9subrange_8subrangeIPKwS8_EEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESD_ Line | Count | Source | 3232 | 32 | { | 3233 | 32 | return read_matching_string_classic_nocase(range, "0b"); | 3234 | 32 | } |
|
3235 | | |
3236 | | template <typename Range> |
3237 | | auto parse_integer_hex_base_prefix(Range range) |
3238 | | -> parse_expected<ranges::const_iterator_t<Range>> |
3239 | 2.11k | { |
3240 | 2.11k | return read_matching_string_classic_nocase(range, "0x"); |
3241 | 2.11k | } Unexecuted instantiation: _ZN3scn2v34impl29parse_integer_hex_base_prefixINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_ Unexecuted instantiation: _ZN3scn2v34impl29parse_integer_hex_base_prefixINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_ _ZN3scn2v34impl29parse_integer_hex_base_prefixINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_ Line | Count | Source | 3239 | 276 | { | 3240 | 276 | return read_matching_string_classic_nocase(range, "0x"); | 3241 | 276 | } |
_ZN3scn2v34impl29parse_integer_hex_base_prefixINS0_6ranges6detail9subrange_8subrangeIPKcS8_EEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESD_ Line | Count | Source | 3239 | 908 | { | 3240 | 908 | return read_matching_string_classic_nocase(range, "0x"); | 3241 | 908 | } |
Unexecuted instantiation: _ZN3scn2v34impl29parse_integer_hex_base_prefixINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_ Unexecuted instantiation: _ZN3scn2v34impl29parse_integer_hex_base_prefixINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_ _ZN3scn2v34impl29parse_integer_hex_base_prefixINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_ Line | Count | Source | 3239 | 122 | { | 3240 | 122 | return read_matching_string_classic_nocase(range, "0x"); | 3241 | 122 | } |
_ZN3scn2v34impl29parse_integer_hex_base_prefixINS0_6ranges6detail9subrange_8subrangeIPKwS8_EEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESD_ Line | Count | Source | 3239 | 812 | { | 3240 | 812 | return read_matching_string_classic_nocase(range, "0x"); | 3241 | 812 | } |
|
3242 | | |
3243 | | template <typename Range> |
3244 | | auto parse_integer_oct_base_prefix(Range range, bool& zero_parsed) |
3245 | | -> parse_expected<ranges::const_iterator_t<Range>> |
3246 | 152 | { |
3247 | 152 | if (auto r = read_matching_string_classic_nocase(range, "0o")) { |
3248 | 0 | return *r; |
3249 | 0 | } |
3250 | | |
3251 | 152 | if (auto r = read_matching_code_unit(range, '0')) { |
3252 | 0 | zero_parsed = true; |
3253 | 0 | return *r; |
3254 | 0 | } |
3255 | | |
3256 | 152 | return unexpected(parse_error::error); |
3257 | 152 | } Unexecuted instantiation: _ZN3scn2v34impl29parse_integer_oct_base_prefixINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_Rb Unexecuted instantiation: _ZN3scn2v34impl29parse_integer_oct_base_prefixINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_Rb _ZN3scn2v34impl29parse_integer_oct_base_prefixINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_Rb Line | Count | Source | 3246 | 34 | { | 3247 | 34 | if (auto r = read_matching_string_classic_nocase(range, "0o")) { | 3248 | 0 | return *r; | 3249 | 0 | } | 3250 | | | 3251 | 34 | if (auto r = read_matching_code_unit(range, '0')) { | 3252 | 0 | zero_parsed = true; | 3253 | 0 | return *r; | 3254 | 0 | } | 3255 | | | 3256 | 34 | return unexpected(parse_error::error); | 3257 | 34 | } |
_ZN3scn2v34impl29parse_integer_oct_base_prefixINS0_6ranges6detail9subrange_8subrangeIPKcS8_EEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESD_Rb Line | Count | Source | 3246 | 50 | { | 3247 | 50 | if (auto r = read_matching_string_classic_nocase(range, "0o")) { | 3248 | 0 | return *r; | 3249 | 0 | } | 3250 | | | 3251 | 50 | if (auto r = read_matching_code_unit(range, '0')) { | 3252 | 0 | zero_parsed = true; | 3253 | 0 | return *r; | 3254 | 0 | } | 3255 | | | 3256 | 50 | return unexpected(parse_error::error); | 3257 | 50 | } |
Unexecuted instantiation: _ZN3scn2v34impl29parse_integer_oct_base_prefixINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_Rb Unexecuted instantiation: _ZN3scn2v34impl29parse_integer_oct_base_prefixINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_Rb _ZN3scn2v34impl29parse_integer_oct_base_prefixINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_Rb Line | Count | Source | 3246 | 38 | { | 3247 | 38 | if (auto r = read_matching_string_classic_nocase(range, "0o")) { | 3248 | 0 | return *r; | 3249 | 0 | } | 3250 | | | 3251 | 38 | if (auto r = read_matching_code_unit(range, '0')) { | 3252 | 0 | zero_parsed = true; | 3253 | 0 | return *r; | 3254 | 0 | } | 3255 | | | 3256 | 38 | return unexpected(parse_error::error); | 3257 | 38 | } |
_ZN3scn2v34impl29parse_integer_oct_base_prefixINS0_6ranges6detail9subrange_8subrangeIPKwS8_EEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESD_Rb Line | Count | Source | 3246 | 30 | { | 3247 | 30 | if (auto r = read_matching_string_classic_nocase(range, "0o")) { | 3248 | 0 | return *r; | 3249 | 0 | } | 3250 | | | 3251 | 30 | if (auto r = read_matching_code_unit(range, '0')) { | 3252 | 0 | zero_parsed = true; | 3253 | 0 | return *r; | 3254 | 0 | } | 3255 | | | 3256 | 30 | return unexpected(parse_error::error); | 3257 | 30 | } |
|
3258 | | |
3259 | | template <typename Range> |
3260 | | auto parse_integer_base_prefix_for_detection(Range range) |
3261 | | -> std::tuple<ranges::const_iterator_t<Range>, int, bool> |
3262 | 78 | { |
3263 | 78 | if (auto r = parse_integer_hex_base_prefix(range)) { |
3264 | 0 | return {*r, 16, false}; |
3265 | 0 | } |
3266 | 78 | if (auto r = parse_integer_bin_base_prefix(range)) { |
3267 | 0 | return {*r, 2, false}; |
3268 | 0 | } |
3269 | 78 | { |
3270 | 78 | bool zero_parsed{false}; |
3271 | 78 | if (auto r = parse_integer_oct_base_prefix(range, zero_parsed)) { |
3272 | 0 | return {*r, 8, zero_parsed}; |
3273 | 0 | } |
3274 | 78 | } |
3275 | 78 | return {range.begin(), 10, false}; |
3276 | 78 | } Unexecuted instantiation: _ZN3scn2v34impl39parse_integer_base_prefix_for_detectionINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEEEENSt3__15tupleIJDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSL_9add_constIT_E4typeEEEEEibEEESO_ Unexecuted instantiation: _ZN3scn2v34impl39parse_integer_base_prefix_for_detectionINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEEEENSt3__15tupleIJDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSD_9add_constIT_E4typeEEEEEibEEESG_ _ZN3scn2v34impl39parse_integer_base_prefix_for_detectionINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEEEENSt3__15tupleIJDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSI_9add_constIT_E4typeEEEEEibEEESL_ Line | Count | Source | 3262 | 20 | { | 3263 | 20 | if (auto r = parse_integer_hex_base_prefix(range)) { | 3264 | 0 | return {*r, 16, false}; | 3265 | 0 | } | 3266 | 20 | if (auto r = parse_integer_bin_base_prefix(range)) { | 3267 | 0 | return {*r, 2, false}; | 3268 | 0 | } | 3269 | 20 | { | 3270 | 20 | bool zero_parsed{false}; | 3271 | 20 | if (auto r = parse_integer_oct_base_prefix(range, zero_parsed)) { | 3272 | 0 | return {*r, 8, zero_parsed}; | 3273 | 0 | } | 3274 | 20 | } | 3275 | 20 | return {range.begin(), 10, false}; | 3276 | 20 | } |
_ZN3scn2v34impl39parse_integer_base_prefix_for_detectionINS0_6ranges6detail9subrange_8subrangeIPKcS8_EEEENSt3__15tupleIJDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSA_9add_constIT_E4typeEEEEEibEEESD_ Line | Count | Source | 3262 | 16 | { | 3263 | 16 | if (auto r = parse_integer_hex_base_prefix(range)) { | 3264 | 0 | return {*r, 16, false}; | 3265 | 0 | } | 3266 | 16 | if (auto r = parse_integer_bin_base_prefix(range)) { | 3267 | 0 | return {*r, 2, false}; | 3268 | 0 | } | 3269 | 16 | { | 3270 | 16 | bool zero_parsed{false}; | 3271 | 16 | if (auto r = parse_integer_oct_base_prefix(range, zero_parsed)) { | 3272 | 0 | return {*r, 8, zero_parsed}; | 3273 | 0 | } | 3274 | 16 | } | 3275 | 16 | return {range.begin(), 10, false}; | 3276 | 16 | } |
Unexecuted instantiation: _ZN3scn2v34impl39parse_integer_base_prefix_for_detectionINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEEEENSt3__15tupleIJDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSL_9add_constIT_E4typeEEEEEibEEESO_ Unexecuted instantiation: _ZN3scn2v34impl39parse_integer_base_prefix_for_detectionINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEEEENSt3__15tupleIJDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSD_9add_constIT_E4typeEEEEEibEEESG_ _ZN3scn2v34impl39parse_integer_base_prefix_for_detectionINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEEEENSt3__15tupleIJDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSI_9add_constIT_E4typeEEEEEibEEESL_ Line | Count | Source | 3262 | 22 | { | 3263 | 22 | if (auto r = parse_integer_hex_base_prefix(range)) { | 3264 | 0 | return {*r, 16, false}; | 3265 | 0 | } | 3266 | 22 | if (auto r = parse_integer_bin_base_prefix(range)) { | 3267 | 0 | return {*r, 2, false}; | 3268 | 0 | } | 3269 | 22 | { | 3270 | 22 | bool zero_parsed{false}; | 3271 | 22 | if (auto r = parse_integer_oct_base_prefix(range, zero_parsed)) { | 3272 | 0 | return {*r, 8, zero_parsed}; | 3273 | 0 | } | 3274 | 22 | } | 3275 | 22 | return {range.begin(), 10, false}; | 3276 | 22 | } |
_ZN3scn2v34impl39parse_integer_base_prefix_for_detectionINS0_6ranges6detail9subrange_8subrangeIPKwS8_EEEENSt3__15tupleIJDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSA_9add_constIT_E4typeEEEEEibEEESD_ Line | Count | Source | 3262 | 20 | { | 3263 | 20 | if (auto r = parse_integer_hex_base_prefix(range)) { | 3264 | 0 | return {*r, 16, false}; | 3265 | 0 | } | 3266 | 20 | if (auto r = parse_integer_bin_base_prefix(range)) { | 3267 | 0 | return {*r, 2, false}; | 3268 | 0 | } | 3269 | 20 | { | 3270 | 20 | bool zero_parsed{false}; | 3271 | 20 | if (auto r = parse_integer_oct_base_prefix(range, zero_parsed)) { | 3272 | 0 | return {*r, 8, zero_parsed}; | 3273 | 0 | } | 3274 | 20 | } | 3275 | 20 | return {range.begin(), 10, false}; | 3276 | 20 | } |
|
3277 | | |
3278 | | template <typename Range> |
3279 | | auto parse_integer_base_prefix(Range range, int base) |
3280 | | -> std::tuple<ranges::const_iterator_t<Range>, int, bool> |
3281 | 6.30k | { |
3282 | 6.30k | switch (base) { |
3283 | 38 | case 2: |
3284 | | // allow 0b/0B |
3285 | 38 | return {apply_opt(parse_integer_bin_base_prefix(range), range), 2, |
3286 | 38 | false}; |
3287 | | |
3288 | 74 | case 8: { |
3289 | | // allow 0o/0O/0 |
3290 | 74 | bool zero_parsed = false; |
3291 | 74 | auto it = apply_opt( |
3292 | 74 | parse_integer_oct_base_prefix(range, zero_parsed), range); |
3293 | 74 | return {it, 8, zero_parsed}; |
3294 | 0 | } |
3295 | | |
3296 | 2.04k | case 16: |
3297 | | // allow 0x/0X |
3298 | 2.04k | return {apply_opt(parse_integer_hex_base_prefix(range), range), 16, |
3299 | 2.04k | false}; |
3300 | | |
3301 | 78 | case 0: |
3302 | | // detect base |
3303 | 78 | return parse_integer_base_prefix_for_detection(range); |
3304 | | |
3305 | 4.07k | default: |
3306 | | // no base prefix allowed |
3307 | 4.07k | return {range.begin(), base, false}; |
3308 | 6.30k | } |
3309 | 6.30k | } Unexecuted instantiation: _ZN3scn2v34impl25parse_integer_base_prefixINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEEEENSt3__15tupleIJDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSL_9add_constIT_E4typeEEEEEibEEESO_i Unexecuted instantiation: _ZN3scn2v34impl25parse_integer_base_prefixINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEEEENSt3__15tupleIJDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSD_9add_constIT_E4typeEEEEEibEEESG_i _ZN3scn2v34impl25parse_integer_base_prefixINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEEEENSt3__15tupleIJDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSI_9add_constIT_E4typeEEEEEibEEESL_i Line | Count | Source | 3281 | 798 | { | 3282 | 798 | switch (base) { | 3283 | 14 | case 2: | 3284 | | // allow 0b/0B | 3285 | 14 | return {apply_opt(parse_integer_bin_base_prefix(range), range), 2, | 3286 | 14 | false}; | 3287 | | | 3288 | 14 | case 8: { | 3289 | | // allow 0o/0O/0 | 3290 | 14 | bool zero_parsed = false; | 3291 | 14 | auto it = apply_opt( | 3292 | 14 | parse_integer_oct_base_prefix(range, zero_parsed), range); | 3293 | 14 | return {it, 8, zero_parsed}; | 3294 | 0 | } | 3295 | | | 3296 | 256 | case 16: | 3297 | | // allow 0x/0X | 3298 | 256 | return {apply_opt(parse_integer_hex_base_prefix(range), range), 16, | 3299 | 256 | false}; | 3300 | | | 3301 | 20 | case 0: | 3302 | | // detect base | 3303 | 20 | return parse_integer_base_prefix_for_detection(range); | 3304 | | | 3305 | 494 | default: | 3306 | | // no base prefix allowed | 3307 | 494 | return {range.begin(), base, false}; | 3308 | 798 | } | 3309 | 798 | } |
_ZN3scn2v34impl25parse_integer_base_prefixINS0_6ranges6detail9subrange_8subrangeIPKcS8_EEEENSt3__15tupleIJDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSA_9add_constIT_E4typeEEEEEibEEESD_i Line | Count | Source | 3281 | 2.73k | { | 3282 | 2.73k | switch (base) { | 3283 | 6 | case 2: | 3284 | | // allow 0b/0B | 3285 | 6 | return {apply_opt(parse_integer_bin_base_prefix(range), range), 2, | 3286 | 6 | false}; | 3287 | | | 3288 | 34 | case 8: { | 3289 | | // allow 0o/0O/0 | 3290 | 34 | bool zero_parsed = false; | 3291 | 34 | auto it = apply_opt( | 3292 | 34 | parse_integer_oct_base_prefix(range, zero_parsed), range); | 3293 | 34 | return {it, 8, zero_parsed}; | 3294 | 0 | } | 3295 | | | 3296 | 892 | case 16: | 3297 | | // allow 0x/0X | 3298 | 892 | return {apply_opt(parse_integer_hex_base_prefix(range), range), 16, | 3299 | 892 | false}; | 3300 | | | 3301 | 16 | case 0: | 3302 | | // detect base | 3303 | 16 | return parse_integer_base_prefix_for_detection(range); | 3304 | | | 3305 | 1.78k | default: | 3306 | | // no base prefix allowed | 3307 | 1.78k | return {range.begin(), base, false}; | 3308 | 2.73k | } | 3309 | 2.73k | } |
Unexecuted instantiation: _ZN3scn2v34impl25parse_integer_base_prefixINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEEEENSt3__15tupleIJDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSL_9add_constIT_E4typeEEEEEibEEESO_i Unexecuted instantiation: _ZN3scn2v34impl25parse_integer_base_prefixINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEEEENSt3__15tupleIJDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSD_9add_constIT_E4typeEEEEEibEEESG_i _ZN3scn2v34impl25parse_integer_base_prefixINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEEEENSt3__15tupleIJDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSI_9add_constIT_E4typeEEEEEibEEESL_i Line | Count | Source | 3281 | 362 | { | 3282 | 362 | switch (base) { | 3283 | 6 | case 2: | 3284 | | // allow 0b/0B | 3285 | 6 | return {apply_opt(parse_integer_bin_base_prefix(range), range), 2, | 3286 | 6 | false}; | 3287 | | | 3288 | 16 | case 8: { | 3289 | | // allow 0o/0O/0 | 3290 | 16 | bool zero_parsed = false; | 3291 | 16 | auto it = apply_opt( | 3292 | 16 | parse_integer_oct_base_prefix(range, zero_parsed), range); | 3293 | 16 | return {it, 8, zero_parsed}; | 3294 | 0 | } | 3295 | | | 3296 | 100 | case 16: | 3297 | | // allow 0x/0X | 3298 | 100 | return {apply_opt(parse_integer_hex_base_prefix(range), range), 16, | 3299 | 100 | false}; | 3300 | | | 3301 | 22 | case 0: | 3302 | | // detect base | 3303 | 22 | return parse_integer_base_prefix_for_detection(range); | 3304 | | | 3305 | 218 | default: | 3306 | | // no base prefix allowed | 3307 | 218 | return {range.begin(), base, false}; | 3308 | 362 | } | 3309 | 362 | } |
_ZN3scn2v34impl25parse_integer_base_prefixINS0_6ranges6detail9subrange_8subrangeIPKwS8_EEEENSt3__15tupleIJDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSA_9add_constIT_E4typeEEEEEibEEESD_i Line | Count | Source | 3281 | 2.41k | { | 3282 | 2.41k | switch (base) { | 3283 | 12 | case 2: | 3284 | | // allow 0b/0B | 3285 | 12 | return {apply_opt(parse_integer_bin_base_prefix(range), range), 2, | 3286 | 12 | false}; | 3287 | | | 3288 | 10 | case 8: { | 3289 | | // allow 0o/0O/0 | 3290 | 10 | bool zero_parsed = false; | 3291 | 10 | auto it = apply_opt( | 3292 | 10 | parse_integer_oct_base_prefix(range, zero_parsed), range); | 3293 | 10 | return {it, 8, zero_parsed}; | 3294 | 0 | } | 3295 | | | 3296 | 792 | case 16: | 3297 | | // allow 0x/0X | 3298 | 792 | return {apply_opt(parse_integer_hex_base_prefix(range), range), 16, | 3299 | 792 | false}; | 3300 | | | 3301 | 20 | case 0: | 3302 | | // detect base | 3303 | 20 | return parse_integer_base_prefix_for_detection(range); | 3304 | | | 3305 | 1.57k | default: | 3306 | | // no base prefix allowed | 3307 | 1.57k | return {range.begin(), base, false}; | 3308 | 2.41k | } | 3309 | 2.41k | } |
|
3310 | | |
3311 | | template <typename Range> |
3312 | | auto parse_integer_prefix(Range range, int base) -> eof_expected< |
3313 | | parse_integer_prefix_result<ranges::const_iterator_t<Range>>> |
3314 | 6.30k | { |
3315 | 6.30k | SCN_TRY(sign_result, parse_numeric_sign(range)); |
3316 | 6.30k | auto [base_prefix_begin_it, sign] = sign_result; |
3317 | | |
3318 | 6.30k | auto [digits_begin_it, parsed_base, parsed_zero] = |
3319 | 6.30k | parse_integer_base_prefix( |
3320 | 6.30k | ranges::subrange{base_prefix_begin_it, range.end()}, base); |
3321 | | |
3322 | 6.30k | if (parsed_zero) { |
3323 | 0 | if (digits_begin_it == range.end() || |
3324 | 0 | char_to_int(*digits_begin_it) >= 8) { |
3325 | 0 | digits_begin_it = base_prefix_begin_it; |
3326 | 0 | } |
3327 | 0 | else { |
3328 | 0 | parsed_zero = false; |
3329 | 0 | } |
3330 | 0 | } |
3331 | 6.30k | else { |
3332 | 6.30k | if (digits_begin_it == range.end() || |
3333 | 6.30k | char_to_int(*digits_begin_it) >= parsed_base) { |
3334 | 6.30k | digits_begin_it = base_prefix_begin_it; |
3335 | 6.30k | } |
3336 | 6.30k | } |
3337 | | |
3338 | 6.30k | if (sign == sign_type::default_sign) { |
3339 | 6.30k | sign = sign_type::plus_sign; |
3340 | 6.30k | } |
3341 | 6.30k | return parse_integer_prefix_result<ranges::const_iterator_t<Range>>{ |
3342 | 6.30k | digits_begin_it, parsed_base, sign, parsed_zero}; |
3343 | 6.30k | } Unexecuted instantiation: _ZN3scn2v34impl20parse_integer_prefixINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS4_18default_sentinel_tEEEEEEENS1_12eof_expectedINS1_27parse_integer_prefix_resultIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEEEESJ_i Unexecuted instantiation: _ZN3scn2v34impl20parse_integer_prefixINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEEEENS1_12eof_expectedINS1_27parse_integer_prefix_resultIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEEEESH_i _ZN3scn2v34impl20parse_integer_prefixINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEEEEENS1_12eof_expectedINS1_27parse_integer_prefix_resultIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEEEESG_i Line | Count | Source | 3314 | 798 | { | 3315 | 798 | SCN_TRY(sign_result, parse_numeric_sign(range)); | 3316 | 798 | auto [base_prefix_begin_it, sign] = sign_result; | 3317 | | | 3318 | 798 | auto [digits_begin_it, parsed_base, parsed_zero] = | 3319 | 798 | parse_integer_base_prefix( | 3320 | 798 | ranges::subrange{base_prefix_begin_it, range.end()}, base); | 3321 | | | 3322 | 798 | if (parsed_zero) { | 3323 | 0 | if (digits_begin_it == range.end() || | 3324 | 0 | char_to_int(*digits_begin_it) >= 8) { | 3325 | 0 | digits_begin_it = base_prefix_begin_it; | 3326 | 0 | } | 3327 | 0 | else { | 3328 | 0 | parsed_zero = false; | 3329 | 0 | } | 3330 | 0 | } | 3331 | 798 | else { | 3332 | 798 | if (digits_begin_it == range.end() || | 3333 | 798 | char_to_int(*digits_begin_it) >= parsed_base) { | 3334 | 798 | digits_begin_it = base_prefix_begin_it; | 3335 | 798 | } | 3336 | 798 | } | 3337 | | | 3338 | 798 | if (sign == sign_type::default_sign) { | 3339 | 798 | sign = sign_type::plus_sign; | 3340 | 798 | } | 3341 | 798 | return parse_integer_prefix_result<ranges::const_iterator_t<Range>>{ | 3342 | 798 | digits_begin_it, parsed_base, sign, parsed_zero}; | 3343 | 798 | } |
_ZN3scn2v34impl20parse_integer_prefixINS0_6ranges6detail9subrange_8subrangeIPKcS8_EEEENS1_12eof_expectedINS1_27parse_integer_prefix_resultIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEEEESE_i Line | Count | Source | 3314 | 2.73k | { | 3315 | 2.73k | SCN_TRY(sign_result, parse_numeric_sign(range)); | 3316 | 2.73k | auto [base_prefix_begin_it, sign] = sign_result; | 3317 | | | 3318 | 2.73k | auto [digits_begin_it, parsed_base, parsed_zero] = | 3319 | 2.73k | parse_integer_base_prefix( | 3320 | 2.73k | ranges::subrange{base_prefix_begin_it, range.end()}, base); | 3321 | | | 3322 | 2.73k | if (parsed_zero) { | 3323 | 0 | if (digits_begin_it == range.end() || | 3324 | 0 | char_to_int(*digits_begin_it) >= 8) { | 3325 | 0 | digits_begin_it = base_prefix_begin_it; | 3326 | 0 | } | 3327 | 0 | else { | 3328 | 0 | parsed_zero = false; | 3329 | 0 | } | 3330 | 0 | } | 3331 | 2.73k | else { | 3332 | 2.73k | if (digits_begin_it == range.end() || | 3333 | 2.73k | char_to_int(*digits_begin_it) >= parsed_base) { | 3334 | 2.73k | digits_begin_it = base_prefix_begin_it; | 3335 | 2.73k | } | 3336 | 2.73k | } | 3337 | | | 3338 | 2.73k | if (sign == sign_type::default_sign) { | 3339 | 2.73k | sign = sign_type::plus_sign; | 3340 | 2.73k | } | 3341 | 2.73k | return parse_integer_prefix_result<ranges::const_iterator_t<Range>>{ | 3342 | 2.73k | digits_begin_it, parsed_base, sign, parsed_zero}; | 3343 | 2.73k | } |
Unexecuted instantiation: _ZN3scn2v34impl20parse_integer_prefixINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS4_18default_sentinel_tEEEEEEENS1_12eof_expectedINS1_27parse_integer_prefix_resultIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEEEESJ_i Unexecuted instantiation: _ZN3scn2v34impl20parse_integer_prefixINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEEEENS1_12eof_expectedINS1_27parse_integer_prefix_resultIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEEEESH_i _ZN3scn2v34impl20parse_integer_prefixINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEEEEENS1_12eof_expectedINS1_27parse_integer_prefix_resultIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEEEESG_i Line | Count | Source | 3314 | 362 | { | 3315 | 362 | SCN_TRY(sign_result, parse_numeric_sign(range)); | 3316 | 362 | auto [base_prefix_begin_it, sign] = sign_result; | 3317 | | | 3318 | 362 | auto [digits_begin_it, parsed_base, parsed_zero] = | 3319 | 362 | parse_integer_base_prefix( | 3320 | 362 | ranges::subrange{base_prefix_begin_it, range.end()}, base); | 3321 | | | 3322 | 362 | if (parsed_zero) { | 3323 | 0 | if (digits_begin_it == range.end() || | 3324 | 0 | char_to_int(*digits_begin_it) >= 8) { | 3325 | 0 | digits_begin_it = base_prefix_begin_it; | 3326 | 0 | } | 3327 | 0 | else { | 3328 | 0 | parsed_zero = false; | 3329 | 0 | } | 3330 | 0 | } | 3331 | 362 | else { | 3332 | 362 | if (digits_begin_it == range.end() || | 3333 | 362 | char_to_int(*digits_begin_it) >= parsed_base) { | 3334 | 362 | digits_begin_it = base_prefix_begin_it; | 3335 | 362 | } | 3336 | 362 | } | 3337 | | | 3338 | 362 | if (sign == sign_type::default_sign) { | 3339 | 362 | sign = sign_type::plus_sign; | 3340 | 362 | } | 3341 | 362 | return parse_integer_prefix_result<ranges::const_iterator_t<Range>>{ | 3342 | 362 | digits_begin_it, parsed_base, sign, parsed_zero}; | 3343 | 362 | } |
_ZN3scn2v34impl20parse_integer_prefixINS0_6ranges6detail9subrange_8subrangeIPKwS8_EEEENS1_12eof_expectedINS1_27parse_integer_prefix_resultIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEEEESE_i Line | Count | Source | 3314 | 2.41k | { | 3315 | 2.41k | SCN_TRY(sign_result, parse_numeric_sign(range)); | 3316 | 2.41k | auto [base_prefix_begin_it, sign] = sign_result; | 3317 | | | 3318 | 2.41k | auto [digits_begin_it, parsed_base, parsed_zero] = | 3319 | 2.41k | parse_integer_base_prefix( | 3320 | 2.41k | ranges::subrange{base_prefix_begin_it, range.end()}, base); | 3321 | | | 3322 | 2.41k | if (parsed_zero) { | 3323 | 0 | if (digits_begin_it == range.end() || | 3324 | 0 | char_to_int(*digits_begin_it) >= 8) { | 3325 | 0 | digits_begin_it = base_prefix_begin_it; | 3326 | 0 | } | 3327 | 0 | else { | 3328 | 0 | parsed_zero = false; | 3329 | 0 | } | 3330 | 0 | } | 3331 | 2.41k | else { | 3332 | 2.41k | if (digits_begin_it == range.end() || | 3333 | 2.41k | char_to_int(*digits_begin_it) >= parsed_base) { | 3334 | 2.41k | digits_begin_it = base_prefix_begin_it; | 3335 | 2.41k | } | 3336 | 2.41k | } | 3337 | | | 3338 | 2.41k | if (sign == sign_type::default_sign) { | 3339 | 2.41k | sign = sign_type::plus_sign; | 3340 | 2.41k | } | 3341 | 2.41k | return parse_integer_prefix_result<ranges::const_iterator_t<Range>>{ | 3342 | 2.41k | digits_begin_it, parsed_base, sign, parsed_zero}; | 3343 | 2.41k | } |
|
3344 | | |
3345 | | template <typename Range> |
3346 | | auto parse_integer_digits_without_thsep(Range range, int base) |
3347 | | -> scan_expected<ranges::const_iterator_t<Range>> |
3348 | 6.18k | { |
3349 | 6.18k | using char_type = detail::char_t<Range>; |
3350 | | |
3351 | 6.18k | if constexpr (ranges::contiguous_range<Range>) { |
3352 | 5.07k | if (auto e = eof_check(range); SCN_UNLIKELY(!e)) { |
3353 | 0 | return unexpected_scan_error( |
3354 | 0 | scan_error::invalid_scanned_value, |
3355 | 0 | "Failed to parse integer: No digits found"); |
3356 | 0 | } |
3357 | 5.07k | return range.end(); |
3358 | | } |
3359 | 1.10k | else { |
3360 | 1.10k | return read_while1_code_unit(range, |
3361 | 1.10k | [&](char_type ch) noexcept { |
3362 | 1.10k | return char_to_int(ch) < base; |
3363 | 1.10k | }) Unexecuted instantiation: _ZZN3scn2v34impl34parse_integer_digits_without_thsepINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_iENKUlcE_clEc Unexecuted instantiation: _ZZN3scn2v34impl34parse_integer_digits_without_thsepINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_iENKUlcE_clEc _ZZN3scn2v34impl34parse_integer_digits_without_thsepINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_iENKUlcE_clEc Line | Count | Source | 3361 | 778 | [&](char_type ch) noexcept { | 3362 | 778 | return char_to_int(ch) < base; | 3363 | 778 | }) |
Unexecuted instantiation: _ZZN3scn2v34impl34parse_integer_digits_without_thsepINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_iENKUlwE_clEw Unexecuted instantiation: _ZZN3scn2v34impl34parse_integer_digits_without_thsepINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_iENKUlwE_clEw _ZZN3scn2v34impl34parse_integer_digits_without_thsepINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_iENKUlwE_clEw Line | Count | Source | 3361 | 326 | [&](char_type ch) noexcept { | 3362 | 326 | return char_to_int(ch) < base; | 3363 | 326 | }) |
|
3364 | 1.10k | .transform_error(map_parse_error_to_scan_error( |
3365 | 1.10k | scan_error::invalid_scanned_value, |
3366 | 1.10k | "Failed to parse integer: No digits found")); |
3367 | 1.10k | } |
3368 | 6.18k | } Unexecuted instantiation: _ZN3scn2v34impl34parse_integer_digits_without_thsepINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_i Unexecuted instantiation: _ZN3scn2v34impl34parse_integer_digits_without_thsepINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_i _ZN3scn2v34impl34parse_integer_digits_without_thsepINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_i Line | Count | Source | 3348 | 778 | { | 3349 | 778 | using char_type = detail::char_t<Range>; | 3350 | | | 3351 | | if constexpr (ranges::contiguous_range<Range>) { | 3352 | | if (auto e = eof_check(range); SCN_UNLIKELY(!e)) { | 3353 | | return unexpected_scan_error( | 3354 | | scan_error::invalid_scanned_value, | 3355 | | "Failed to parse integer: No digits found"); | 3356 | | } | 3357 | | return range.end(); | 3358 | | } | 3359 | 778 | else { | 3360 | 778 | return read_while1_code_unit(range, | 3361 | 778 | [&](char_type ch) noexcept { | 3362 | 778 | return char_to_int(ch) < base; | 3363 | 778 | }) | 3364 | 778 | .transform_error(map_parse_error_to_scan_error( | 3365 | 778 | scan_error::invalid_scanned_value, | 3366 | 778 | "Failed to parse integer: No digits found")); | 3367 | 778 | } | 3368 | 778 | } |
_ZN3scn2v34impl34parse_integer_digits_without_thsepINS0_6ranges6detail9subrange_8subrangeIPKcS8_EEEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESD_i Line | Count | Source | 3348 | 2.69k | { | 3349 | 2.69k | using char_type = detail::char_t<Range>; | 3350 | | | 3351 | 2.69k | if constexpr (ranges::contiguous_range<Range>) { | 3352 | 2.69k | if (auto e = eof_check(range); SCN_UNLIKELY(!e)) { | 3353 | 0 | return unexpected_scan_error( | 3354 | 0 | scan_error::invalid_scanned_value, | 3355 | 0 | "Failed to parse integer: No digits found"); | 3356 | 0 | } | 3357 | 2.69k | return range.end(); | 3358 | | } | 3359 | | else { | 3360 | | return read_while1_code_unit(range, | 3361 | | [&](char_type ch) noexcept { | 3362 | | return char_to_int(ch) < base; | 3363 | | }) | 3364 | | .transform_error(map_parse_error_to_scan_error( | 3365 | | scan_error::invalid_scanned_value, | 3366 | | "Failed to parse integer: No digits found")); | 3367 | | } | 3368 | 2.69k | } |
Unexecuted instantiation: _ZN3scn2v34impl34parse_integer_digits_without_thsepINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_i Unexecuted instantiation: _ZN3scn2v34impl34parse_integer_digits_without_thsepINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_i _ZN3scn2v34impl34parse_integer_digits_without_thsepINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_i Line | Count | Source | 3348 | 326 | { | 3349 | 326 | using char_type = detail::char_t<Range>; | 3350 | | | 3351 | | if constexpr (ranges::contiguous_range<Range>) { | 3352 | | if (auto e = eof_check(range); SCN_UNLIKELY(!e)) { | 3353 | | return unexpected_scan_error( | 3354 | | scan_error::invalid_scanned_value, | 3355 | | "Failed to parse integer: No digits found"); | 3356 | | } | 3357 | | return range.end(); | 3358 | | } | 3359 | 326 | else { | 3360 | 326 | return read_while1_code_unit(range, | 3361 | 326 | [&](char_type ch) noexcept { | 3362 | 326 | return char_to_int(ch) < base; | 3363 | 326 | }) | 3364 | 326 | .transform_error(map_parse_error_to_scan_error( | 3365 | 326 | scan_error::invalid_scanned_value, | 3366 | 326 | "Failed to parse integer: No digits found")); | 3367 | 326 | } | 3368 | 326 | } |
_ZN3scn2v34impl34parse_integer_digits_without_thsepINS0_6ranges6detail9subrange_8subrangeIPKwS8_EEEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESD_i Line | Count | Source | 3348 | 2.38k | { | 3349 | 2.38k | using char_type = detail::char_t<Range>; | 3350 | | | 3351 | 2.38k | if constexpr (ranges::contiguous_range<Range>) { | 3352 | 2.38k | if (auto e = eof_check(range); SCN_UNLIKELY(!e)) { | 3353 | 0 | return unexpected_scan_error( | 3354 | 0 | scan_error::invalid_scanned_value, | 3355 | 0 | "Failed to parse integer: No digits found"); | 3356 | 0 | } | 3357 | 2.38k | return range.end(); | 3358 | | } | 3359 | | else { | 3360 | | return read_while1_code_unit(range, | 3361 | | [&](char_type ch) noexcept { | 3362 | | return char_to_int(ch) < base; | 3363 | | }) | 3364 | | .transform_error(map_parse_error_to_scan_error( | 3365 | | scan_error::invalid_scanned_value, | 3366 | | "Failed to parse integer: No digits found")); | 3367 | | } | 3368 | 2.38k | } |
|
3369 | | |
3370 | | template <typename Range, typename CharT> |
3371 | | auto parse_integer_digits_with_thsep( |
3372 | | Range range, |
3373 | | int base, |
3374 | | const localized_number_formatting_options<CharT>& locale_options) |
3375 | | -> scan_expected<std::tuple<ranges::const_iterator_t<Range>, |
3376 | | std::basic_string<CharT>, |
3377 | | std::string>> |
3378 | 120 | { |
3379 | 120 | std::basic_string<CharT> output; |
3380 | 120 | std::string thsep_indices; |
3381 | 120 | auto it = range.begin(); |
3382 | 120 | bool digit_matched = false; |
3383 | 120 | for (; it != range.end(); ++it) { |
3384 | 120 | if (*it == locale_options.thousands_sep) { |
3385 | 0 | thsep_indices.push_back( |
3386 | 0 | static_cast<char>(ranges::distance(range.begin(), it))); |
3387 | 0 | } |
3388 | 120 | else if (char_to_int(*it) >= base) { |
3389 | 120 | break; |
3390 | 120 | } |
3391 | 0 | else { |
3392 | 0 | output.push_back(*it); |
3393 | 0 | digit_matched = true; |
3394 | 0 | } |
3395 | 120 | } |
3396 | 120 | if (SCN_UNLIKELY(!digit_matched)) { |
3397 | 120 | return unexpected_scan_error( |
3398 | 120 | scan_error::invalid_scanned_value, |
3399 | 120 | "Failed to parse integer: No digits found"); |
3400 | 120 | } |
3401 | 0 | return std::tuple{it, output, thsep_indices}; |
3402 | 120 | } Unexecuted instantiation: _ZN3scn2v34impl31parse_integer_digits_with_thsepINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEEcEENS0_13scan_expectedINSt3__15tupleIJDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSM_9add_constIT_E4typeEEEEENSM_12basic_stringIT0_NSM_11char_traitsISV_EENSM_9allocatorISV_EEEENSU_IcNSW_IcEENSY_IcEEEEEEEEESP_iRKNS1_35localized_number_formatting_optionsISV_EE Unexecuted instantiation: _ZN3scn2v34impl31parse_integer_digits_with_thsepINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEEcEENS0_13scan_expectedINSt3__15tupleIJDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSE_9add_constIT_E4typeEEEEENSE_12basic_stringIT0_NSE_11char_traitsISN_EENSE_9allocatorISN_EEEENSM_IcNSO_IcEENSQ_IcEEEEEEEEESH_iRKNS1_35localized_number_formatting_optionsISN_EE _ZN3scn2v34impl31parse_integer_digits_with_thsepINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEEcEENS0_13scan_expectedINSt3__15tupleIJDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSJ_9add_constIT_E4typeEEEEENSJ_12basic_stringIT0_NSJ_11char_traitsISS_EENSJ_9allocatorISS_EEEENSR_IcNST_IcEENSV_IcEEEEEEEEESM_iRKNS1_35localized_number_formatting_optionsISS_EE Line | Count | Source | 3378 | 20 | { | 3379 | 20 | std::basic_string<CharT> output; | 3380 | 20 | std::string thsep_indices; | 3381 | 20 | auto it = range.begin(); | 3382 | 20 | bool digit_matched = false; | 3383 | 20 | for (; it != range.end(); ++it) { | 3384 | 20 | if (*it == locale_options.thousands_sep) { | 3385 | 0 | thsep_indices.push_back( | 3386 | 0 | static_cast<char>(ranges::distance(range.begin(), it))); | 3387 | 0 | } | 3388 | 20 | else if (char_to_int(*it) >= base) { | 3389 | 20 | break; | 3390 | 20 | } | 3391 | 0 | else { | 3392 | 0 | output.push_back(*it); | 3393 | 0 | digit_matched = true; | 3394 | 0 | } | 3395 | 20 | } | 3396 | 20 | if (SCN_UNLIKELY(!digit_matched)) { | 3397 | 20 | return unexpected_scan_error( | 3398 | 20 | scan_error::invalid_scanned_value, | 3399 | 20 | "Failed to parse integer: No digits found"); | 3400 | 20 | } | 3401 | 0 | return std::tuple{it, output, thsep_indices}; | 3402 | 20 | } |
_ZN3scn2v34impl31parse_integer_digits_with_thsepINS0_6ranges6detail9subrange_8subrangeIPKcS8_EEcEENS0_13scan_expectedINSt3__15tupleIJDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSB_9add_constIT_E4typeEEEEENSB_12basic_stringIT0_NSB_11char_traitsISK_EENSB_9allocatorISK_EEEENSJ_IcNSL_IcEENSN_IcEEEEEEEEESE_iRKNS1_35localized_number_formatting_optionsISK_EE Line | Count | Source | 3378 | 32 | { | 3379 | 32 | std::basic_string<CharT> output; | 3380 | 32 | std::string thsep_indices; | 3381 | 32 | auto it = range.begin(); | 3382 | 32 | bool digit_matched = false; | 3383 | 32 | for (; it != range.end(); ++it) { | 3384 | 32 | if (*it == locale_options.thousands_sep) { | 3385 | 0 | thsep_indices.push_back( | 3386 | 0 | static_cast<char>(ranges::distance(range.begin(), it))); | 3387 | 0 | } | 3388 | 32 | else if (char_to_int(*it) >= base) { | 3389 | 32 | break; | 3390 | 32 | } | 3391 | 0 | else { | 3392 | 0 | output.push_back(*it); | 3393 | 0 | digit_matched = true; | 3394 | 0 | } | 3395 | 32 | } | 3396 | 32 | if (SCN_UNLIKELY(!digit_matched)) { | 3397 | 32 | return unexpected_scan_error( | 3398 | 32 | scan_error::invalid_scanned_value, | 3399 | 32 | "Failed to parse integer: No digits found"); | 3400 | 32 | } | 3401 | 0 | return std::tuple{it, output, thsep_indices}; | 3402 | 32 | } |
Unexecuted instantiation: _ZN3scn2v34impl31parse_integer_digits_with_thsepINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEEwEENS0_13scan_expectedINSt3__15tupleIJDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSM_9add_constIT_E4typeEEEEENSM_12basic_stringIT0_NSM_11char_traitsISV_EENSM_9allocatorISV_EEEENSU_IcNSW_IcEENSY_IcEEEEEEEEESP_iRKNS1_35localized_number_formatting_optionsISV_EE Unexecuted instantiation: _ZN3scn2v34impl31parse_integer_digits_with_thsepINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEEwEENS0_13scan_expectedINSt3__15tupleIJDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSE_9add_constIT_E4typeEEEEENSE_12basic_stringIT0_NSE_11char_traitsISN_EENSE_9allocatorISN_EEEENSM_IcNSO_IcEENSQ_IcEEEEEEEEESH_iRKNS1_35localized_number_formatting_optionsISN_EE _ZN3scn2v34impl31parse_integer_digits_with_thsepINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEEwEENS0_13scan_expectedINSt3__15tupleIJDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSJ_9add_constIT_E4typeEEEEENSJ_12basic_stringIT0_NSJ_11char_traitsISS_EENSJ_9allocatorISS_EEEENSR_IcNST_IcEENSV_IcEEEEEEEEESM_iRKNS1_35localized_number_formatting_optionsISS_EE Line | Count | Source | 3378 | 36 | { | 3379 | 36 | std::basic_string<CharT> output; | 3380 | 36 | std::string thsep_indices; | 3381 | 36 | auto it = range.begin(); | 3382 | 36 | bool digit_matched = false; | 3383 | 36 | for (; it != range.end(); ++it) { | 3384 | 36 | if (*it == locale_options.thousands_sep) { | 3385 | 0 | thsep_indices.push_back( | 3386 | 0 | static_cast<char>(ranges::distance(range.begin(), it))); | 3387 | 0 | } | 3388 | 36 | else if (char_to_int(*it) >= base) { | 3389 | 36 | break; | 3390 | 36 | } | 3391 | 0 | else { | 3392 | 0 | output.push_back(*it); | 3393 | 0 | digit_matched = true; | 3394 | 0 | } | 3395 | 36 | } | 3396 | 36 | if (SCN_UNLIKELY(!digit_matched)) { | 3397 | 36 | return unexpected_scan_error( | 3398 | 36 | scan_error::invalid_scanned_value, | 3399 | 36 | "Failed to parse integer: No digits found"); | 3400 | 36 | } | 3401 | 0 | return std::tuple{it, output, thsep_indices}; | 3402 | 36 | } |
_ZN3scn2v34impl31parse_integer_digits_with_thsepINS0_6ranges6detail9subrange_8subrangeIPKwS8_EEwEENS0_13scan_expectedINSt3__15tupleIJDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSB_9add_constIT_E4typeEEEEENSB_12basic_stringIT0_NSB_11char_traitsISK_EENSB_9allocatorISK_EEEENSJ_IcNSL_IcEENSN_IcEEEEEEEEESE_iRKNS1_35localized_number_formatting_optionsISK_EE Line | Count | Source | 3378 | 32 | { | 3379 | 32 | std::basic_string<CharT> output; | 3380 | 32 | std::string thsep_indices; | 3381 | 32 | auto it = range.begin(); | 3382 | 32 | bool digit_matched = false; | 3383 | 32 | for (; it != range.end(); ++it) { | 3384 | 32 | if (*it == locale_options.thousands_sep) { | 3385 | 0 | thsep_indices.push_back( | 3386 | 0 | static_cast<char>(ranges::distance(range.begin(), it))); | 3387 | 0 | } | 3388 | 32 | else if (char_to_int(*it) >= base) { | 3389 | 32 | break; | 3390 | 32 | } | 3391 | 0 | else { | 3392 | 0 | output.push_back(*it); | 3393 | 0 | digit_matched = true; | 3394 | 0 | } | 3395 | 32 | } | 3396 | 32 | if (SCN_UNLIKELY(!digit_matched)) { | 3397 | 32 | return unexpected_scan_error( | 3398 | 32 | scan_error::invalid_scanned_value, | 3399 | 32 | "Failed to parse integer: No digits found"); | 3400 | 32 | } | 3401 | 0 | return std::tuple{it, output, thsep_indices}; | 3402 | 32 | } |
|
3403 | | |
3404 | | template <typename CharT, typename T> |
3405 | | auto parse_integer_value(std::basic_string_view<CharT> source, |
3406 | | T& value, |
3407 | | sign_type sign, |
3408 | | int base) |
3409 | | -> scan_expected<typename std::basic_string_view<CharT>::iterator>; |
3410 | | |
3411 | | template <typename T> |
3412 | | void parse_integer_value_exhaustive_valid(std::string_view source, T& value); |
3413 | | |
3414 | | #define SCN_DECLARE_INTEGER_READER_TEMPLATE(CharT, IntT) \ |
3415 | | extern template auto parse_integer_value( \ |
3416 | | std::basic_string_view<CharT> source, IntT& value, sign_type sign, \ |
3417 | | int base) \ |
3418 | | -> scan_expected<typename std::basic_string_view<CharT>::iterator>; \ |
3419 | | extern template void parse_integer_value_exhaustive_valid( \ |
3420 | | std::string_view, IntT&); |
3421 | | |
3422 | | #if !SCN_DISABLE_TYPE_SCHAR |
3423 | | SCN_DECLARE_INTEGER_READER_TEMPLATE(char, signed char) |
3424 | | SCN_DECLARE_INTEGER_READER_TEMPLATE(wchar_t, signed char) |
3425 | | #endif |
3426 | | #if !SCN_DISABLE_TYPE_SHORT |
3427 | | SCN_DECLARE_INTEGER_READER_TEMPLATE(char, short) |
3428 | | SCN_DECLARE_INTEGER_READER_TEMPLATE(wchar_t, short) |
3429 | | #endif |
3430 | | #if !SCN_DISABLE_TYPE_INT |
3431 | | SCN_DECLARE_INTEGER_READER_TEMPLATE(char, int) |
3432 | | SCN_DECLARE_INTEGER_READER_TEMPLATE(wchar_t, int) |
3433 | | #endif |
3434 | | #if !SCN_DISABLE_TYPE_LONG |
3435 | | SCN_DECLARE_INTEGER_READER_TEMPLATE(char, long) |
3436 | | SCN_DECLARE_INTEGER_READER_TEMPLATE(wchar_t, long) |
3437 | | #endif |
3438 | | #if !SCN_DISABLE_TYPE_LONG_LONG |
3439 | | SCN_DECLARE_INTEGER_READER_TEMPLATE(char, long long) |
3440 | | SCN_DECLARE_INTEGER_READER_TEMPLATE(wchar_t, long long) |
3441 | | #endif |
3442 | | #if !SCN_DISABLE_TYPE_UCHAR |
3443 | | SCN_DECLARE_INTEGER_READER_TEMPLATE(char, unsigned char) |
3444 | | SCN_DECLARE_INTEGER_READER_TEMPLATE(wchar_t, unsigned char) |
3445 | | #endif |
3446 | | #if !SCN_DISABLE_TYPE_USHORT |
3447 | | SCN_DECLARE_INTEGER_READER_TEMPLATE(char, unsigned short) |
3448 | | SCN_DECLARE_INTEGER_READER_TEMPLATE(wchar_t, unsigned short) |
3449 | | #endif |
3450 | | #if !SCN_DISABLE_TYPE_UINT |
3451 | | SCN_DECLARE_INTEGER_READER_TEMPLATE(char, unsigned int) |
3452 | | SCN_DECLARE_INTEGER_READER_TEMPLATE(wchar_t, unsigned int) |
3453 | | #endif |
3454 | | #if !SCN_DISABLE_TYPE_ULONG |
3455 | | SCN_DECLARE_INTEGER_READER_TEMPLATE(char, unsigned long) |
3456 | | SCN_DECLARE_INTEGER_READER_TEMPLATE(wchar_t, unsigned long) |
3457 | | #endif |
3458 | | #if !SCN_DISABLE_TYPE_ULONG_LONG |
3459 | | SCN_DECLARE_INTEGER_READER_TEMPLATE(char, unsigned long long) |
3460 | | SCN_DECLARE_INTEGER_READER_TEMPLATE(wchar_t, unsigned long long) |
3461 | | #endif |
3462 | | |
3463 | | #undef SCN_DECLARE_INTEGER_READER_TEMPLATE |
3464 | | |
3465 | | template <typename CharT> |
3466 | | class reader_impl_for_int |
3467 | | : public reader_base<reader_impl_for_int<CharT>, CharT> { |
3468 | | public: |
3469 | | constexpr reader_impl_for_int() = default; |
3470 | | |
3471 | | void check_specs_impl(const detail::format_specs& specs, |
3472 | | reader_error_handler& eh) |
3473 | 15.8k | { |
3474 | 15.8k | detail::check_int_type_specs(specs, eh); |
3475 | 15.8k | } scn::v3::impl::reader_impl_for_int<char>::check_specs_impl(scn::v3::detail::format_specs const&, scn::v3::impl::reader_error_handler&) Line | Count | Source | 3473 | 10.4k | { | 3474 | 10.4k | detail::check_int_type_specs(specs, eh); | 3475 | 10.4k | } |
scn::v3::impl::reader_impl_for_int<wchar_t>::check_specs_impl(scn::v3::detail::format_specs const&, scn::v3::impl::reader_error_handler&) Line | Count | Source | 3473 | 5.46k | { | 3474 | 5.46k | detail::check_int_type_specs(specs, eh); | 3475 | 5.46k | } |
|
3476 | | |
3477 | | template <typename Range, typename T> |
3478 | | auto read_default_with_base(Range range, T& value, int base) |
3479 | | -> scan_expected<ranges::const_iterator_t<Range>> |
3480 | 2.22k | { |
3481 | 2.22k | SCN_TRY(prefix_result, parse_integer_prefix(range, base) |
3482 | 2.22k | .transform_error(make_eof_scan_error)); |
3483 | | |
3484 | 2.22k | if constexpr (!std::is_signed_v<T>) { |
3485 | 1.11k | if (prefix_result.sign == sign_type::minus_sign) { |
3486 | 0 | return unexpected_scan_error( |
3487 | 0 | scan_error::invalid_scanned_value, |
3488 | 0 | "Unexpected '-' sign when parsing an " |
3489 | 0 | "unsigned value"); |
3490 | 0 | } |
3491 | 1.11k | } |
3492 | | |
3493 | 2.22k | if (prefix_result.is_zero) { |
3494 | 0 | value = T{0}; |
3495 | 0 | return std::next(prefix_result.iterator); |
3496 | 0 | } |
3497 | | |
3498 | 4.44k | SCN_TRY(after_digits_it, |
3499 | 4.44k | parse_integer_digits_without_thsep( |
3500 | 4.44k | ranges::subrange{prefix_result.iterator, range.end()}, |
3501 | 4.44k | prefix_result.parsed_base)); |
3502 | | |
3503 | 4.44k | auto buf = make_contiguous_buffer( |
3504 | 4.44k | ranges::subrange{prefix_result.iterator, after_digits_it}); |
3505 | 4.44k | SCN_TRY(result_it, |
3506 | 0 | parse_integer_value(buf.view(), value, prefix_result.sign, |
3507 | 0 | prefix_result.parsed_base)); |
3508 | |
|
3509 | 0 | return ranges::next(prefix_result.iterator, |
3510 | 0 | ranges::distance(buf.view().begin(), result_it)); |
3511 | 4.44k | } Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIcE22read_default_with_baseINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEaEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_i Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIcE22read_default_with_baseINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEsEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_i Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIcE22read_default_with_baseINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEiEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_i Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIcE22read_default_with_baseINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEElEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_i Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIcE22read_default_with_baseINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEExEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_i Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIcE22read_default_with_baseINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEhEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_i Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIcE22read_default_with_baseINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEtEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_i Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIcE22read_default_with_baseINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEjEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_i Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIcE22read_default_with_baseINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEmEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_i Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIcE22read_default_with_baseINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEyEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_i Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIwE22read_default_with_baseINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEaEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_i Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIwE22read_default_with_baseINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEsEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_i _ZN3scn2v34impl19reader_impl_for_intIwE22read_default_with_baseINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEiEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_i Line | Count | Source | 3480 | 474 | { | 3481 | 474 | SCN_TRY(prefix_result, parse_integer_prefix(range, base) | 3482 | 474 | .transform_error(make_eof_scan_error)); | 3483 | | | 3484 | | if constexpr (!std::is_signed_v<T>) { | 3485 | | if (prefix_result.sign == sign_type::minus_sign) { | 3486 | | return unexpected_scan_error( | 3487 | | scan_error::invalid_scanned_value, | 3488 | | "Unexpected '-' sign when parsing an " | 3489 | | "unsigned value"); | 3490 | | } | 3491 | | } | 3492 | | | 3493 | 474 | if (prefix_result.is_zero) { | 3494 | 0 | value = T{0}; | 3495 | 0 | return std::next(prefix_result.iterator); | 3496 | 0 | } | 3497 | | | 3498 | 948 | SCN_TRY(after_digits_it, | 3499 | 948 | parse_integer_digits_without_thsep( | 3500 | 948 | ranges::subrange{prefix_result.iterator, range.end()}, | 3501 | 948 | prefix_result.parsed_base)); | 3502 | | | 3503 | 948 | auto buf = make_contiguous_buffer( | 3504 | 948 | ranges::subrange{prefix_result.iterator, after_digits_it}); | 3505 | 948 | SCN_TRY(result_it, | 3506 | 0 | parse_integer_value(buf.view(), value, prefix_result.sign, | 3507 | 0 | prefix_result.parsed_base)); | 3508 | |
| 3509 | 0 | return ranges::next(prefix_result.iterator, | 3510 | 0 | ranges::distance(buf.view().begin(), result_it)); | 3511 | 948 | } |
Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIwE22read_default_with_baseINS0_6ranges6detail9subrange_8subrangeIPKwSA_EElEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_i Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIwE22read_default_with_baseINS0_6ranges6detail9subrange_8subrangeIPKwSA_EExEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_i Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIwE22read_default_with_baseINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEhEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_i Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIwE22read_default_with_baseINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEtEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_i _ZN3scn2v34impl19reader_impl_for_intIwE22read_default_with_baseINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEjEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_i Line | Count | Source | 3480 | 474 | { | 3481 | 474 | SCN_TRY(prefix_result, parse_integer_prefix(range, base) | 3482 | 474 | .transform_error(make_eof_scan_error)); | 3483 | | | 3484 | 474 | if constexpr (!std::is_signed_v<T>) { | 3485 | 474 | if (prefix_result.sign == sign_type::minus_sign) { | 3486 | 0 | return unexpected_scan_error( | 3487 | 0 | scan_error::invalid_scanned_value, | 3488 | 0 | "Unexpected '-' sign when parsing an " | 3489 | 0 | "unsigned value"); | 3490 | 0 | } | 3491 | 474 | } | 3492 | | | 3493 | 474 | if (prefix_result.is_zero) { | 3494 | 0 | value = T{0}; | 3495 | 0 | return std::next(prefix_result.iterator); | 3496 | 0 | } | 3497 | | | 3498 | 948 | SCN_TRY(after_digits_it, | 3499 | 948 | parse_integer_digits_without_thsep( | 3500 | 948 | ranges::subrange{prefix_result.iterator, range.end()}, | 3501 | 948 | prefix_result.parsed_base)); | 3502 | | | 3503 | 948 | auto buf = make_contiguous_buffer( | 3504 | 948 | ranges::subrange{prefix_result.iterator, after_digits_it}); | 3505 | 948 | SCN_TRY(result_it, | 3506 | 0 | parse_integer_value(buf.view(), value, prefix_result.sign, | 3507 | 0 | prefix_result.parsed_base)); | 3508 | |
| 3509 | 0 | return ranges::next(prefix_result.iterator, | 3510 | 0 | ranges::distance(buf.view().begin(), result_it)); | 3511 | 948 | } |
Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIwE22read_default_with_baseINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEmEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_i Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIwE22read_default_with_baseINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEyEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_i Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIwE22read_default_with_baseINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEaEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_i Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIwE22read_default_with_baseINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEsEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_i Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIwE22read_default_with_baseINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEiEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_i Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIwE22read_default_with_baseINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEElEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_i Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIwE22read_default_with_baseINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEExEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_i Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIwE22read_default_with_baseINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEhEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_i Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIwE22read_default_with_baseINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEtEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_i Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIwE22read_default_with_baseINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEjEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_i Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIwE22read_default_with_baseINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEmEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_i Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIwE22read_default_with_baseINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEyEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_i Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIcE22read_default_with_baseINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEaEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_i Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIcE22read_default_with_baseINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEsEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_i _ZN3scn2v34impl19reader_impl_for_intIcE22read_default_with_baseINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEiEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_i Line | Count | Source | 3480 | 636 | { | 3481 | 636 | SCN_TRY(prefix_result, parse_integer_prefix(range, base) | 3482 | 636 | .transform_error(make_eof_scan_error)); | 3483 | | | 3484 | | if constexpr (!std::is_signed_v<T>) { | 3485 | | if (prefix_result.sign == sign_type::minus_sign) { | 3486 | | return unexpected_scan_error( | 3487 | | scan_error::invalid_scanned_value, | 3488 | | "Unexpected '-' sign when parsing an " | 3489 | | "unsigned value"); | 3490 | | } | 3491 | | } | 3492 | | | 3493 | 636 | if (prefix_result.is_zero) { | 3494 | 0 | value = T{0}; | 3495 | 0 | return std::next(prefix_result.iterator); | 3496 | 0 | } | 3497 | | | 3498 | 1.27k | SCN_TRY(after_digits_it, | 3499 | 1.27k | parse_integer_digits_without_thsep( | 3500 | 1.27k | ranges::subrange{prefix_result.iterator, range.end()}, | 3501 | 1.27k | prefix_result.parsed_base)); | 3502 | | | 3503 | 1.27k | auto buf = make_contiguous_buffer( | 3504 | 1.27k | ranges::subrange{prefix_result.iterator, after_digits_it}); | 3505 | 1.27k | SCN_TRY(result_it, | 3506 | 0 | parse_integer_value(buf.view(), value, prefix_result.sign, | 3507 | 0 | prefix_result.parsed_base)); | 3508 | |
| 3509 | 0 | return ranges::next(prefix_result.iterator, | 3510 | 0 | ranges::distance(buf.view().begin(), result_it)); | 3511 | 1.27k | } |
Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIcE22read_default_with_baseINS0_6ranges6detail9subrange_8subrangeIPKcSA_EElEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_i Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIcE22read_default_with_baseINS0_6ranges6detail9subrange_8subrangeIPKcSA_EExEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_i Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIcE22read_default_with_baseINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEhEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_i Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIcE22read_default_with_baseINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEtEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_i _ZN3scn2v34impl19reader_impl_for_intIcE22read_default_with_baseINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEjEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_i Line | Count | Source | 3480 | 636 | { | 3481 | 636 | SCN_TRY(prefix_result, parse_integer_prefix(range, base) | 3482 | 636 | .transform_error(make_eof_scan_error)); | 3483 | | | 3484 | 636 | if constexpr (!std::is_signed_v<T>) { | 3485 | 636 | if (prefix_result.sign == sign_type::minus_sign) { | 3486 | 0 | return unexpected_scan_error( | 3487 | 0 | scan_error::invalid_scanned_value, | 3488 | 0 | "Unexpected '-' sign when parsing an " | 3489 | 0 | "unsigned value"); | 3490 | 0 | } | 3491 | 636 | } | 3492 | | | 3493 | 636 | if (prefix_result.is_zero) { | 3494 | 0 | value = T{0}; | 3495 | 0 | return std::next(prefix_result.iterator); | 3496 | 0 | } | 3497 | | | 3498 | 1.27k | SCN_TRY(after_digits_it, | 3499 | 1.27k | parse_integer_digits_without_thsep( | 3500 | 1.27k | ranges::subrange{prefix_result.iterator, range.end()}, | 3501 | 1.27k | prefix_result.parsed_base)); | 3502 | | | 3503 | 1.27k | auto buf = make_contiguous_buffer( | 3504 | 1.27k | ranges::subrange{prefix_result.iterator, after_digits_it}); | 3505 | 1.27k | SCN_TRY(result_it, | 3506 | 0 | parse_integer_value(buf.view(), value, prefix_result.sign, | 3507 | 0 | prefix_result.parsed_base)); | 3508 | |
| 3509 | 0 | return ranges::next(prefix_result.iterator, | 3510 | 0 | ranges::distance(buf.view().begin(), result_it)); | 3511 | 1.27k | } |
Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIcE22read_default_with_baseINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEmEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_i Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIcE22read_default_with_baseINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEyEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_i |
3512 | | |
3513 | | template <typename Range, typename T> |
3514 | | auto read_default(Range range, T& value, detail::locale_ref loc) |
3515 | | -> scan_expected<ranges::const_iterator_t<Range>> |
3516 | 2.22k | { |
3517 | 2.22k | SCN_UNUSED(loc); |
3518 | 2.22k | return read_default_with_base(range, value, 10); |
3519 | 2.22k | } Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEaEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_NS0_6detail10locale_refE Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEsEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_NS0_6detail10locale_refE _ZN3scn2v34impl19reader_impl_for_intIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEiEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_NS0_6detail10locale_refE Line | Count | Source | 3516 | 636 | { | 3517 | 636 | SCN_UNUSED(loc); | 3518 | 636 | return read_default_with_base(range, value, 10); | 3519 | 636 | } |
Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKcSA_EElEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_NS0_6detail10locale_refE Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKcSA_EExEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_NS0_6detail10locale_refE Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEhEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_NS0_6detail10locale_refE Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEtEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_NS0_6detail10locale_refE _ZN3scn2v34impl19reader_impl_for_intIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEjEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_NS0_6detail10locale_refE Line | Count | Source | 3516 | 636 | { | 3517 | 636 | SCN_UNUSED(loc); | 3518 | 636 | return read_default_with_base(range, value, 10); | 3519 | 636 | } |
Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEmEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_NS0_6detail10locale_refE Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEyEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_NS0_6detail10locale_refE Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEaEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEsEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEiEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEElEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEExEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEhEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEtEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEjEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEmEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEyEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEaEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_NS0_6detail10locale_refE Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEsEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_NS0_6detail10locale_refE _ZN3scn2v34impl19reader_impl_for_intIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEiEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_NS0_6detail10locale_refE Line | Count | Source | 3516 | 474 | { | 3517 | 474 | SCN_UNUSED(loc); | 3518 | 474 | return read_default_with_base(range, value, 10); | 3519 | 474 | } |
Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKwSA_EElEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_NS0_6detail10locale_refE Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKwSA_EExEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_NS0_6detail10locale_refE Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEhEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_NS0_6detail10locale_refE Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEtEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_NS0_6detail10locale_refE _ZN3scn2v34impl19reader_impl_for_intIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEjEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_NS0_6detail10locale_refE Line | Count | Source | 3516 | 474 | { | 3517 | 474 | SCN_UNUSED(loc); | 3518 | 474 | return read_default_with_base(range, value, 10); | 3519 | 474 | } |
Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEmEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_NS0_6detail10locale_refE Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEyEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_NS0_6detail10locale_refE Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEaEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEsEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEiEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEElEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEExEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEhEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEtEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEjEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEmEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEyEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_NS9_10locale_refE |
3520 | | |
3521 | | template <typename Range, typename T> |
3522 | | auto read_specs(Range range, |
3523 | | const detail::format_specs& specs, |
3524 | | T& value, |
3525 | | detail::locale_ref loc) |
3526 | | -> scan_expected<ranges::const_iterator_t<Range>> |
3527 | 4.08k | { |
3528 | 4.08k | SCN_TRY(prefix_result, parse_integer_prefix(range, specs.get_base()) |
3529 | 4.08k | .transform_error(make_eof_scan_error)); |
3530 | | |
3531 | 4.08k | if (prefix_result.sign == sign_type::minus_sign) { |
3532 | 0 | if constexpr (!std::is_signed_v<T>) { |
3533 | 0 | return unexpected_scan_error( |
3534 | 0 | scan_error::invalid_scanned_value, |
3535 | 0 | "Unexpected '-' sign when parsing an " |
3536 | 0 | "unsigned value"); |
3537 | | } |
3538 | 0 | else { |
3539 | 0 | if (specs.type == |
3540 | 0 | detail::presentation_type::int_unsigned_decimal) { |
3541 | 0 | return unexpected_scan_error( |
3542 | 0 | scan_error::invalid_scanned_value, |
3543 | 0 | "'u'-option disallows negative values"); |
3544 | 0 | } |
3545 | 0 | } |
3546 | 0 | } |
3547 | | |
3548 | 4.08k | if (prefix_result.is_zero) { |
3549 | 0 | value = T{0}; |
3550 | 0 | return std::next(prefix_result.iterator); |
3551 | 0 | } |
3552 | | |
3553 | 4.08k | if (SCN_LIKELY(!specs.localized)) { |
3554 | 3.96k | SCN_TRY(after_digits_it, |
3555 | 2.85k | parse_integer_digits_without_thsep( |
3556 | 2.85k | ranges::subrange{prefix_result.iterator, range.end()}, |
3557 | 2.85k | prefix_result.parsed_base)); |
3558 | | |
3559 | 2.85k | auto buf = make_contiguous_buffer( |
3560 | 2.85k | ranges::subrange{prefix_result.iterator, after_digits_it}); |
3561 | 2.85k | SCN_TRY(result_it, |
3562 | 0 | parse_integer_value(buf.view(), value, prefix_result.sign, |
3563 | 0 | prefix_result.parsed_base)); |
3564 | |
|
3565 | 0 | return ranges::next( |
3566 | 0 | prefix_result.iterator, |
3567 | 0 | ranges::distance(buf.view().begin(), result_it)); |
3568 | 2.85k | } |
3569 | | |
3570 | 120 | auto locale_options = |
3571 | | #if SCN_DISABLE_LOCALE |
3572 | | localized_number_formatting_options<CharT>{}; |
3573 | | #else |
3574 | 120 | localized_number_formatting_options<CharT>{loc}; |
3575 | 120 | #endif |
3576 | | |
3577 | 120 | SCN_TRY(parse_digits_result, |
3578 | 0 | parse_integer_digits_with_thsep( |
3579 | 0 | ranges::subrange{prefix_result.iterator, range.end()}, |
3580 | 0 | prefix_result.parsed_base, locale_options)); |
3581 | 0 | const auto& [after_digits_it, nothsep_source, thsep_indices] = |
3582 | 0 | parse_digits_result; |
3583 | |
|
3584 | 0 | if (!thsep_indices.empty()) { |
3585 | 0 | if (auto e = check_thsep_grouping( |
3586 | 0 | ranges::subrange{prefix_result.iterator, after_digits_it}, |
3587 | 0 | thsep_indices, locale_options.grouping); |
3588 | 0 | SCN_UNLIKELY(!e)) { |
3589 | 0 | return unexpected(e); |
3590 | 0 | } |
3591 | 0 | } |
3592 | | |
3593 | 0 | auto nothsep_source_view = |
3594 | 0 | std::basic_string_view<CharT>{nothsep_source}; |
3595 | 0 | SCN_TRY( |
3596 | 0 | nothsep_source_it, |
3597 | 0 | parse_integer_value(nothsep_source_view, value, prefix_result.sign, |
3598 | 0 | prefix_result.parsed_base)); |
3599 | |
|
3600 | 0 | return ranges::next( |
3601 | 0 | prefix_result.iterator, |
3602 | 0 | ranges::distance(nothsep_source_view.begin(), nothsep_source_it) + |
3603 | 0 | ranges::ssize(thsep_indices)); |
3604 | 0 | } Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEaEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERT0_NSA_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIcE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEaEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERT0_NS9_10locale_refE _ZN3scn2v34impl19reader_impl_for_intIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEaEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERT0_NSN_10locale_refE Line | Count | Source | 3527 | 32 | { | 3528 | 32 | SCN_TRY(prefix_result, parse_integer_prefix(range, specs.get_base()) | 3529 | 32 | .transform_error(make_eof_scan_error)); | 3530 | | | 3531 | 32 | if (prefix_result.sign == sign_type::minus_sign) { | 3532 | | if constexpr (!std::is_signed_v<T>) { | 3533 | | return unexpected_scan_error( | 3534 | | scan_error::invalid_scanned_value, | 3535 | | "Unexpected '-' sign when parsing an " | 3536 | | "unsigned value"); | 3537 | | } | 3538 | 0 | else { | 3539 | 0 | if (specs.type == | 3540 | 0 | detail::presentation_type::int_unsigned_decimal) { | 3541 | 0 | return unexpected_scan_error( | 3542 | 0 | scan_error::invalid_scanned_value, | 3543 | 0 | "'u'-option disallows negative values"); | 3544 | 0 | } | 3545 | 0 | } | 3546 | 0 | } | 3547 | | | 3548 | 32 | if (prefix_result.is_zero) { | 3549 | 0 | value = T{0}; | 3550 | 0 | return std::next(prefix_result.iterator); | 3551 | 0 | } | 3552 | | | 3553 | 32 | if (SCN_LIKELY(!specs.localized)) { | 3554 | 32 | SCN_TRY(after_digits_it, | 3555 | 0 | parse_integer_digits_without_thsep( | 3556 | 0 | ranges::subrange{prefix_result.iterator, range.end()}, | 3557 | 0 | prefix_result.parsed_base)); | 3558 | |
| 3559 | 0 | auto buf = make_contiguous_buffer( | 3560 | 0 | ranges::subrange{prefix_result.iterator, after_digits_it}); | 3561 | 0 | SCN_TRY(result_it, | 3562 | 0 | parse_integer_value(buf.view(), value, prefix_result.sign, | 3563 | 0 | prefix_result.parsed_base)); | 3564 | |
| 3565 | 0 | return ranges::next( | 3566 | 0 | prefix_result.iterator, | 3567 | 0 | ranges::distance(buf.view().begin(), result_it)); | 3568 | 0 | } | 3569 | | | 3570 | 0 | auto locale_options = | 3571 | | #if SCN_DISABLE_LOCALE | 3572 | | localized_number_formatting_options<CharT>{}; | 3573 | | #else | 3574 | 0 | localized_number_formatting_options<CharT>{loc}; | 3575 | 0 | #endif | 3576 | |
| 3577 | 0 | SCN_TRY(parse_digits_result, | 3578 | 0 | parse_integer_digits_with_thsep( | 3579 | 0 | ranges::subrange{prefix_result.iterator, range.end()}, | 3580 | 0 | prefix_result.parsed_base, locale_options)); | 3581 | 0 | const auto& [after_digits_it, nothsep_source, thsep_indices] = | 3582 | 0 | parse_digits_result; | 3583 | |
| 3584 | 0 | if (!thsep_indices.empty()) { | 3585 | 0 | if (auto e = check_thsep_grouping( | 3586 | 0 | ranges::subrange{prefix_result.iterator, after_digits_it}, | 3587 | 0 | thsep_indices, locale_options.grouping); | 3588 | 0 | SCN_UNLIKELY(!e)) { | 3589 | 0 | return unexpected(e); | 3590 | 0 | } | 3591 | 0 | } | 3592 | | | 3593 | 0 | auto nothsep_source_view = | 3594 | 0 | std::basic_string_view<CharT>{nothsep_source}; | 3595 | 0 | SCN_TRY( | 3596 | 0 | nothsep_source_it, | 3597 | 0 | parse_integer_value(nothsep_source_view, value, prefix_result.sign, | 3598 | 0 | prefix_result.parsed_base)); | 3599 | |
| 3600 | 0 | return ranges::next( | 3601 | 0 | prefix_result.iterator, | 3602 | 0 | ranges::distance(nothsep_source_view.begin(), nothsep_source_it) + | 3603 | 0 | ranges::ssize(thsep_indices)); | 3604 | 0 | } |
_ZN3scn2v34impl19reader_impl_for_intIcE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEaEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERT0_NSL_10locale_refE Line | Count | Source | 3527 | 22 | { | 3528 | 22 | SCN_TRY(prefix_result, parse_integer_prefix(range, specs.get_base()) | 3529 | 22 | .transform_error(make_eof_scan_error)); | 3530 | | | 3531 | 22 | if (prefix_result.sign == sign_type::minus_sign) { | 3532 | | if constexpr (!std::is_signed_v<T>) { | 3533 | | return unexpected_scan_error( | 3534 | | scan_error::invalid_scanned_value, | 3535 | | "Unexpected '-' sign when parsing an " | 3536 | | "unsigned value"); | 3537 | | } | 3538 | 0 | else { | 3539 | 0 | if (specs.type == | 3540 | 0 | detail::presentation_type::int_unsigned_decimal) { | 3541 | 0 | return unexpected_scan_error( | 3542 | 0 | scan_error::invalid_scanned_value, | 3543 | 0 | "'u'-option disallows negative values"); | 3544 | 0 | } | 3545 | 0 | } | 3546 | 0 | } | 3547 | | | 3548 | 22 | if (prefix_result.is_zero) { | 3549 | 0 | value = T{0}; | 3550 | 0 | return std::next(prefix_result.iterator); | 3551 | 0 | } | 3552 | | | 3553 | 22 | if (SCN_LIKELY(!specs.localized)) { | 3554 | 22 | SCN_TRY(after_digits_it, | 3555 | 22 | parse_integer_digits_without_thsep( | 3556 | 22 | ranges::subrange{prefix_result.iterator, range.end()}, | 3557 | 22 | prefix_result.parsed_base)); | 3558 | | | 3559 | 22 | auto buf = make_contiguous_buffer( | 3560 | 22 | ranges::subrange{prefix_result.iterator, after_digits_it}); | 3561 | 22 | SCN_TRY(result_it, | 3562 | 0 | parse_integer_value(buf.view(), value, prefix_result.sign, | 3563 | 0 | prefix_result.parsed_base)); | 3564 | |
| 3565 | 0 | return ranges::next( | 3566 | 0 | prefix_result.iterator, | 3567 | 0 | ranges::distance(buf.view().begin(), result_it)); | 3568 | 22 | } | 3569 | | | 3570 | 0 | auto locale_options = | 3571 | | #if SCN_DISABLE_LOCALE | 3572 | | localized_number_formatting_options<CharT>{}; | 3573 | | #else | 3574 | 0 | localized_number_formatting_options<CharT>{loc}; | 3575 | 0 | #endif | 3576 | |
| 3577 | 0 | SCN_TRY(parse_digits_result, | 3578 | 0 | parse_integer_digits_with_thsep( | 3579 | 0 | ranges::subrange{prefix_result.iterator, range.end()}, | 3580 | 0 | prefix_result.parsed_base, locale_options)); | 3581 | 0 | const auto& [after_digits_it, nothsep_source, thsep_indices] = | 3582 | 0 | parse_digits_result; | 3583 | |
| 3584 | 0 | if (!thsep_indices.empty()) { | 3585 | 0 | if (auto e = check_thsep_grouping( | 3586 | 0 | ranges::subrange{prefix_result.iterator, after_digits_it}, | 3587 | 0 | thsep_indices, locale_options.grouping); | 3588 | 0 | SCN_UNLIKELY(!e)) { | 3589 | 0 | return unexpected(e); | 3590 | 0 | } | 3591 | 0 | } | 3592 | | | 3593 | 0 | auto nothsep_source_view = | 3594 | 0 | std::basic_string_view<CharT>{nothsep_source}; | 3595 | 0 | SCN_TRY( | 3596 | 0 | nothsep_source_it, | 3597 | 0 | parse_integer_value(nothsep_source_view, value, prefix_result.sign, | 3598 | 0 | prefix_result.parsed_base)); | 3599 | |
| 3600 | 0 | return ranges::next( | 3601 | 0 | prefix_result.iterator, | 3602 | 0 | ranges::distance(nothsep_source_view.begin(), nothsep_source_it) + | 3603 | 0 | ranges::ssize(thsep_indices)); | 3604 | 0 | } |
Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEsEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERT0_NSA_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIcE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEsEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEsEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERT0_NSN_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIcE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEsEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERT0_NSL_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEiEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERT0_NSA_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIcE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEiEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERT0_NS9_10locale_refE _ZN3scn2v34impl19reader_impl_for_intIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEiEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERT0_NSN_10locale_refE Line | Count | Source | 3527 | 266 | { | 3528 | 266 | SCN_TRY(prefix_result, parse_integer_prefix(range, specs.get_base()) | 3529 | 266 | .transform_error(make_eof_scan_error)); | 3530 | | | 3531 | 266 | if (prefix_result.sign == sign_type::minus_sign) { | 3532 | | if constexpr (!std::is_signed_v<T>) { | 3533 | | return unexpected_scan_error( | 3534 | | scan_error::invalid_scanned_value, | 3535 | | "Unexpected '-' sign when parsing an " | 3536 | | "unsigned value"); | 3537 | | } | 3538 | 0 | else { | 3539 | 0 | if (specs.type == | 3540 | 0 | detail::presentation_type::int_unsigned_decimal) { | 3541 | 0 | return unexpected_scan_error( | 3542 | 0 | scan_error::invalid_scanned_value, | 3543 | 0 | "'u'-option disallows negative values"); | 3544 | 0 | } | 3545 | 0 | } | 3546 | 0 | } | 3547 | | | 3548 | 266 | if (prefix_result.is_zero) { | 3549 | 0 | value = T{0}; | 3550 | 0 | return std::next(prefix_result.iterator); | 3551 | 0 | } | 3552 | | | 3553 | 266 | if (SCN_LIKELY(!specs.localized)) { | 3554 | 256 | SCN_TRY(after_digits_it, | 3555 | 0 | parse_integer_digits_without_thsep( | 3556 | 0 | ranges::subrange{prefix_result.iterator, range.end()}, | 3557 | 0 | prefix_result.parsed_base)); | 3558 | |
| 3559 | 0 | auto buf = make_contiguous_buffer( | 3560 | 0 | ranges::subrange{prefix_result.iterator, after_digits_it}); | 3561 | 0 | SCN_TRY(result_it, | 3562 | 0 | parse_integer_value(buf.view(), value, prefix_result.sign, | 3563 | 0 | prefix_result.parsed_base)); | 3564 | |
| 3565 | 0 | return ranges::next( | 3566 | 0 | prefix_result.iterator, | 3567 | 0 | ranges::distance(buf.view().begin(), result_it)); | 3568 | 0 | } | 3569 | | | 3570 | 10 | auto locale_options = | 3571 | | #if SCN_DISABLE_LOCALE | 3572 | | localized_number_formatting_options<CharT>{}; | 3573 | | #else | 3574 | 10 | localized_number_formatting_options<CharT>{loc}; | 3575 | 10 | #endif | 3576 | | | 3577 | 10 | SCN_TRY(parse_digits_result, | 3578 | 0 | parse_integer_digits_with_thsep( | 3579 | 0 | ranges::subrange{prefix_result.iterator, range.end()}, | 3580 | 0 | prefix_result.parsed_base, locale_options)); | 3581 | 0 | const auto& [after_digits_it, nothsep_source, thsep_indices] = | 3582 | 0 | parse_digits_result; | 3583 | |
| 3584 | 0 | if (!thsep_indices.empty()) { | 3585 | 0 | if (auto e = check_thsep_grouping( | 3586 | 0 | ranges::subrange{prefix_result.iterator, after_digits_it}, | 3587 | 0 | thsep_indices, locale_options.grouping); | 3588 | 0 | SCN_UNLIKELY(!e)) { | 3589 | 0 | return unexpected(e); | 3590 | 0 | } | 3591 | 0 | } | 3592 | | | 3593 | 0 | auto nothsep_source_view = | 3594 | 0 | std::basic_string_view<CharT>{nothsep_source}; | 3595 | 0 | SCN_TRY( | 3596 | 0 | nothsep_source_it, | 3597 | 0 | parse_integer_value(nothsep_source_view, value, prefix_result.sign, | 3598 | 0 | prefix_result.parsed_base)); | 3599 | |
| 3600 | 0 | return ranges::next( | 3601 | 0 | prefix_result.iterator, | 3602 | 0 | ranges::distance(nothsep_source_view.begin(), nothsep_source_it) + | 3603 | 0 | ranges::ssize(thsep_indices)); | 3604 | 0 | } |
_ZN3scn2v34impl19reader_impl_for_intIcE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEiEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERT0_NSL_10locale_refE Line | Count | Source | 3527 | 278 | { | 3528 | 278 | SCN_TRY(prefix_result, parse_integer_prefix(range, specs.get_base()) | 3529 | 278 | .transform_error(make_eof_scan_error)); | 3530 | | | 3531 | 278 | if (prefix_result.sign == sign_type::minus_sign) { | 3532 | | if constexpr (!std::is_signed_v<T>) { | 3533 | | return unexpected_scan_error( | 3534 | | scan_error::invalid_scanned_value, | 3535 | | "Unexpected '-' sign when parsing an " | 3536 | | "unsigned value"); | 3537 | | } | 3538 | 0 | else { | 3539 | 0 | if (specs.type == | 3540 | 0 | detail::presentation_type::int_unsigned_decimal) { | 3541 | 0 | return unexpected_scan_error( | 3542 | 0 | scan_error::invalid_scanned_value, | 3543 | 0 | "'u'-option disallows negative values"); | 3544 | 0 | } | 3545 | 0 | } | 3546 | 0 | } | 3547 | | | 3548 | 278 | if (prefix_result.is_zero) { | 3549 | 0 | value = T{0}; | 3550 | 0 | return std::next(prefix_result.iterator); | 3551 | 0 | } | 3552 | | | 3553 | 278 | if (SCN_LIKELY(!specs.localized)) { | 3554 | 262 | SCN_TRY(after_digits_it, | 3555 | 262 | parse_integer_digits_without_thsep( | 3556 | 262 | ranges::subrange{prefix_result.iterator, range.end()}, | 3557 | 262 | prefix_result.parsed_base)); | 3558 | | | 3559 | 262 | auto buf = make_contiguous_buffer( | 3560 | 262 | ranges::subrange{prefix_result.iterator, after_digits_it}); | 3561 | 262 | SCN_TRY(result_it, | 3562 | 0 | parse_integer_value(buf.view(), value, prefix_result.sign, | 3563 | 0 | prefix_result.parsed_base)); | 3564 | |
| 3565 | 0 | return ranges::next( | 3566 | 0 | prefix_result.iterator, | 3567 | 0 | ranges::distance(buf.view().begin(), result_it)); | 3568 | 262 | } | 3569 | | | 3570 | 16 | auto locale_options = | 3571 | | #if SCN_DISABLE_LOCALE | 3572 | | localized_number_formatting_options<CharT>{}; | 3573 | | #else | 3574 | 16 | localized_number_formatting_options<CharT>{loc}; | 3575 | 16 | #endif | 3576 | | | 3577 | 16 | SCN_TRY(parse_digits_result, | 3578 | 0 | parse_integer_digits_with_thsep( | 3579 | 0 | ranges::subrange{prefix_result.iterator, range.end()}, | 3580 | 0 | prefix_result.parsed_base, locale_options)); | 3581 | 0 | const auto& [after_digits_it, nothsep_source, thsep_indices] = | 3582 | 0 | parse_digits_result; | 3583 | |
| 3584 | 0 | if (!thsep_indices.empty()) { | 3585 | 0 | if (auto e = check_thsep_grouping( | 3586 | 0 | ranges::subrange{prefix_result.iterator, after_digits_it}, | 3587 | 0 | thsep_indices, locale_options.grouping); | 3588 | 0 | SCN_UNLIKELY(!e)) { | 3589 | 0 | return unexpected(e); | 3590 | 0 | } | 3591 | 0 | } | 3592 | | | 3593 | 0 | auto nothsep_source_view = | 3594 | 0 | std::basic_string_view<CharT>{nothsep_source}; | 3595 | 0 | SCN_TRY( | 3596 | 0 | nothsep_source_it, | 3597 | 0 | parse_integer_value(nothsep_source_view, value, prefix_result.sign, | 3598 | 0 | prefix_result.parsed_base)); | 3599 | |
| 3600 | 0 | return ranges::next( | 3601 | 0 | prefix_result.iterator, | 3602 | 0 | ranges::distance(nothsep_source_view.begin(), nothsep_source_it) + | 3603 | 0 | ranges::ssize(thsep_indices)); | 3604 | 0 | } |
Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEElEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERT0_NSA_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIcE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEElEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEElEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERT0_NSN_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIcE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKcSA_EElEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERT0_NSL_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEExEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERT0_NSA_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIcE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEExEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEExEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERT0_NSN_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIcE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKcSA_EExEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERT0_NSL_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEhEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERT0_NSA_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIcE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEhEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEhEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERT0_NSN_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIcE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEhEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERT0_NSL_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEtEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERT0_NSA_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIcE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEtEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEtEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERT0_NSN_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIcE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEtEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERT0_NSL_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEjEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERT0_NSA_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIcE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEjEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERT0_NS9_10locale_refE _ZN3scn2v34impl19reader_impl_for_intIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEjEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERT0_NSN_10locale_refE Line | Count | Source | 3527 | 266 | { | 3528 | 266 | SCN_TRY(prefix_result, parse_integer_prefix(range, specs.get_base()) | 3529 | 266 | .transform_error(make_eof_scan_error)); | 3530 | | | 3531 | 266 | if (prefix_result.sign == sign_type::minus_sign) { | 3532 | 0 | if constexpr (!std::is_signed_v<T>) { | 3533 | 0 | return unexpected_scan_error( | 3534 | 0 | scan_error::invalid_scanned_value, | 3535 | 0 | "Unexpected '-' sign when parsing an " | 3536 | 0 | "unsigned value"); | 3537 | | } | 3538 | | else { | 3539 | | if (specs.type == | 3540 | | detail::presentation_type::int_unsigned_decimal) { | 3541 | | return unexpected_scan_error( | 3542 | | scan_error::invalid_scanned_value, | 3543 | | "'u'-option disallows negative values"); | 3544 | | } | 3545 | | } | 3546 | 0 | } | 3547 | | | 3548 | 266 | if (prefix_result.is_zero) { | 3549 | 0 | value = T{0}; | 3550 | 0 | return std::next(prefix_result.iterator); | 3551 | 0 | } | 3552 | | | 3553 | 266 | if (SCN_LIKELY(!specs.localized)) { | 3554 | 256 | SCN_TRY(after_digits_it, | 3555 | 0 | parse_integer_digits_without_thsep( | 3556 | 0 | ranges::subrange{prefix_result.iterator, range.end()}, | 3557 | 0 | prefix_result.parsed_base)); | 3558 | |
| 3559 | 0 | auto buf = make_contiguous_buffer( | 3560 | 0 | ranges::subrange{prefix_result.iterator, after_digits_it}); | 3561 | 0 | SCN_TRY(result_it, | 3562 | 0 | parse_integer_value(buf.view(), value, prefix_result.sign, | 3563 | 0 | prefix_result.parsed_base)); | 3564 | |
| 3565 | 0 | return ranges::next( | 3566 | 0 | prefix_result.iterator, | 3567 | 0 | ranges::distance(buf.view().begin(), result_it)); | 3568 | 0 | } | 3569 | | | 3570 | 10 | auto locale_options = | 3571 | | #if SCN_DISABLE_LOCALE | 3572 | | localized_number_formatting_options<CharT>{}; | 3573 | | #else | 3574 | 10 | localized_number_formatting_options<CharT>{loc}; | 3575 | 10 | #endif | 3576 | | | 3577 | 10 | SCN_TRY(parse_digits_result, | 3578 | 0 | parse_integer_digits_with_thsep( | 3579 | 0 | ranges::subrange{prefix_result.iterator, range.end()}, | 3580 | 0 | prefix_result.parsed_base, locale_options)); | 3581 | 0 | const auto& [after_digits_it, nothsep_source, thsep_indices] = | 3582 | 0 | parse_digits_result; | 3583 | |
| 3584 | 0 | if (!thsep_indices.empty()) { | 3585 | 0 | if (auto e = check_thsep_grouping( | 3586 | 0 | ranges::subrange{prefix_result.iterator, after_digits_it}, | 3587 | 0 | thsep_indices, locale_options.grouping); | 3588 | 0 | SCN_UNLIKELY(!e)) { | 3589 | 0 | return unexpected(e); | 3590 | 0 | } | 3591 | 0 | } | 3592 | | | 3593 | 0 | auto nothsep_source_view = | 3594 | 0 | std::basic_string_view<CharT>{nothsep_source}; | 3595 | 0 | SCN_TRY( | 3596 | 0 | nothsep_source_it, | 3597 | 0 | parse_integer_value(nothsep_source_view, value, prefix_result.sign, | 3598 | 0 | prefix_result.parsed_base)); | 3599 | |
| 3600 | 0 | return ranges::next( | 3601 | 0 | prefix_result.iterator, | 3602 | 0 | ranges::distance(nothsep_source_view.begin(), nothsep_source_it) + | 3603 | 0 | ranges::ssize(thsep_indices)); | 3604 | 0 | } |
_ZN3scn2v34impl19reader_impl_for_intIcE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEjEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERT0_NSL_10locale_refE Line | Count | Source | 3527 | 278 | { | 3528 | 278 | SCN_TRY(prefix_result, parse_integer_prefix(range, specs.get_base()) | 3529 | 278 | .transform_error(make_eof_scan_error)); | 3530 | | | 3531 | 278 | if (prefix_result.sign == sign_type::minus_sign) { | 3532 | 0 | if constexpr (!std::is_signed_v<T>) { | 3533 | 0 | return unexpected_scan_error( | 3534 | 0 | scan_error::invalid_scanned_value, | 3535 | 0 | "Unexpected '-' sign when parsing an " | 3536 | 0 | "unsigned value"); | 3537 | | } | 3538 | | else { | 3539 | | if (specs.type == | 3540 | | detail::presentation_type::int_unsigned_decimal) { | 3541 | | return unexpected_scan_error( | 3542 | | scan_error::invalid_scanned_value, | 3543 | | "'u'-option disallows negative values"); | 3544 | | } | 3545 | | } | 3546 | 0 | } | 3547 | | | 3548 | 278 | if (prefix_result.is_zero) { | 3549 | 0 | value = T{0}; | 3550 | 0 | return std::next(prefix_result.iterator); | 3551 | 0 | } | 3552 | | | 3553 | 278 | if (SCN_LIKELY(!specs.localized)) { | 3554 | 262 | SCN_TRY(after_digits_it, | 3555 | 262 | parse_integer_digits_without_thsep( | 3556 | 262 | ranges::subrange{prefix_result.iterator, range.end()}, | 3557 | 262 | prefix_result.parsed_base)); | 3558 | | | 3559 | 262 | auto buf = make_contiguous_buffer( | 3560 | 262 | ranges::subrange{prefix_result.iterator, after_digits_it}); | 3561 | 262 | SCN_TRY(result_it, | 3562 | 0 | parse_integer_value(buf.view(), value, prefix_result.sign, | 3563 | 0 | prefix_result.parsed_base)); | 3564 | |
| 3565 | 0 | return ranges::next( | 3566 | 0 | prefix_result.iterator, | 3567 | 0 | ranges::distance(buf.view().begin(), result_it)); | 3568 | 262 | } | 3569 | | | 3570 | 16 | auto locale_options = | 3571 | | #if SCN_DISABLE_LOCALE | 3572 | | localized_number_formatting_options<CharT>{}; | 3573 | | #else | 3574 | 16 | localized_number_formatting_options<CharT>{loc}; | 3575 | 16 | #endif | 3576 | | | 3577 | 16 | SCN_TRY(parse_digits_result, | 3578 | 0 | parse_integer_digits_with_thsep( | 3579 | 0 | ranges::subrange{prefix_result.iterator, range.end()}, | 3580 | 0 | prefix_result.parsed_base, locale_options)); | 3581 | 0 | const auto& [after_digits_it, nothsep_source, thsep_indices] = | 3582 | 0 | parse_digits_result; | 3583 | |
| 3584 | 0 | if (!thsep_indices.empty()) { | 3585 | 0 | if (auto e = check_thsep_grouping( | 3586 | 0 | ranges::subrange{prefix_result.iterator, after_digits_it}, | 3587 | 0 | thsep_indices, locale_options.grouping); | 3588 | 0 | SCN_UNLIKELY(!e)) { | 3589 | 0 | return unexpected(e); | 3590 | 0 | } | 3591 | 0 | } | 3592 | | | 3593 | 0 | auto nothsep_source_view = | 3594 | 0 | std::basic_string_view<CharT>{nothsep_source}; | 3595 | 0 | SCN_TRY( | 3596 | 0 | nothsep_source_it, | 3597 | 0 | parse_integer_value(nothsep_source_view, value, prefix_result.sign, | 3598 | 0 | prefix_result.parsed_base)); | 3599 | |
| 3600 | 0 | return ranges::next( | 3601 | 0 | prefix_result.iterator, | 3602 | 0 | ranges::distance(nothsep_source_view.begin(), nothsep_source_it) + | 3603 | 0 | ranges::ssize(thsep_indices)); | 3604 | 0 | } |
Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEmEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERT0_NSA_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIcE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEmEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERT0_NS9_10locale_refE _ZN3scn2v34impl19reader_impl_for_intIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEmEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERT0_NSN_10locale_refE Line | Count | Source | 3527 | 234 | { | 3528 | 234 | SCN_TRY(prefix_result, parse_integer_prefix(range, specs.get_base()) | 3529 | 234 | .transform_error(make_eof_scan_error)); | 3530 | | | 3531 | 234 | if (prefix_result.sign == sign_type::minus_sign) { | 3532 | 0 | if constexpr (!std::is_signed_v<T>) { | 3533 | 0 | return unexpected_scan_error( | 3534 | 0 | scan_error::invalid_scanned_value, | 3535 | 0 | "Unexpected '-' sign when parsing an " | 3536 | 0 | "unsigned value"); | 3537 | | } | 3538 | | else { | 3539 | | if (specs.type == | 3540 | | detail::presentation_type::int_unsigned_decimal) { | 3541 | | return unexpected_scan_error( | 3542 | | scan_error::invalid_scanned_value, | 3543 | | "'u'-option disallows negative values"); | 3544 | | } | 3545 | | } | 3546 | 0 | } | 3547 | | | 3548 | 234 | if (prefix_result.is_zero) { | 3549 | 0 | value = T{0}; | 3550 | 0 | return std::next(prefix_result.iterator); | 3551 | 0 | } | 3552 | | | 3553 | 234 | if (SCN_LIKELY(!specs.localized)) { | 3554 | 234 | SCN_TRY(after_digits_it, | 3555 | 0 | parse_integer_digits_without_thsep( | 3556 | 0 | ranges::subrange{prefix_result.iterator, range.end()}, | 3557 | 0 | prefix_result.parsed_base)); | 3558 | |
| 3559 | 0 | auto buf = make_contiguous_buffer( | 3560 | 0 | ranges::subrange{prefix_result.iterator, after_digits_it}); | 3561 | 0 | SCN_TRY(result_it, | 3562 | 0 | parse_integer_value(buf.view(), value, prefix_result.sign, | 3563 | 0 | prefix_result.parsed_base)); | 3564 | |
| 3565 | 0 | return ranges::next( | 3566 | 0 | prefix_result.iterator, | 3567 | 0 | ranges::distance(buf.view().begin(), result_it)); | 3568 | 0 | } | 3569 | | | 3570 | 0 | auto locale_options = | 3571 | | #if SCN_DISABLE_LOCALE | 3572 | | localized_number_formatting_options<CharT>{}; | 3573 | | #else | 3574 | 0 | localized_number_formatting_options<CharT>{loc}; | 3575 | 0 | #endif | 3576 | |
| 3577 | 0 | SCN_TRY(parse_digits_result, | 3578 | 0 | parse_integer_digits_with_thsep( | 3579 | 0 | ranges::subrange{prefix_result.iterator, range.end()}, | 3580 | 0 | prefix_result.parsed_base, locale_options)); | 3581 | 0 | const auto& [after_digits_it, nothsep_source, thsep_indices] = | 3582 | 0 | parse_digits_result; | 3583 | |
| 3584 | 0 | if (!thsep_indices.empty()) { | 3585 | 0 | if (auto e = check_thsep_grouping( | 3586 | 0 | ranges::subrange{prefix_result.iterator, after_digits_it}, | 3587 | 0 | thsep_indices, locale_options.grouping); | 3588 | 0 | SCN_UNLIKELY(!e)) { | 3589 | 0 | return unexpected(e); | 3590 | 0 | } | 3591 | 0 | } | 3592 | | | 3593 | 0 | auto nothsep_source_view = | 3594 | 0 | std::basic_string_view<CharT>{nothsep_source}; | 3595 | 0 | SCN_TRY( | 3596 | 0 | nothsep_source_it, | 3597 | 0 | parse_integer_value(nothsep_source_view, value, prefix_result.sign, | 3598 | 0 | prefix_result.parsed_base)); | 3599 | |
| 3600 | 0 | return ranges::next( | 3601 | 0 | prefix_result.iterator, | 3602 | 0 | ranges::distance(nothsep_source_view.begin(), nothsep_source_it) + | 3603 | 0 | ranges::ssize(thsep_indices)); | 3604 | 0 | } |
_ZN3scn2v34impl19reader_impl_for_intIcE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEmEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERT0_NSL_10locale_refE Line | Count | Source | 3527 | 880 | { | 3528 | 880 | SCN_TRY(prefix_result, parse_integer_prefix(range, specs.get_base()) | 3529 | 880 | .transform_error(make_eof_scan_error)); | 3530 | | | 3531 | 880 | if (prefix_result.sign == sign_type::minus_sign) { | 3532 | 0 | if constexpr (!std::is_signed_v<T>) { | 3533 | 0 | return unexpected_scan_error( | 3534 | 0 | scan_error::invalid_scanned_value, | 3535 | 0 | "Unexpected '-' sign when parsing an " | 3536 | 0 | "unsigned value"); | 3537 | | } | 3538 | | else { | 3539 | | if (specs.type == | 3540 | | detail::presentation_type::int_unsigned_decimal) { | 3541 | | return unexpected_scan_error( | 3542 | | scan_error::invalid_scanned_value, | 3543 | | "'u'-option disallows negative values"); | 3544 | | } | 3545 | | } | 3546 | 0 | } | 3547 | | | 3548 | 880 | if (prefix_result.is_zero) { | 3549 | 0 | value = T{0}; | 3550 | 0 | return std::next(prefix_result.iterator); | 3551 | 0 | } | 3552 | | | 3553 | 880 | if (SCN_LIKELY(!specs.localized)) { | 3554 | 880 | SCN_TRY(after_digits_it, | 3555 | 880 | parse_integer_digits_without_thsep( | 3556 | 880 | ranges::subrange{prefix_result.iterator, range.end()}, | 3557 | 880 | prefix_result.parsed_base)); | 3558 | | | 3559 | 880 | auto buf = make_contiguous_buffer( | 3560 | 880 | ranges::subrange{prefix_result.iterator, after_digits_it}); | 3561 | 880 | SCN_TRY(result_it, | 3562 | 0 | parse_integer_value(buf.view(), value, prefix_result.sign, | 3563 | 0 | prefix_result.parsed_base)); | 3564 | |
| 3565 | 0 | return ranges::next( | 3566 | 0 | prefix_result.iterator, | 3567 | 0 | ranges::distance(buf.view().begin(), result_it)); | 3568 | 880 | } | 3569 | | | 3570 | 0 | auto locale_options = | 3571 | | #if SCN_DISABLE_LOCALE | 3572 | | localized_number_formatting_options<CharT>{}; | 3573 | | #else | 3574 | 0 | localized_number_formatting_options<CharT>{loc}; | 3575 | 0 | #endif | 3576 | |
| 3577 | 0 | SCN_TRY(parse_digits_result, | 3578 | 0 | parse_integer_digits_with_thsep( | 3579 | 0 | ranges::subrange{prefix_result.iterator, range.end()}, | 3580 | 0 | prefix_result.parsed_base, locale_options)); | 3581 | 0 | const auto& [after_digits_it, nothsep_source, thsep_indices] = | 3582 | 0 | parse_digits_result; | 3583 | |
| 3584 | 0 | if (!thsep_indices.empty()) { | 3585 | 0 | if (auto e = check_thsep_grouping( | 3586 | 0 | ranges::subrange{prefix_result.iterator, after_digits_it}, | 3587 | 0 | thsep_indices, locale_options.grouping); | 3588 | 0 | SCN_UNLIKELY(!e)) { | 3589 | 0 | return unexpected(e); | 3590 | 0 | } | 3591 | 0 | } | 3592 | | | 3593 | 0 | auto nothsep_source_view = | 3594 | 0 | std::basic_string_view<CharT>{nothsep_source}; | 3595 | 0 | SCN_TRY( | 3596 | 0 | nothsep_source_it, | 3597 | 0 | parse_integer_value(nothsep_source_view, value, prefix_result.sign, | 3598 | 0 | prefix_result.parsed_base)); | 3599 | |
| 3600 | 0 | return ranges::next( | 3601 | 0 | prefix_result.iterator, | 3602 | 0 | ranges::distance(nothsep_source_view.begin(), nothsep_source_it) + | 3603 | 0 | ranges::ssize(thsep_indices)); | 3604 | 0 | } |
Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEyEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERT0_NSA_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIcE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEyEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEyEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERT0_NSN_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIcE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEyEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERT0_NSL_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEiEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERT0_NSA_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIwE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEiEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERT0_NS9_10locale_refE _ZN3scn2v34impl19reader_impl_for_intIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEiEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERT0_NSN_10locale_refE Line | Count | Source | 3527 | 146 | { | 3528 | 146 | SCN_TRY(prefix_result, parse_integer_prefix(range, specs.get_base()) | 3529 | 146 | .transform_error(make_eof_scan_error)); | 3530 | | | 3531 | 146 | if (prefix_result.sign == sign_type::minus_sign) { | 3532 | | if constexpr (!std::is_signed_v<T>) { | 3533 | | return unexpected_scan_error( | 3534 | | scan_error::invalid_scanned_value, | 3535 | | "Unexpected '-' sign when parsing an " | 3536 | | "unsigned value"); | 3537 | | } | 3538 | 0 | else { | 3539 | 0 | if (specs.type == | 3540 | 0 | detail::presentation_type::int_unsigned_decimal) { | 3541 | 0 | return unexpected_scan_error( | 3542 | 0 | scan_error::invalid_scanned_value, | 3543 | 0 | "'u'-option disallows negative values"); | 3544 | 0 | } | 3545 | 0 | } | 3546 | 0 | } | 3547 | | | 3548 | 146 | if (prefix_result.is_zero) { | 3549 | 0 | value = T{0}; | 3550 | 0 | return std::next(prefix_result.iterator); | 3551 | 0 | } | 3552 | | | 3553 | 146 | if (SCN_LIKELY(!specs.localized)) { | 3554 | 128 | SCN_TRY(after_digits_it, | 3555 | 0 | parse_integer_digits_without_thsep( | 3556 | 0 | ranges::subrange{prefix_result.iterator, range.end()}, | 3557 | 0 | prefix_result.parsed_base)); | 3558 | |
| 3559 | 0 | auto buf = make_contiguous_buffer( | 3560 | 0 | ranges::subrange{prefix_result.iterator, after_digits_it}); | 3561 | 0 | SCN_TRY(result_it, | 3562 | 0 | parse_integer_value(buf.view(), value, prefix_result.sign, | 3563 | 0 | prefix_result.parsed_base)); | 3564 | |
| 3565 | 0 | return ranges::next( | 3566 | 0 | prefix_result.iterator, | 3567 | 0 | ranges::distance(buf.view().begin(), result_it)); | 3568 | 0 | } | 3569 | | | 3570 | 18 | auto locale_options = | 3571 | | #if SCN_DISABLE_LOCALE | 3572 | | localized_number_formatting_options<CharT>{}; | 3573 | | #else | 3574 | 18 | localized_number_formatting_options<CharT>{loc}; | 3575 | 18 | #endif | 3576 | | | 3577 | 18 | SCN_TRY(parse_digits_result, | 3578 | 0 | parse_integer_digits_with_thsep( | 3579 | 0 | ranges::subrange{prefix_result.iterator, range.end()}, | 3580 | 0 | prefix_result.parsed_base, locale_options)); | 3581 | 0 | const auto& [after_digits_it, nothsep_source, thsep_indices] = | 3582 | 0 | parse_digits_result; | 3583 | |
| 3584 | 0 | if (!thsep_indices.empty()) { | 3585 | 0 | if (auto e = check_thsep_grouping( | 3586 | 0 | ranges::subrange{prefix_result.iterator, after_digits_it}, | 3587 | 0 | thsep_indices, locale_options.grouping); | 3588 | 0 | SCN_UNLIKELY(!e)) { | 3589 | 0 | return unexpected(e); | 3590 | 0 | } | 3591 | 0 | } | 3592 | | | 3593 | 0 | auto nothsep_source_view = | 3594 | 0 | std::basic_string_view<CharT>{nothsep_source}; | 3595 | 0 | SCN_TRY( | 3596 | 0 | nothsep_source_it, | 3597 | 0 | parse_integer_value(nothsep_source_view, value, prefix_result.sign, | 3598 | 0 | prefix_result.parsed_base)); | 3599 | |
| 3600 | 0 | return ranges::next( | 3601 | 0 | prefix_result.iterator, | 3602 | 0 | ranges::distance(nothsep_source_view.begin(), nothsep_source_it) + | 3603 | 0 | ranges::ssize(thsep_indices)); | 3604 | 0 | } |
_ZN3scn2v34impl19reader_impl_for_intIwE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEiEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERT0_NSL_10locale_refE Line | Count | Source | 3527 | 354 | { | 3528 | 354 | SCN_TRY(prefix_result, parse_integer_prefix(range, specs.get_base()) | 3529 | 354 | .transform_error(make_eof_scan_error)); | 3530 | | | 3531 | 354 | if (prefix_result.sign == sign_type::minus_sign) { | 3532 | | if constexpr (!std::is_signed_v<T>) { | 3533 | | return unexpected_scan_error( | 3534 | | scan_error::invalid_scanned_value, | 3535 | | "Unexpected '-' sign when parsing an " | 3536 | | "unsigned value"); | 3537 | | } | 3538 | 0 | else { | 3539 | 0 | if (specs.type == | 3540 | 0 | detail::presentation_type::int_unsigned_decimal) { | 3541 | 0 | return unexpected_scan_error( | 3542 | 0 | scan_error::invalid_scanned_value, | 3543 | 0 | "'u'-option disallows negative values"); | 3544 | 0 | } | 3545 | 0 | } | 3546 | 0 | } | 3547 | | | 3548 | 354 | if (prefix_result.is_zero) { | 3549 | 0 | value = T{0}; | 3550 | 0 | return std::next(prefix_result.iterator); | 3551 | 0 | } | 3552 | | | 3553 | 354 | if (SCN_LIKELY(!specs.localized)) { | 3554 | 338 | SCN_TRY(after_digits_it, | 3555 | 338 | parse_integer_digits_without_thsep( | 3556 | 338 | ranges::subrange{prefix_result.iterator, range.end()}, | 3557 | 338 | prefix_result.parsed_base)); | 3558 | | | 3559 | 338 | auto buf = make_contiguous_buffer( | 3560 | 338 | ranges::subrange{prefix_result.iterator, after_digits_it}); | 3561 | 338 | SCN_TRY(result_it, | 3562 | 0 | parse_integer_value(buf.view(), value, prefix_result.sign, | 3563 | 0 | prefix_result.parsed_base)); | 3564 | |
| 3565 | 0 | return ranges::next( | 3566 | 0 | prefix_result.iterator, | 3567 | 0 | ranges::distance(buf.view().begin(), result_it)); | 3568 | 338 | } | 3569 | | | 3570 | 16 | auto locale_options = | 3571 | | #if SCN_DISABLE_LOCALE | 3572 | | localized_number_formatting_options<CharT>{}; | 3573 | | #else | 3574 | 16 | localized_number_formatting_options<CharT>{loc}; | 3575 | 16 | #endif | 3576 | | | 3577 | 16 | SCN_TRY(parse_digits_result, | 3578 | 0 | parse_integer_digits_with_thsep( | 3579 | 0 | ranges::subrange{prefix_result.iterator, range.end()}, | 3580 | 0 | prefix_result.parsed_base, locale_options)); | 3581 | 0 | const auto& [after_digits_it, nothsep_source, thsep_indices] = | 3582 | 0 | parse_digits_result; | 3583 | |
| 3584 | 0 | if (!thsep_indices.empty()) { | 3585 | 0 | if (auto e = check_thsep_grouping( | 3586 | 0 | ranges::subrange{prefix_result.iterator, after_digits_it}, | 3587 | 0 | thsep_indices, locale_options.grouping); | 3588 | 0 | SCN_UNLIKELY(!e)) { | 3589 | 0 | return unexpected(e); | 3590 | 0 | } | 3591 | 0 | } | 3592 | | | 3593 | 0 | auto nothsep_source_view = | 3594 | 0 | std::basic_string_view<CharT>{nothsep_source}; | 3595 | 0 | SCN_TRY( | 3596 | 0 | nothsep_source_it, | 3597 | 0 | parse_integer_value(nothsep_source_view, value, prefix_result.sign, | 3598 | 0 | prefix_result.parsed_base)); | 3599 | |
| 3600 | 0 | return ranges::next( | 3601 | 0 | prefix_result.iterator, | 3602 | 0 | ranges::distance(nothsep_source_view.begin(), nothsep_source_it) + | 3603 | 0 | ranges::ssize(thsep_indices)); | 3604 | 0 | } |
Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEaEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERT0_NSA_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIwE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEaEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEaEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERT0_NSN_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIwE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEaEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERT0_NSL_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEsEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERT0_NSA_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIwE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEsEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEsEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERT0_NSN_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIwE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEsEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERT0_NSL_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEElEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERT0_NSA_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIwE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEElEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEElEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERT0_NSN_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIwE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKwSA_EElEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERT0_NSL_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEExEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERT0_NSA_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIwE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEExEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEExEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERT0_NSN_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIwE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKwSA_EExEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERT0_NSL_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEhEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERT0_NSA_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIwE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEhEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEhEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERT0_NSN_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIwE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEhEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERT0_NSL_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEtEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERT0_NSA_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIwE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEtEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEtEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERT0_NSN_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIwE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEtEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERT0_NSL_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEjEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERT0_NSA_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIwE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEjEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERT0_NS9_10locale_refE _ZN3scn2v34impl19reader_impl_for_intIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEjEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERT0_NSN_10locale_refE Line | Count | Source | 3527 | 126 | { | 3528 | 126 | SCN_TRY(prefix_result, parse_integer_prefix(range, specs.get_base()) | 3529 | 126 | .transform_error(make_eof_scan_error)); | 3530 | | | 3531 | 126 | if (prefix_result.sign == sign_type::minus_sign) { | 3532 | 0 | if constexpr (!std::is_signed_v<T>) { | 3533 | 0 | return unexpected_scan_error( | 3534 | 0 | scan_error::invalid_scanned_value, | 3535 | 0 | "Unexpected '-' sign when parsing an " | 3536 | 0 | "unsigned value"); | 3537 | | } | 3538 | | else { | 3539 | | if (specs.type == | 3540 | | detail::presentation_type::int_unsigned_decimal) { | 3541 | | return unexpected_scan_error( | 3542 | | scan_error::invalid_scanned_value, | 3543 | | "'u'-option disallows negative values"); | 3544 | | } | 3545 | | } | 3546 | 0 | } | 3547 | | | 3548 | 126 | if (prefix_result.is_zero) { | 3549 | 0 | value = T{0}; | 3550 | 0 | return std::next(prefix_result.iterator); | 3551 | 0 | } | 3552 | | | 3553 | 126 | if (SCN_LIKELY(!specs.localized)) { | 3554 | 108 | SCN_TRY(after_digits_it, | 3555 | 0 | parse_integer_digits_without_thsep( | 3556 | 0 | ranges::subrange{prefix_result.iterator, range.end()}, | 3557 | 0 | prefix_result.parsed_base)); | 3558 | |
| 3559 | 0 | auto buf = make_contiguous_buffer( | 3560 | 0 | ranges::subrange{prefix_result.iterator, after_digits_it}); | 3561 | 0 | SCN_TRY(result_it, | 3562 | 0 | parse_integer_value(buf.view(), value, prefix_result.sign, | 3563 | 0 | prefix_result.parsed_base)); | 3564 | |
| 3565 | 0 | return ranges::next( | 3566 | 0 | prefix_result.iterator, | 3567 | 0 | ranges::distance(buf.view().begin(), result_it)); | 3568 | 0 | } | 3569 | | | 3570 | 18 | auto locale_options = | 3571 | | #if SCN_DISABLE_LOCALE | 3572 | | localized_number_formatting_options<CharT>{}; | 3573 | | #else | 3574 | 18 | localized_number_formatting_options<CharT>{loc}; | 3575 | 18 | #endif | 3576 | | | 3577 | 18 | SCN_TRY(parse_digits_result, | 3578 | 0 | parse_integer_digits_with_thsep( | 3579 | 0 | ranges::subrange{prefix_result.iterator, range.end()}, | 3580 | 0 | prefix_result.parsed_base, locale_options)); | 3581 | 0 | const auto& [after_digits_it, nothsep_source, thsep_indices] = | 3582 | 0 | parse_digits_result; | 3583 | |
| 3584 | 0 | if (!thsep_indices.empty()) { | 3585 | 0 | if (auto e = check_thsep_grouping( | 3586 | 0 | ranges::subrange{prefix_result.iterator, after_digits_it}, | 3587 | 0 | thsep_indices, locale_options.grouping); | 3588 | 0 | SCN_UNLIKELY(!e)) { | 3589 | 0 | return unexpected(e); | 3590 | 0 | } | 3591 | 0 | } | 3592 | | | 3593 | 0 | auto nothsep_source_view = | 3594 | 0 | std::basic_string_view<CharT>{nothsep_source}; | 3595 | 0 | SCN_TRY( | 3596 | 0 | nothsep_source_it, | 3597 | 0 | parse_integer_value(nothsep_source_view, value, prefix_result.sign, | 3598 | 0 | prefix_result.parsed_base)); | 3599 | |
| 3600 | 0 | return ranges::next( | 3601 | 0 | prefix_result.iterator, | 3602 | 0 | ranges::distance(nothsep_source_view.begin(), nothsep_source_it) + | 3603 | 0 | ranges::ssize(thsep_indices)); | 3604 | 0 | } |
_ZN3scn2v34impl19reader_impl_for_intIwE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEjEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERT0_NSL_10locale_refE Line | Count | Source | 3527 | 334 | { | 3528 | 334 | SCN_TRY(prefix_result, parse_integer_prefix(range, specs.get_base()) | 3529 | 334 | .transform_error(make_eof_scan_error)); | 3530 | | | 3531 | 334 | if (prefix_result.sign == sign_type::minus_sign) { | 3532 | 0 | if constexpr (!std::is_signed_v<T>) { | 3533 | 0 | return unexpected_scan_error( | 3534 | 0 | scan_error::invalid_scanned_value, | 3535 | 0 | "Unexpected '-' sign when parsing an " | 3536 | 0 | "unsigned value"); | 3537 | | } | 3538 | | else { | 3539 | | if (specs.type == | 3540 | | detail::presentation_type::int_unsigned_decimal) { | 3541 | | return unexpected_scan_error( | 3542 | | scan_error::invalid_scanned_value, | 3543 | | "'u'-option disallows negative values"); | 3544 | | } | 3545 | | } | 3546 | 0 | } | 3547 | | | 3548 | 334 | if (prefix_result.is_zero) { | 3549 | 0 | value = T{0}; | 3550 | 0 | return std::next(prefix_result.iterator); | 3551 | 0 | } | 3552 | | | 3553 | 334 | if (SCN_LIKELY(!specs.localized)) { | 3554 | 318 | SCN_TRY(after_digits_it, | 3555 | 318 | parse_integer_digits_without_thsep( | 3556 | 318 | ranges::subrange{prefix_result.iterator, range.end()}, | 3557 | 318 | prefix_result.parsed_base)); | 3558 | | | 3559 | 318 | auto buf = make_contiguous_buffer( | 3560 | 318 | ranges::subrange{prefix_result.iterator, after_digits_it}); | 3561 | 318 | SCN_TRY(result_it, | 3562 | 0 | parse_integer_value(buf.view(), value, prefix_result.sign, | 3563 | 0 | prefix_result.parsed_base)); | 3564 | |
| 3565 | 0 | return ranges::next( | 3566 | 0 | prefix_result.iterator, | 3567 | 0 | ranges::distance(buf.view().begin(), result_it)); | 3568 | 318 | } | 3569 | | | 3570 | 16 | auto locale_options = | 3571 | | #if SCN_DISABLE_LOCALE | 3572 | | localized_number_formatting_options<CharT>{}; | 3573 | | #else | 3574 | 16 | localized_number_formatting_options<CharT>{loc}; | 3575 | 16 | #endif | 3576 | | | 3577 | 16 | SCN_TRY(parse_digits_result, | 3578 | 0 | parse_integer_digits_with_thsep( | 3579 | 0 | ranges::subrange{prefix_result.iterator, range.end()}, | 3580 | 0 | prefix_result.parsed_base, locale_options)); | 3581 | 0 | const auto& [after_digits_it, nothsep_source, thsep_indices] = | 3582 | 0 | parse_digits_result; | 3583 | |
| 3584 | 0 | if (!thsep_indices.empty()) { | 3585 | 0 | if (auto e = check_thsep_grouping( | 3586 | 0 | ranges::subrange{prefix_result.iterator, after_digits_it}, | 3587 | 0 | thsep_indices, locale_options.grouping); | 3588 | 0 | SCN_UNLIKELY(!e)) { | 3589 | 0 | return unexpected(e); | 3590 | 0 | } | 3591 | 0 | } | 3592 | | | 3593 | 0 | auto nothsep_source_view = | 3594 | 0 | std::basic_string_view<CharT>{nothsep_source}; | 3595 | 0 | SCN_TRY( | 3596 | 0 | nothsep_source_it, | 3597 | 0 | parse_integer_value(nothsep_source_view, value, prefix_result.sign, | 3598 | 0 | prefix_result.parsed_base)); | 3599 | |
| 3600 | 0 | return ranges::next( | 3601 | 0 | prefix_result.iterator, | 3602 | 0 | ranges::distance(nothsep_source_view.begin(), nothsep_source_it) + | 3603 | 0 | ranges::ssize(thsep_indices)); | 3604 | 0 | } |
Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEmEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERT0_NSA_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIwE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEmEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERT0_NS9_10locale_refE _ZN3scn2v34impl19reader_impl_for_intIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEmEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERT0_NSN_10locale_refE Line | Count | Source | 3527 | 90 | { | 3528 | 90 | SCN_TRY(prefix_result, parse_integer_prefix(range, specs.get_base()) | 3529 | 90 | .transform_error(make_eof_scan_error)); | 3530 | | | 3531 | 90 | if (prefix_result.sign == sign_type::minus_sign) { | 3532 | 0 | if constexpr (!std::is_signed_v<T>) { | 3533 | 0 | return unexpected_scan_error( | 3534 | 0 | scan_error::invalid_scanned_value, | 3535 | 0 | "Unexpected '-' sign when parsing an " | 3536 | 0 | "unsigned value"); | 3537 | | } | 3538 | | else { | 3539 | | if (specs.type == | 3540 | | detail::presentation_type::int_unsigned_decimal) { | 3541 | | return unexpected_scan_error( | 3542 | | scan_error::invalid_scanned_value, | 3543 | | "'u'-option disallows negative values"); | 3544 | | } | 3545 | | } | 3546 | 0 | } | 3547 | | | 3548 | 90 | if (prefix_result.is_zero) { | 3549 | 0 | value = T{0}; | 3550 | 0 | return std::next(prefix_result.iterator); | 3551 | 0 | } | 3552 | | | 3553 | 90 | if (SCN_LIKELY(!specs.localized)) { | 3554 | 90 | SCN_TRY(after_digits_it, | 3555 | 0 | parse_integer_digits_without_thsep( | 3556 | 0 | ranges::subrange{prefix_result.iterator, range.end()}, | 3557 | 0 | prefix_result.parsed_base)); | 3558 | |
| 3559 | 0 | auto buf = make_contiguous_buffer( | 3560 | 0 | ranges::subrange{prefix_result.iterator, after_digits_it}); | 3561 | 0 | SCN_TRY(result_it, | 3562 | 0 | parse_integer_value(buf.view(), value, prefix_result.sign, | 3563 | 0 | prefix_result.parsed_base)); | 3564 | |
| 3565 | 0 | return ranges::next( | 3566 | 0 | prefix_result.iterator, | 3567 | 0 | ranges::distance(buf.view().begin(), result_it)); | 3568 | 0 | } | 3569 | | | 3570 | 0 | auto locale_options = | 3571 | | #if SCN_DISABLE_LOCALE | 3572 | | localized_number_formatting_options<CharT>{}; | 3573 | | #else | 3574 | 0 | localized_number_formatting_options<CharT>{loc}; | 3575 | 0 | #endif | 3576 | |
| 3577 | 0 | SCN_TRY(parse_digits_result, | 3578 | 0 | parse_integer_digits_with_thsep( | 3579 | 0 | ranges::subrange{prefix_result.iterator, range.end()}, | 3580 | 0 | prefix_result.parsed_base, locale_options)); | 3581 | 0 | const auto& [after_digits_it, nothsep_source, thsep_indices] = | 3582 | 0 | parse_digits_result; | 3583 | |
| 3584 | 0 | if (!thsep_indices.empty()) { | 3585 | 0 | if (auto e = check_thsep_grouping( | 3586 | 0 | ranges::subrange{prefix_result.iterator, after_digits_it}, | 3587 | 0 | thsep_indices, locale_options.grouping); | 3588 | 0 | SCN_UNLIKELY(!e)) { | 3589 | 0 | return unexpected(e); | 3590 | 0 | } | 3591 | 0 | } | 3592 | | | 3593 | 0 | auto nothsep_source_view = | 3594 | 0 | std::basic_string_view<CharT>{nothsep_source}; | 3595 | 0 | SCN_TRY( | 3596 | 0 | nothsep_source_it, | 3597 | 0 | parse_integer_value(nothsep_source_view, value, prefix_result.sign, | 3598 | 0 | prefix_result.parsed_base)); | 3599 | |
| 3600 | 0 | return ranges::next( | 3601 | 0 | prefix_result.iterator, | 3602 | 0 | ranges::distance(nothsep_source_view.begin(), nothsep_source_it) + | 3603 | 0 | ranges::ssize(thsep_indices)); | 3604 | 0 | } |
_ZN3scn2v34impl19reader_impl_for_intIwE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEmEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERT0_NSL_10locale_refE Line | Count | Source | 3527 | 776 | { | 3528 | 776 | SCN_TRY(prefix_result, parse_integer_prefix(range, specs.get_base()) | 3529 | 776 | .transform_error(make_eof_scan_error)); | 3530 | | | 3531 | 776 | if (prefix_result.sign == sign_type::minus_sign) { | 3532 | 0 | if constexpr (!std::is_signed_v<T>) { | 3533 | 0 | return unexpected_scan_error( | 3534 | 0 | scan_error::invalid_scanned_value, | 3535 | 0 | "Unexpected '-' sign when parsing an " | 3536 | 0 | "unsigned value"); | 3537 | | } | 3538 | | else { | 3539 | | if (specs.type == | 3540 | | detail::presentation_type::int_unsigned_decimal) { | 3541 | | return unexpected_scan_error( | 3542 | | scan_error::invalid_scanned_value, | 3543 | | "'u'-option disallows negative values"); | 3544 | | } | 3545 | | } | 3546 | 0 | } | 3547 | | | 3548 | 776 | if (prefix_result.is_zero) { | 3549 | 0 | value = T{0}; | 3550 | 0 | return std::next(prefix_result.iterator); | 3551 | 0 | } | 3552 | | | 3553 | 776 | if (SCN_LIKELY(!specs.localized)) { | 3554 | 776 | SCN_TRY(after_digits_it, | 3555 | 776 | parse_integer_digits_without_thsep( | 3556 | 776 | ranges::subrange{prefix_result.iterator, range.end()}, | 3557 | 776 | prefix_result.parsed_base)); | 3558 | | | 3559 | 776 | auto buf = make_contiguous_buffer( | 3560 | 776 | ranges::subrange{prefix_result.iterator, after_digits_it}); | 3561 | 776 | SCN_TRY(result_it, | 3562 | 0 | parse_integer_value(buf.view(), value, prefix_result.sign, | 3563 | 0 | prefix_result.parsed_base)); | 3564 | |
| 3565 | 0 | return ranges::next( | 3566 | 0 | prefix_result.iterator, | 3567 | 0 | ranges::distance(buf.view().begin(), result_it)); | 3568 | 776 | } | 3569 | | | 3570 | 0 | auto locale_options = | 3571 | | #if SCN_DISABLE_LOCALE | 3572 | | localized_number_formatting_options<CharT>{}; | 3573 | | #else | 3574 | 0 | localized_number_formatting_options<CharT>{loc}; | 3575 | 0 | #endif | 3576 | |
| 3577 | 0 | SCN_TRY(parse_digits_result, | 3578 | 0 | parse_integer_digits_with_thsep( | 3579 | 0 | ranges::subrange{prefix_result.iterator, range.end()}, | 3580 | 0 | prefix_result.parsed_base, locale_options)); | 3581 | 0 | const auto& [after_digits_it, nothsep_source, thsep_indices] = | 3582 | 0 | parse_digits_result; | 3583 | |
| 3584 | 0 | if (!thsep_indices.empty()) { | 3585 | 0 | if (auto e = check_thsep_grouping( | 3586 | 0 | ranges::subrange{prefix_result.iterator, after_digits_it}, | 3587 | 0 | thsep_indices, locale_options.grouping); | 3588 | 0 | SCN_UNLIKELY(!e)) { | 3589 | 0 | return unexpected(e); | 3590 | 0 | } | 3591 | 0 | } | 3592 | | | 3593 | 0 | auto nothsep_source_view = | 3594 | 0 | std::basic_string_view<CharT>{nothsep_source}; | 3595 | 0 | SCN_TRY( | 3596 | 0 | nothsep_source_it, | 3597 | 0 | parse_integer_value(nothsep_source_view, value, prefix_result.sign, | 3598 | 0 | prefix_result.parsed_base)); | 3599 | |
| 3600 | 0 | return ranges::next( | 3601 | 0 | prefix_result.iterator, | 3602 | 0 | ranges::distance(nothsep_source_view.begin(), nothsep_source_it) + | 3603 | 0 | ranges::ssize(thsep_indices)); | 3604 | 0 | } |
Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEyEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERT0_NSA_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIwE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEyEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEyEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERT0_NSN_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl19reader_impl_for_intIwE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEyEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERT0_NSL_10locale_refE |
3605 | | }; |
3606 | | |
3607 | | ///////////////////////////////////////////////////////////////// |
3608 | | // Floating-point reader |
3609 | | ///////////////////////////////////////////////////////////////// |
3610 | | |
3611 | | struct float_reader_base { |
3612 | | enum options_type { |
3613 | | allow_hex = 1, |
3614 | | allow_scientific = 2, |
3615 | | allow_fixed = 4, |
3616 | | allow_thsep = 8 |
3617 | | }; |
3618 | | |
3619 | | enum class float_kind { |
3620 | | tbd = 0, |
3621 | | generic, // fixed or scientific |
3622 | | fixed, // xxx.yyy |
3623 | | scientific, // xxx.yyyEzzz |
3624 | | hex_without_prefix, // xxx.yyypzzz |
3625 | | hex_with_prefix, // 0Xxxx.yyypzzz |
3626 | | inf_short, // inf |
3627 | | inf_long, // infinity |
3628 | | nan_simple, // nan |
3629 | | nan_with_payload, // nan(xxx) |
3630 | | }; |
3631 | | |
3632 | 1.11k | constexpr float_reader_base() = default; |
3633 | 970 | explicit constexpr float_reader_base(unsigned opt) : m_options(opt) {} |
3634 | | |
3635 | | protected: |
3636 | | unsigned m_options{allow_hex | allow_scientific | allow_fixed}; |
3637 | | }; |
3638 | | |
3639 | | template <typename CharT> |
3640 | | class float_reader : public numeric_reader<CharT>, public float_reader_base { |
3641 | | using numeric_base = numeric_reader<CharT>; |
3642 | | |
3643 | | public: |
3644 | | using char_type = CharT; |
3645 | | |
3646 | 1.11k | constexpr float_reader() = default; scn::v3::impl::float_reader<char>::float_reader() Line | Count | Source | 3646 | 636 | constexpr float_reader() = default; |
scn::v3::impl::float_reader<wchar_t>::float_reader() Line | Count | Source | 3646 | 474 | constexpr float_reader() = default; |
|
3647 | | |
3648 | 970 | explicit constexpr float_reader(unsigned opt) : float_reader_base(opt) {}scn::v3::impl::float_reader<char>::float_reader(unsigned int) Line | Count | Source | 3648 | 538 | explicit constexpr float_reader(unsigned opt) : float_reader_base(opt) {} |
scn::v3::impl::float_reader<wchar_t>::float_reader(unsigned int) Line | Count | Source | 3648 | 432 | explicit constexpr float_reader(unsigned opt) : float_reader_base(opt) {} |
|
3649 | | |
3650 | | template <typename Range> |
3651 | | SCN_NODISCARD auto read_source(Range range, detail::locale_ref) |
3652 | | -> scan_expected<ranges::const_iterator_t<Range>> |
3653 | 2.04k | { |
3654 | 2.04k | if (SCN_UNLIKELY(m_options & float_reader_base::allow_thsep)) { |
3655 | 0 | m_locale_options = localized_number_formatting_options<CharT>{ |
3656 | 0 | classic_with_thsep_tag{}}; |
3657 | 0 | } |
3658 | | |
3659 | 2.04k | return read_source_impl(range); |
3660 | 2.04k | } Unexecuted instantiation: _ZN3scn2v34impl12float_readerIcE11read_sourceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_NSA_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl12float_readerIcE11read_sourceINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_NS9_10locale_refE _ZN3scn2v34impl12float_readerIcE11read_sourceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_NS0_6detail10locale_refE Line | Count | Source | 3653 | 254 | { | 3654 | 254 | if (SCN_UNLIKELY(m_options & float_reader_base::allow_thsep)) { | 3655 | 0 | m_locale_options = localized_number_formatting_options<CharT>{ | 3656 | 0 | classic_with_thsep_tag{}}; | 3657 | 0 | } | 3658 | | | 3659 | 254 | return read_source_impl(range); | 3660 | 254 | } |
_ZN3scn2v34impl12float_readerIcE11read_sourceINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_NS0_6detail10locale_refE Line | Count | Source | 3653 | 904 | { | 3654 | 904 | if (SCN_UNLIKELY(m_options & float_reader_base::allow_thsep)) { | 3655 | 0 | m_locale_options = localized_number_formatting_options<CharT>{ | 3656 | 0 | classic_with_thsep_tag{}}; | 3657 | 0 | } | 3658 | | | 3659 | 904 | return read_source_impl(range); | 3660 | 904 | } |
Unexecuted instantiation: _ZN3scn2v34impl12float_readerIwE11read_sourceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_NSA_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl12float_readerIwE11read_sourceINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_NS9_10locale_refE _ZN3scn2v34impl12float_readerIwE11read_sourceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_NS0_6detail10locale_refE Line | Count | Source | 3653 | 102 | { | 3654 | 102 | if (SCN_UNLIKELY(m_options & float_reader_base::allow_thsep)) { | 3655 | 0 | m_locale_options = localized_number_formatting_options<CharT>{ | 3656 | 0 | classic_with_thsep_tag{}}; | 3657 | 0 | } | 3658 | | | 3659 | 102 | return read_source_impl(range); | 3660 | 102 | } |
_ZN3scn2v34impl12float_readerIwE11read_sourceINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_NS0_6detail10locale_refE Line | Count | Source | 3653 | 788 | { | 3654 | 788 | if (SCN_UNLIKELY(m_options & float_reader_base::allow_thsep)) { | 3655 | 0 | m_locale_options = localized_number_formatting_options<CharT>{ | 3656 | 0 | classic_with_thsep_tag{}}; | 3657 | 0 | } | 3658 | | | 3659 | 788 | return read_source_impl(range); | 3660 | 788 | } |
|
3661 | | |
3662 | | #if !SCN_DISABLE_LOCALE |
3663 | | template <typename Range> |
3664 | | SCN_NODISCARD auto read_source_localized(Range range, |
3665 | | detail::locale_ref loc) |
3666 | | -> scan_expected<ranges::const_iterator_t<Range>> |
3667 | 32 | { |
3668 | 32 | m_locale_options = localized_number_formatting_options<CharT>{loc}; |
3669 | 32 | if (SCN_LIKELY((m_options & float_reader_base::allow_thsep) == 0)) { |
3670 | 0 | m_locale_options.thousands_sep = CharT{0}; |
3671 | 0 | } |
3672 | | |
3673 | 32 | return read_source_impl(range); |
3674 | 32 | } Unexecuted instantiation: _ZN3scn2v34impl12float_readerIcE21read_source_localizedINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_NSA_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl12float_readerIcE21read_source_localizedINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_NS9_10locale_refE _ZN3scn2v34impl12float_readerIcE21read_source_localizedINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_NS0_6detail10locale_refE Line | Count | Source | 3667 | 8 | { | 3668 | 8 | m_locale_options = localized_number_formatting_options<CharT>{loc}; | 3669 | 8 | if (SCN_LIKELY((m_options & float_reader_base::allow_thsep) == 0)) { | 3670 | 0 | m_locale_options.thousands_sep = CharT{0}; | 3671 | 0 | } | 3672 | | | 3673 | 8 | return read_source_impl(range); | 3674 | 8 | } |
_ZN3scn2v34impl12float_readerIcE21read_source_localizedINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_NS0_6detail10locale_refE Line | Count | Source | 3667 | 8 | { | 3668 | 8 | m_locale_options = localized_number_formatting_options<CharT>{loc}; | 3669 | 8 | if (SCN_LIKELY((m_options & float_reader_base::allow_thsep) == 0)) { | 3670 | 0 | m_locale_options.thousands_sep = CharT{0}; | 3671 | 0 | } | 3672 | | | 3673 | 8 | return read_source_impl(range); | 3674 | 8 | } |
Unexecuted instantiation: _ZN3scn2v34impl12float_readerIwE21read_source_localizedINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_NSA_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl12float_readerIwE21read_source_localizedINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_NS9_10locale_refE _ZN3scn2v34impl12float_readerIwE21read_source_localizedINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_NS0_6detail10locale_refE Line | Count | Source | 3667 | 8 | { | 3668 | 8 | m_locale_options = localized_number_formatting_options<CharT>{loc}; | 3669 | 8 | if (SCN_LIKELY((m_options & float_reader_base::allow_thsep) == 0)) { | 3670 | 0 | m_locale_options.thousands_sep = CharT{0}; | 3671 | 0 | } | 3672 | | | 3673 | 8 | return read_source_impl(range); | 3674 | 8 | } |
_ZN3scn2v34impl12float_readerIwE21read_source_localizedINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_NS0_6detail10locale_refE Line | Count | Source | 3667 | 8 | { | 3668 | 8 | m_locale_options = localized_number_formatting_options<CharT>{loc}; | 3669 | 8 | if (SCN_LIKELY((m_options & float_reader_base::allow_thsep) == 0)) { | 3670 | 0 | m_locale_options.thousands_sep = CharT{0}; | 3671 | 0 | } | 3672 | | | 3673 | 8 | return read_source_impl(range); | 3674 | 8 | } |
|
3675 | | #endif |
3676 | | |
3677 | | template <typename T> |
3678 | | SCN_NODISCARD scan_expected<std::ptrdiff_t> parse_value(T& value) |
3679 | 1.67k | { |
3680 | 1.67k | SCN_EXPECT(m_kind != float_kind::tbd); |
3681 | | |
3682 | 1.67k | const std::ptrdiff_t sign_len = |
3683 | 1.67k | m_sign != sign_type::default_sign ? 1 : 0; |
3684 | | |
3685 | 1.67k | SCN_TRY(n, parse_value_impl(value)); |
3686 | 0 | return n + sign_len + ranges::ssize(m_thsep_indices); |
3687 | 1.67k | } Unexecuted instantiation: scn::v3::scan_expected<long> scn::v3::impl::float_reader<char>::parse_value<float>(float&) scn::v3::scan_expected<long> scn::v3::impl::float_reader<char>::parse_value<double>(double&) Line | Count | Source | 3679 | 890 | { | 3680 | 890 | SCN_EXPECT(m_kind != float_kind::tbd); | 3681 | | | 3682 | 890 | const std::ptrdiff_t sign_len = | 3683 | 890 | m_sign != sign_type::default_sign ? 1 : 0; | 3684 | | | 3685 | 890 | SCN_TRY(n, parse_value_impl(value)); | 3686 | 0 | return n + sign_len + ranges::ssize(m_thsep_indices); | 3687 | 890 | } |
Unexecuted instantiation: scn::v3::scan_expected<long> scn::v3::impl::float_reader<char>::parse_value<long double>(long double&) Unexecuted instantiation: scn::v3::scan_expected<long> scn::v3::impl::float_reader<wchar_t>::parse_value<float>(float&) scn::v3::scan_expected<long> scn::v3::impl::float_reader<wchar_t>::parse_value<double>(double&) Line | Count | Source | 3679 | 788 | { | 3680 | 788 | SCN_EXPECT(m_kind != float_kind::tbd); | 3681 | | | 3682 | 788 | const std::ptrdiff_t sign_len = | 3683 | 788 | m_sign != sign_type::default_sign ? 1 : 0; | 3684 | | | 3685 | 788 | SCN_TRY(n, parse_value_impl(value)); | 3686 | 0 | return n + sign_len + ranges::ssize(m_thsep_indices); | 3687 | 788 | } |
Unexecuted instantiation: scn::v3::scan_expected<long> scn::v3::impl::float_reader<wchar_t>::parse_value<long double>(long double&) |
3688 | | |
3689 | | private: |
3690 | | template <typename Range> |
3691 | | auto read_source_impl(Range range) |
3692 | | -> scan_expected<ranges::const_iterator_t<Range>> |
3693 | 2.08k | { |
3694 | 2.08k | SCN_TRY(sign_result, |
3695 | 2.08k | parse_numeric_sign(range).transform_error(make_eof_scan_error)); |
3696 | 2.08k | auto it = sign_result.first; |
3697 | 2.08k | m_sign = sign_result.second; |
3698 | | |
3699 | 2.08k | auto digits_begin = it; |
3700 | 2.08k | auto r = ranges::subrange{it, range.end()}; |
3701 | | if constexpr (ranges::contiguous_range<Range> && |
3702 | 1.70k | ranges::sized_range<Range>) { |
3703 | 1.70k | if (SCN_UNLIKELY(m_locale_options.thousands_sep != 0 || |
3704 | 1.70k | m_locale_options.decimal_point != CharT{'.'})) { |
3705 | 0 | SCN_TRY_ASSIGN( |
3706 | 0 | it, |
3707 | 0 | do_read_source_impl( |
3708 | 0 | r, |
3709 | 0 | [&](const auto& rr) { return read_regular_float(rr); }, |
3710 | 0 | [&](const auto& rr) { return read_hexfloat(rr); })); |
3711 | 0 | } |
3712 | 1.70k | else { |
3713 | 1.70k | auto cb = [&](const auto& rr) |
3714 | 1.70k | -> scan_expected<ranges::const_iterator_t<decltype(rr)>> { |
3715 | 1.67k | auto res = read_all(rr); |
3716 | 1.67k | if (SCN_UNLIKELY(res == r.begin())) { |
3717 | 0 | return unexpected_scan_error( |
3718 | 0 | scan_error::invalid_scanned_value, |
3719 | 0 | "Invalid float value"); |
3720 | 0 | } |
3721 | 1.67k | return res; |
3722 | 1.67k | }; _ZZN3scn2v34impl12float_readerIcE16read_source_implINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_ENKUlRKSF_E1_clISB_EENSC_IDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSE_IDtfp_EE4typeEEEEEEESM_ Line | Count | Source | 3714 | 890 | -> scan_expected<ranges::const_iterator_t<decltype(rr)>> { | 3715 | 890 | auto res = read_all(rr); | 3716 | 890 | if (SCN_UNLIKELY(res == r.begin())) { | 3717 | 0 | return unexpected_scan_error( | 3718 | 0 | scan_error::invalid_scanned_value, | 3719 | 0 | "Invalid float value"); | 3720 | 0 | } | 3721 | 890 | return res; | 3722 | 890 | }; |
_ZZN3scn2v34impl12float_readerIwE16read_source_implINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_ENKUlRKSF_E1_clISB_EENSC_IDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSE_IDtfp_EE4typeEEEEEEESM_ Line | Count | Source | 3714 | 788 | -> scan_expected<ranges::const_iterator_t<decltype(rr)>> { | 3715 | 788 | auto res = read_all(rr); | 3716 | 788 | if (SCN_UNLIKELY(res == r.begin())) { | 3717 | 0 | return unexpected_scan_error( | 3718 | 0 | scan_error::invalid_scanned_value, | 3719 | 0 | "Invalid float value"); | 3720 | 0 | } | 3721 | 788 | return res; | 3722 | 788 | }; |
|
3723 | 1.70k | SCN_TRY_ASSIGN(it, do_read_source_impl(r, cb, cb)); |
3724 | 1.67k | } |
3725 | | } |
3726 | 372 | else { |
3727 | 372 | SCN_TRY_ASSIGN( |
3728 | 0 | it, |
3729 | 0 | do_read_source_impl( |
3730 | 0 | r, [&](const auto& rr) { return read_regular_float(rr); }, |
3731 | 0 | [&](const auto& rr) { return read_hexfloat(rr); })); |
3732 | 0 | } |
3733 | | |
3734 | 2.08k | SCN_EXPECT(m_kind != float_kind::tbd); |
3735 | | |
3736 | 1.67k | if (m_kind != float_kind::inf_short && m_kind != float_kind::inf_long && |
3737 | 1.67k | m_kind != float_kind::nan_simple && |
3738 | 1.67k | m_kind != float_kind::nan_with_payload) { |
3739 | 1.67k | this->m_buffer.assign(ranges::subrange{digits_begin, it}); |
3740 | 1.67k | } |
3741 | | |
3742 | 1.67k | handle_separators(); |
3743 | | |
3744 | 1.67k | if (!m_thsep_indices.empty()) { |
3745 | 0 | SCN_EXPECT(m_integral_part_length >= 0); |
3746 | 0 | if (auto e = check_thsep_grouping( |
3747 | 0 | ranges::subrange{ |
3748 | 0 | digits_begin, |
3749 | 0 | ranges::next(digits_begin, m_integral_part_length)}, |
3750 | 0 | m_thsep_indices, m_locale_options.grouping); |
3751 | 0 | SCN_UNLIKELY(!e)) { |
3752 | 0 | return unexpected(e); |
3753 | 0 | } |
3754 | 0 | } |
3755 | | |
3756 | 1.67k | return it; |
3757 | 1.67k | } Unexecuted instantiation: _ZN3scn2v34impl12float_readerIcE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_ Unexecuted instantiation: _ZN3scn2v34impl12float_readerIcE16read_source_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_ _ZN3scn2v34impl12float_readerIcE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_ Line | Count | Source | 3693 | 262 | { | 3694 | 262 | SCN_TRY(sign_result, | 3695 | 262 | parse_numeric_sign(range).transform_error(make_eof_scan_error)); | 3696 | 262 | auto it = sign_result.first; | 3697 | 262 | m_sign = sign_result.second; | 3698 | | | 3699 | 262 | auto digits_begin = it; | 3700 | 262 | auto r = ranges::subrange{it, range.end()}; | 3701 | | if constexpr (ranges::contiguous_range<Range> && | 3702 | | ranges::sized_range<Range>) { | 3703 | | if (SCN_UNLIKELY(m_locale_options.thousands_sep != 0 || | 3704 | | m_locale_options.decimal_point != CharT{'.'})) { | 3705 | | SCN_TRY_ASSIGN( | 3706 | | it, | 3707 | | do_read_source_impl( | 3708 | | r, | 3709 | | [&](const auto& rr) { return read_regular_float(rr); }, | 3710 | | [&](const auto& rr) { return read_hexfloat(rr); })); | 3711 | | } | 3712 | | else { | 3713 | | auto cb = [&](const auto& rr) | 3714 | | -> scan_expected<ranges::const_iterator_t<decltype(rr)>> { | 3715 | | auto res = read_all(rr); | 3716 | | if (SCN_UNLIKELY(res == r.begin())) { | 3717 | | return unexpected_scan_error( | 3718 | | scan_error::invalid_scanned_value, | 3719 | | "Invalid float value"); | 3720 | | } | 3721 | | return res; | 3722 | | }; | 3723 | | SCN_TRY_ASSIGN(it, do_read_source_impl(r, cb, cb)); | 3724 | | } | 3725 | | } | 3726 | 262 | else { | 3727 | 262 | SCN_TRY_ASSIGN( | 3728 | 0 | it, | 3729 | 0 | do_read_source_impl( | 3730 | 0 | r, [&](const auto& rr) { return read_regular_float(rr); }, | 3731 | 0 | [&](const auto& rr) { return read_hexfloat(rr); })); | 3732 | 0 | } | 3733 | | | 3734 | 262 | SCN_EXPECT(m_kind != float_kind::tbd); | 3735 | | | 3736 | 0 | if (m_kind != float_kind::inf_short && m_kind != float_kind::inf_long && | 3737 | 0 | m_kind != float_kind::nan_simple && | 3738 | 0 | m_kind != float_kind::nan_with_payload) { | 3739 | 0 | this->m_buffer.assign(ranges::subrange{digits_begin, it}); | 3740 | 0 | } | 3741 | |
| 3742 | 0 | handle_separators(); | 3743 | |
| 3744 | 0 | if (!m_thsep_indices.empty()) { | 3745 | 0 | SCN_EXPECT(m_integral_part_length >= 0); | 3746 | 0 | if (auto e = check_thsep_grouping( | 3747 | 0 | ranges::subrange{ | 3748 | 0 | digits_begin, | 3749 | 0 | ranges::next(digits_begin, m_integral_part_length)}, | 3750 | 0 | m_thsep_indices, m_locale_options.grouping); | 3751 | 0 | SCN_UNLIKELY(!e)) { | 3752 | 0 | return unexpected(e); | 3753 | 0 | } | 3754 | 0 | } | 3755 | | | 3756 | 0 | return it; | 3757 | 0 | } |
_ZN3scn2v34impl12float_readerIcE16read_source_implINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_ Line | Count | Source | 3693 | 912 | { | 3694 | 912 | SCN_TRY(sign_result, | 3695 | 912 | parse_numeric_sign(range).transform_error(make_eof_scan_error)); | 3696 | 912 | auto it = sign_result.first; | 3697 | 912 | m_sign = sign_result.second; | 3698 | | | 3699 | 912 | auto digits_begin = it; | 3700 | 912 | auto r = ranges::subrange{it, range.end()}; | 3701 | | if constexpr (ranges::contiguous_range<Range> && | 3702 | 912 | ranges::sized_range<Range>) { | 3703 | 912 | if (SCN_UNLIKELY(m_locale_options.thousands_sep != 0 || | 3704 | 912 | m_locale_options.decimal_point != CharT{'.'})) { | 3705 | 0 | SCN_TRY_ASSIGN( | 3706 | 0 | it, | 3707 | 0 | do_read_source_impl( | 3708 | 0 | r, | 3709 | 0 | [&](const auto& rr) { return read_regular_float(rr); }, | 3710 | 0 | [&](const auto& rr) { return read_hexfloat(rr); })); | 3711 | 0 | } | 3712 | 912 | else { | 3713 | 912 | auto cb = [&](const auto& rr) | 3714 | 912 | -> scan_expected<ranges::const_iterator_t<decltype(rr)>> { | 3715 | 912 | auto res = read_all(rr); | 3716 | 912 | if (SCN_UNLIKELY(res == r.begin())) { | 3717 | 912 | return unexpected_scan_error( | 3718 | 912 | scan_error::invalid_scanned_value, | 3719 | 912 | "Invalid float value"); | 3720 | 912 | } | 3721 | 912 | return res; | 3722 | 912 | }; | 3723 | 912 | SCN_TRY_ASSIGN(it, do_read_source_impl(r, cb, cb)); | 3724 | 890 | } | 3725 | | } | 3726 | | else { | 3727 | | SCN_TRY_ASSIGN( | 3728 | | it, | 3729 | | do_read_source_impl( | 3730 | | r, [&](const auto& rr) { return read_regular_float(rr); }, | 3731 | | [&](const auto& rr) { return read_hexfloat(rr); })); | 3732 | | } | 3733 | | | 3734 | 912 | SCN_EXPECT(m_kind != float_kind::tbd); | 3735 | | | 3736 | 890 | if (m_kind != float_kind::inf_short && m_kind != float_kind::inf_long && | 3737 | 890 | m_kind != float_kind::nan_simple && | 3738 | 890 | m_kind != float_kind::nan_with_payload) { | 3739 | 890 | this->m_buffer.assign(ranges::subrange{digits_begin, it}); | 3740 | 890 | } | 3741 | | | 3742 | 890 | handle_separators(); | 3743 | | | 3744 | 890 | if (!m_thsep_indices.empty()) { | 3745 | 0 | SCN_EXPECT(m_integral_part_length >= 0); | 3746 | 0 | if (auto e = check_thsep_grouping( | 3747 | 0 | ranges::subrange{ | 3748 | 0 | digits_begin, | 3749 | 0 | ranges::next(digits_begin, m_integral_part_length)}, | 3750 | 0 | m_thsep_indices, m_locale_options.grouping); | 3751 | 0 | SCN_UNLIKELY(!e)) { | 3752 | 0 | return unexpected(e); | 3753 | 0 | } | 3754 | 0 | } | 3755 | | | 3756 | 890 | return it; | 3757 | 890 | } |
Unexecuted instantiation: _ZN3scn2v34impl12float_readerIwE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_ Unexecuted instantiation: _ZN3scn2v34impl12float_readerIwE16read_source_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_ _ZN3scn2v34impl12float_readerIwE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_ Line | Count | Source | 3693 | 110 | { | 3694 | 110 | SCN_TRY(sign_result, | 3695 | 110 | parse_numeric_sign(range).transform_error(make_eof_scan_error)); | 3696 | 110 | auto it = sign_result.first; | 3697 | 110 | m_sign = sign_result.second; | 3698 | | | 3699 | 110 | auto digits_begin = it; | 3700 | 110 | auto r = ranges::subrange{it, range.end()}; | 3701 | | if constexpr (ranges::contiguous_range<Range> && | 3702 | | ranges::sized_range<Range>) { | 3703 | | if (SCN_UNLIKELY(m_locale_options.thousands_sep != 0 || | 3704 | | m_locale_options.decimal_point != CharT{'.'})) { | 3705 | | SCN_TRY_ASSIGN( | 3706 | | it, | 3707 | | do_read_source_impl( | 3708 | | r, | 3709 | | [&](const auto& rr) { return read_regular_float(rr); }, | 3710 | | [&](const auto& rr) { return read_hexfloat(rr); })); | 3711 | | } | 3712 | | else { | 3713 | | auto cb = [&](const auto& rr) | 3714 | | -> scan_expected<ranges::const_iterator_t<decltype(rr)>> { | 3715 | | auto res = read_all(rr); | 3716 | | if (SCN_UNLIKELY(res == r.begin())) { | 3717 | | return unexpected_scan_error( | 3718 | | scan_error::invalid_scanned_value, | 3719 | | "Invalid float value"); | 3720 | | } | 3721 | | return res; | 3722 | | }; | 3723 | | SCN_TRY_ASSIGN(it, do_read_source_impl(r, cb, cb)); | 3724 | | } | 3725 | | } | 3726 | 110 | else { | 3727 | 110 | SCN_TRY_ASSIGN( | 3728 | 0 | it, | 3729 | 0 | do_read_source_impl( | 3730 | 0 | r, [&](const auto& rr) { return read_regular_float(rr); }, | 3731 | 0 | [&](const auto& rr) { return read_hexfloat(rr); })); | 3732 | 0 | } | 3733 | | | 3734 | 110 | SCN_EXPECT(m_kind != float_kind::tbd); | 3735 | | | 3736 | 0 | if (m_kind != float_kind::inf_short && m_kind != float_kind::inf_long && | 3737 | 0 | m_kind != float_kind::nan_simple && | 3738 | 0 | m_kind != float_kind::nan_with_payload) { | 3739 | 0 | this->m_buffer.assign(ranges::subrange{digits_begin, it}); | 3740 | 0 | } | 3741 | |
| 3742 | 0 | handle_separators(); | 3743 | |
| 3744 | 0 | if (!m_thsep_indices.empty()) { | 3745 | 0 | SCN_EXPECT(m_integral_part_length >= 0); | 3746 | 0 | if (auto e = check_thsep_grouping( | 3747 | 0 | ranges::subrange{ | 3748 | 0 | digits_begin, | 3749 | 0 | ranges::next(digits_begin, m_integral_part_length)}, | 3750 | 0 | m_thsep_indices, m_locale_options.grouping); | 3751 | 0 | SCN_UNLIKELY(!e)) { | 3752 | 0 | return unexpected(e); | 3753 | 0 | } | 3754 | 0 | } | 3755 | | | 3756 | 0 | return it; | 3757 | 0 | } |
_ZN3scn2v34impl12float_readerIwE16read_source_implINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_ Line | Count | Source | 3693 | 796 | { | 3694 | 796 | SCN_TRY(sign_result, | 3695 | 796 | parse_numeric_sign(range).transform_error(make_eof_scan_error)); | 3696 | 796 | auto it = sign_result.first; | 3697 | 796 | m_sign = sign_result.second; | 3698 | | | 3699 | 796 | auto digits_begin = it; | 3700 | 796 | auto r = ranges::subrange{it, range.end()}; | 3701 | | if constexpr (ranges::contiguous_range<Range> && | 3702 | 796 | ranges::sized_range<Range>) { | 3703 | 796 | if (SCN_UNLIKELY(m_locale_options.thousands_sep != 0 || | 3704 | 796 | m_locale_options.decimal_point != CharT{'.'})) { | 3705 | 0 | SCN_TRY_ASSIGN( | 3706 | 0 | it, | 3707 | 0 | do_read_source_impl( | 3708 | 0 | r, | 3709 | 0 | [&](const auto& rr) { return read_regular_float(rr); }, | 3710 | 0 | [&](const auto& rr) { return read_hexfloat(rr); })); | 3711 | 0 | } | 3712 | 796 | else { | 3713 | 796 | auto cb = [&](const auto& rr) | 3714 | 796 | -> scan_expected<ranges::const_iterator_t<decltype(rr)>> { | 3715 | 796 | auto res = read_all(rr); | 3716 | 796 | if (SCN_UNLIKELY(res == r.begin())) { | 3717 | 796 | return unexpected_scan_error( | 3718 | 796 | scan_error::invalid_scanned_value, | 3719 | 796 | "Invalid float value"); | 3720 | 796 | } | 3721 | 796 | return res; | 3722 | 796 | }; | 3723 | 796 | SCN_TRY_ASSIGN(it, do_read_source_impl(r, cb, cb)); | 3724 | 788 | } | 3725 | | } | 3726 | | else { | 3727 | | SCN_TRY_ASSIGN( | 3728 | | it, | 3729 | | do_read_source_impl( | 3730 | | r, [&](const auto& rr) { return read_regular_float(rr); }, | 3731 | | [&](const auto& rr) { return read_hexfloat(rr); })); | 3732 | | } | 3733 | | | 3734 | 796 | SCN_EXPECT(m_kind != float_kind::tbd); | 3735 | | | 3736 | 788 | if (m_kind != float_kind::inf_short && m_kind != float_kind::inf_long && | 3737 | 788 | m_kind != float_kind::nan_simple && | 3738 | 788 | m_kind != float_kind::nan_with_payload) { | 3739 | 788 | this->m_buffer.assign(ranges::subrange{digits_begin, it}); | 3740 | 788 | } | 3741 | | | 3742 | 788 | handle_separators(); | 3743 | | | 3744 | 788 | if (!m_thsep_indices.empty()) { | 3745 | 0 | SCN_EXPECT(m_integral_part_length >= 0); | 3746 | 0 | if (auto e = check_thsep_grouping( | 3747 | 0 | ranges::subrange{ | 3748 | 0 | digits_begin, | 3749 | 0 | ranges::next(digits_begin, m_integral_part_length)}, | 3750 | 0 | m_thsep_indices, m_locale_options.grouping); | 3751 | 0 | SCN_UNLIKELY(!e)) { | 3752 | 0 | return unexpected(e); | 3753 | 0 | } | 3754 | 0 | } | 3755 | | | 3756 | 788 | return it; | 3757 | 788 | } |
|
3758 | | |
3759 | | template <typename Range> |
3760 | | auto read_dec_digits(Range range, bool thsep_allowed) |
3761 | | -> parse_expected<ranges::const_iterator_t<Range>> |
3762 | 392 | { |
3763 | 392 | if (SCN_UNLIKELY(m_locale_options.thousands_sep != 0 && |
3764 | 392 | thsep_allowed)) { |
3765 | 0 | return read_while1_code_unit(range, [&](char_type ch) noexcept { |
3766 | 0 | return char_to_int(ch) < 10 || |
3767 | 0 | ch == m_locale_options.thousands_sep; |
3768 | 0 | }); Unexecuted instantiation: _ZZN3scn2v34impl12float_readerIcE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEENS1_15take_width_viewINS8_ISE_SF_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESQ_bENKUlcE_clEc Unexecuted instantiation: _ZZN3scn2v34impl12float_readerIcE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_bENKUlcE_clEc Unexecuted instantiation: _ZZN3scn2v34impl12float_readerIcE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSC_EENS1_15take_width_viewINS8_ISC_SC_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESN_bENKUlcE_clEc Unexecuted instantiation: _ZZN3scn2v34impl12float_readerIcE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_bENKUlcE_clEc Unexecuted instantiation: _ZZN3scn2v34impl12float_readerIwE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEENS1_15take_width_viewINS8_ISE_SF_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESQ_bENKUlwE_clEw Unexecuted instantiation: _ZZN3scn2v34impl12float_readerIwE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_bENKUlwE_clEw Unexecuted instantiation: _ZZN3scn2v34impl12float_readerIwE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSC_EENS1_15take_width_viewINS8_ISC_SC_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESN_bENKUlwE_clEw Unexecuted instantiation: _ZZN3scn2v34impl12float_readerIwE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_bENKUlwE_clEw |
3769 | 0 | } |
3770 | | |
3771 | 392 | return read_while1_code_unit( |
3772 | 392 | range, [](char_type ch) noexcept { return char_to_int(ch) < 10; });Unexecuted instantiation: _ZZN3scn2v34impl12float_readerIcE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEENS1_15take_width_viewINS8_ISE_SF_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESQ_bENKUlcE0_clEc Unexecuted instantiation: _ZZN3scn2v34impl12float_readerIcE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_bENKUlcE0_clEc _ZZN3scn2v34impl12float_readerIcE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSC_EENS1_15take_width_viewINS8_ISC_SC_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESN_bENKUlcE0_clEc Line | Count | Source | 3772 | 258 | range, [](char_type ch) noexcept { return char_to_int(ch) < 10; }); |
_ZZN3scn2v34impl12float_readerIcE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_bENKUlcE0_clEc Line | Count | Source | 3772 | 22 | range, [](char_type ch) noexcept { return char_to_int(ch) < 10; }); |
Unexecuted instantiation: _ZZN3scn2v34impl12float_readerIwE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEENS1_15take_width_viewINS8_ISE_SF_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESQ_bENKUlwE0_clEw Unexecuted instantiation: _ZZN3scn2v34impl12float_readerIwE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_bENKUlwE0_clEw _ZZN3scn2v34impl12float_readerIwE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSC_EENS1_15take_width_viewINS8_ISC_SC_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESN_bENKUlwE0_clEw Line | Count | Source | 3772 | 104 | range, [](char_type ch) noexcept { return char_to_int(ch) < 10; }); |
_ZZN3scn2v34impl12float_readerIwE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_bENKUlwE0_clEw Line | Count | Source | 3772 | 8 | range, [](char_type ch) noexcept { return char_to_int(ch) < 10; }); |
|
3773 | 392 | } Unexecuted instantiation: _ZN3scn2v34impl12float_readerIcE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEENS1_15take_width_viewINS8_ISE_SF_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESQ_b Unexecuted instantiation: _ZN3scn2v34impl12float_readerIcE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_b _ZN3scn2v34impl12float_readerIcE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSC_EENS1_15take_width_viewINS8_ISC_SC_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESN_b Line | Count | Source | 3762 | 258 | { | 3763 | 258 | if (SCN_UNLIKELY(m_locale_options.thousands_sep != 0 && | 3764 | 258 | thsep_allowed)) { | 3765 | 0 | return read_while1_code_unit(range, [&](char_type ch) noexcept { | 3766 | 0 | return char_to_int(ch) < 10 || | 3767 | 0 | ch == m_locale_options.thousands_sep; | 3768 | 0 | }); | 3769 | 0 | } | 3770 | | | 3771 | 258 | return read_while1_code_unit( | 3772 | 258 | range, [](char_type ch) noexcept { return char_to_int(ch) < 10; }); | 3773 | 258 | } |
_ZN3scn2v34impl12float_readerIcE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_b Line | Count | Source | 3762 | 22 | { | 3763 | 22 | if (SCN_UNLIKELY(m_locale_options.thousands_sep != 0 && | 3764 | 22 | thsep_allowed)) { | 3765 | 0 | return read_while1_code_unit(range, [&](char_type ch) noexcept { | 3766 | 0 | return char_to_int(ch) < 10 || | 3767 | 0 | ch == m_locale_options.thousands_sep; | 3768 | 0 | }); | 3769 | 0 | } | 3770 | | | 3771 | 22 | return read_while1_code_unit( | 3772 | 22 | range, [](char_type ch) noexcept { return char_to_int(ch) < 10; }); | 3773 | 22 | } |
Unexecuted instantiation: _ZN3scn2v34impl12float_readerIwE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEENS1_15take_width_viewINS8_ISE_SF_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESQ_b Unexecuted instantiation: _ZN3scn2v34impl12float_readerIwE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_b _ZN3scn2v34impl12float_readerIwE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSC_EENS1_15take_width_viewINS8_ISC_SC_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESN_b Line | Count | Source | 3762 | 104 | { | 3763 | 104 | if (SCN_UNLIKELY(m_locale_options.thousands_sep != 0 && | 3764 | 104 | thsep_allowed)) { | 3765 | 0 | return read_while1_code_unit(range, [&](char_type ch) noexcept { | 3766 | 0 | return char_to_int(ch) < 10 || | 3767 | 0 | ch == m_locale_options.thousands_sep; | 3768 | 0 | }); | 3769 | 0 | } | 3770 | | | 3771 | 104 | return read_while1_code_unit( | 3772 | 104 | range, [](char_type ch) noexcept { return char_to_int(ch) < 10; }); | 3773 | 104 | } |
_ZN3scn2v34impl12float_readerIwE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_b Line | Count | Source | 3762 | 8 | { | 3763 | 8 | if (SCN_UNLIKELY(m_locale_options.thousands_sep != 0 && | 3764 | 8 | thsep_allowed)) { | 3765 | 0 | return read_while1_code_unit(range, [&](char_type ch) noexcept { | 3766 | 0 | return char_to_int(ch) < 10 || | 3767 | 0 | ch == m_locale_options.thousands_sep; | 3768 | 0 | }); | 3769 | 0 | } | 3770 | | | 3771 | 8 | return read_while1_code_unit( | 3772 | 8 | range, [](char_type ch) noexcept { return char_to_int(ch) < 10; }); | 3773 | 8 | } |
|
3774 | | template <typename Range> |
3775 | | auto read_hex_digits(Range range, bool thsep_allowed) |
3776 | | -> parse_expected<ranges::const_iterator_t<Range>> |
3777 | 10 | { |
3778 | 10 | if (SCN_UNLIKELY(m_locale_options.thousands_sep != 0 && |
3779 | 10 | thsep_allowed)) { |
3780 | 0 | return read_while1_code_unit(range, [&](char_type ch) noexcept { |
3781 | 0 | return char_to_int(ch) < 16 || |
3782 | 0 | ch == m_locale_options.thousands_sep; |
3783 | 0 | }); Unexecuted instantiation: _ZZN3scn2v34impl12float_readerIcE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEENS1_15take_width_viewINS8_ISE_SF_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESQ_bENKUlcE_clEc Unexecuted instantiation: _ZZN3scn2v34impl12float_readerIcE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_bENKUlcE_clEc Unexecuted instantiation: _ZZN3scn2v34impl12float_readerIcE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSC_EENS1_15take_width_viewINS8_ISC_SC_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESN_bENKUlcE_clEc Unexecuted instantiation: _ZZN3scn2v34impl12float_readerIcE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_bENKUlcE_clEc Unexecuted instantiation: _ZZN3scn2v34impl12float_readerIwE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEENS1_15take_width_viewINS8_ISE_SF_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESQ_bENKUlwE_clEw Unexecuted instantiation: _ZZN3scn2v34impl12float_readerIwE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_bENKUlwE_clEw Unexecuted instantiation: _ZZN3scn2v34impl12float_readerIwE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSC_EENS1_15take_width_viewINS8_ISC_SC_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESN_bENKUlwE_clEw Unexecuted instantiation: _ZZN3scn2v34impl12float_readerIwE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_bENKUlwE_clEw |
3784 | 0 | } |
3785 | | |
3786 | 10 | return read_while1_code_unit( |
3787 | 10 | range, [](char_type ch) noexcept { return char_to_int(ch) < 16; });Unexecuted instantiation: _ZZN3scn2v34impl12float_readerIcE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEENS1_15take_width_viewINS8_ISE_SF_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESQ_bENKUlcE0_clEc Unexecuted instantiation: _ZZN3scn2v34impl12float_readerIcE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_bENKUlcE0_clEc _ZZN3scn2v34impl12float_readerIcE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSC_EENS1_15take_width_viewINS8_ISC_SC_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESN_bENKUlcE0_clEc Line | Count | Source | 3787 | 4 | range, [](char_type ch) noexcept { return char_to_int(ch) < 16; }); |
Unexecuted instantiation: _ZZN3scn2v34impl12float_readerIcE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_bENKUlcE0_clEc Unexecuted instantiation: _ZZN3scn2v34impl12float_readerIwE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEENS1_15take_width_viewINS8_ISE_SF_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESQ_bENKUlwE0_clEw Unexecuted instantiation: _ZZN3scn2v34impl12float_readerIwE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_bENKUlwE0_clEw _ZZN3scn2v34impl12float_readerIwE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSC_EENS1_15take_width_viewINS8_ISC_SC_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESN_bENKUlwE0_clEw Line | Count | Source | 3787 | 6 | range, [](char_type ch) noexcept { return char_to_int(ch) < 16; }); |
Unexecuted instantiation: _ZZN3scn2v34impl12float_readerIwE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_bENKUlwE0_clEw |
3788 | 10 | } Unexecuted instantiation: _ZN3scn2v34impl12float_readerIcE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEENS1_15take_width_viewINS8_ISE_SF_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESQ_b Unexecuted instantiation: _ZN3scn2v34impl12float_readerIcE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_b _ZN3scn2v34impl12float_readerIcE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSC_EENS1_15take_width_viewINS8_ISC_SC_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESN_b Line | Count | Source | 3777 | 4 | { | 3778 | 4 | if (SCN_UNLIKELY(m_locale_options.thousands_sep != 0 && | 3779 | 4 | thsep_allowed)) { | 3780 | 0 | return read_while1_code_unit(range, [&](char_type ch) noexcept { | 3781 | 0 | return char_to_int(ch) < 16 || | 3782 | 0 | ch == m_locale_options.thousands_sep; | 3783 | 0 | }); | 3784 | 0 | } | 3785 | | | 3786 | 4 | return read_while1_code_unit( | 3787 | 4 | range, [](char_type ch) noexcept { return char_to_int(ch) < 16; }); | 3788 | 4 | } |
Unexecuted instantiation: _ZN3scn2v34impl12float_readerIcE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_b Unexecuted instantiation: _ZN3scn2v34impl12float_readerIwE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEENS1_15take_width_viewINS8_ISE_SF_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESQ_b Unexecuted instantiation: _ZN3scn2v34impl12float_readerIwE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_b _ZN3scn2v34impl12float_readerIwE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSC_EENS1_15take_width_viewINS8_ISC_SC_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESN_b Line | Count | Source | 3777 | 6 | { | 3778 | 6 | if (SCN_UNLIKELY(m_locale_options.thousands_sep != 0 && | 3779 | 6 | thsep_allowed)) { | 3780 | 0 | return read_while1_code_unit(range, [&](char_type ch) noexcept { | 3781 | 0 | return char_to_int(ch) < 16 || | 3782 | 0 | ch == m_locale_options.thousands_sep; | 3783 | 0 | }); | 3784 | 0 | } | 3785 | | | 3786 | 6 | return read_while1_code_unit( | 3787 | 6 | range, [](char_type ch) noexcept { return char_to_int(ch) < 16; }); | 3788 | 6 | } |
Unexecuted instantiation: _ZN3scn2v34impl12float_readerIwE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_b |
3789 | | template <typename Range> |
3790 | | auto read_hex_prefix(Range range) |
3791 | | -> parse_expected<ranges::const_iterator_t<Range>> |
3792 | 2.02k | { |
3793 | 2.02k | return read_matching_string_classic_nocase(range, "0x"); |
3794 | 2.02k | } Unexecuted instantiation: _ZN3scn2v34impl12float_readerIcE15read_hex_prefixINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEENS1_15take_width_viewINS8_ISE_SF_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESQ_ Unexecuted instantiation: _ZN3scn2v34impl12float_readerIcE15read_hex_prefixINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_ _ZN3scn2v34impl12float_readerIcE15read_hex_prefixINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSC_EENS1_15take_width_viewINS8_ISC_SC_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESN_ Line | Count | Source | 3792 | 244 | { | 3793 | 244 | return read_matching_string_classic_nocase(range, "0x"); | 3794 | 244 | } |
_ZN3scn2v34impl12float_readerIcE15read_hex_prefixINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_ Line | Count | Source | 3792 | 890 | { | 3793 | 890 | return read_matching_string_classic_nocase(range, "0x"); | 3794 | 890 | } |
Unexecuted instantiation: _ZN3scn2v34impl12float_readerIwE15read_hex_prefixINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEENS1_15take_width_viewINS8_ISE_SF_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESQ_ Unexecuted instantiation: _ZN3scn2v34impl12float_readerIwE15read_hex_prefixINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_ _ZN3scn2v34impl12float_readerIwE15read_hex_prefixINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSC_EENS1_15take_width_viewINS8_ISC_SC_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESN_ Line | Count | Source | 3792 | 102 | { | 3793 | 102 | return read_matching_string_classic_nocase(range, "0x"); | 3794 | 102 | } |
_ZN3scn2v34impl12float_readerIwE15read_hex_prefixINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_ Line | Count | Source | 3792 | 788 | { | 3793 | 788 | return read_matching_string_classic_nocase(range, "0x"); | 3794 | 788 | } |
|
3795 | | |
3796 | | template <typename Range> |
3797 | | auto read_inf(Range range) |
3798 | | -> parse_expected<ranges::const_iterator_t<Range>> |
3799 | 2.08k | { |
3800 | 2.08k | auto it = range.begin(); |
3801 | 2.08k | if (auto r = read_matching_string_classic_nocase(range, "inf"); !r) { |
3802 | 2.08k | return unexpected(r.error()); |
3803 | 2.08k | } |
3804 | 0 | else { |
3805 | 0 | it = *r; |
3806 | 0 | } |
3807 | | |
3808 | 0 | if (auto r = read_matching_string_classic_nocase( |
3809 | 0 | ranges::subrange{it, range.end()}, "inity"); |
3810 | 0 | !r) { |
3811 | 0 | m_kind = float_kind::inf_short; |
3812 | 0 | return it; |
3813 | 0 | } |
3814 | 0 | else { |
3815 | 0 | m_kind = float_kind::inf_long; |
3816 | 0 | return *r; |
3817 | 0 | } |
3818 | 0 | } Unexecuted instantiation: _ZN3scn2v34impl12float_readerIcE8read_infINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEENS1_15take_width_viewINS8_ISE_SF_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESQ_ Unexecuted instantiation: _ZN3scn2v34impl12float_readerIcE8read_infINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_ _ZN3scn2v34impl12float_readerIcE8read_infINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSC_EENS1_15take_width_viewINS8_ISC_SC_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESN_ Line | Count | Source | 3799 | 262 | { | 3800 | 262 | auto it = range.begin(); | 3801 | 262 | if (auto r = read_matching_string_classic_nocase(range, "inf"); !r) { | 3802 | 262 | return unexpected(r.error()); | 3803 | 262 | } | 3804 | 0 | else { | 3805 | 0 | it = *r; | 3806 | 0 | } | 3807 | | | 3808 | 0 | if (auto r = read_matching_string_classic_nocase( | 3809 | 0 | ranges::subrange{it, range.end()}, "inity"); | 3810 | 0 | !r) { | 3811 | 0 | m_kind = float_kind::inf_short; | 3812 | 0 | return it; | 3813 | 0 | } | 3814 | 0 | else { | 3815 | 0 | m_kind = float_kind::inf_long; | 3816 | 0 | return *r; | 3817 | 0 | } | 3818 | 0 | } |
_ZN3scn2v34impl12float_readerIcE8read_infINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_ Line | Count | Source | 3799 | 912 | { | 3800 | 912 | auto it = range.begin(); | 3801 | 912 | if (auto r = read_matching_string_classic_nocase(range, "inf"); !r) { | 3802 | 912 | return unexpected(r.error()); | 3803 | 912 | } | 3804 | 0 | else { | 3805 | 0 | it = *r; | 3806 | 0 | } | 3807 | | | 3808 | 0 | if (auto r = read_matching_string_classic_nocase( | 3809 | 0 | ranges::subrange{it, range.end()}, "inity"); | 3810 | 0 | !r) { | 3811 | 0 | m_kind = float_kind::inf_short; | 3812 | 0 | return it; | 3813 | 0 | } | 3814 | 0 | else { | 3815 | 0 | m_kind = float_kind::inf_long; | 3816 | 0 | return *r; | 3817 | 0 | } | 3818 | 0 | } |
Unexecuted instantiation: _ZN3scn2v34impl12float_readerIwE8read_infINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEENS1_15take_width_viewINS8_ISE_SF_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESQ_ Unexecuted instantiation: _ZN3scn2v34impl12float_readerIwE8read_infINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_ _ZN3scn2v34impl12float_readerIwE8read_infINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSC_EENS1_15take_width_viewINS8_ISC_SC_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESN_ Line | Count | Source | 3799 | 110 | { | 3800 | 110 | auto it = range.begin(); | 3801 | 110 | if (auto r = read_matching_string_classic_nocase(range, "inf"); !r) { | 3802 | 110 | return unexpected(r.error()); | 3803 | 110 | } | 3804 | 0 | else { | 3805 | 0 | it = *r; | 3806 | 0 | } | 3807 | | | 3808 | 0 | if (auto r = read_matching_string_classic_nocase( | 3809 | 0 | ranges::subrange{it, range.end()}, "inity"); | 3810 | 0 | !r) { | 3811 | 0 | m_kind = float_kind::inf_short; | 3812 | 0 | return it; | 3813 | 0 | } | 3814 | 0 | else { | 3815 | 0 | m_kind = float_kind::inf_long; | 3816 | 0 | return *r; | 3817 | 0 | } | 3818 | 0 | } |
_ZN3scn2v34impl12float_readerIwE8read_infINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_ Line | Count | Source | 3799 | 796 | { | 3800 | 796 | auto it = range.begin(); | 3801 | 796 | if (auto r = read_matching_string_classic_nocase(range, "inf"); !r) { | 3802 | 796 | return unexpected(r.error()); | 3803 | 796 | } | 3804 | 0 | else { | 3805 | 0 | it = *r; | 3806 | 0 | } | 3807 | | | 3808 | 0 | if (auto r = read_matching_string_classic_nocase( | 3809 | 0 | ranges::subrange{it, range.end()}, "inity"); | 3810 | 0 | !r) { | 3811 | 0 | m_kind = float_kind::inf_short; | 3812 | 0 | return it; | 3813 | 0 | } | 3814 | 0 | else { | 3815 | 0 | m_kind = float_kind::inf_long; | 3816 | 0 | return *r; | 3817 | 0 | } | 3818 | 0 | } |
|
3819 | | |
3820 | | template <typename Range> |
3821 | | auto read_nan(Range range) -> scan_expected<ranges::const_iterator_t<Range>> |
3822 | 2.08k | { |
3823 | 2.08k | auto it = range.begin(); |
3824 | 2.08k | if (auto r = read_matching_string_classic_nocase(range, "nan"); !r) { |
3825 | 2.08k | return r.transform_error(map_parse_error_to_scan_error( |
3826 | 2.08k | scan_error::invalid_scanned_value, |
3827 | 2.08k | "Invalid floating-point NaN value")); |
3828 | 2.08k | } |
3829 | 0 | else { |
3830 | 0 | it = *r; |
3831 | 0 | } |
3832 | | |
3833 | 0 | if (auto r = |
3834 | 0 | read_matching_code_unit(ranges::subrange{it, range.end()}, '('); |
3835 | 0 | !r) { |
3836 | 0 | m_kind = float_kind::nan_simple; |
3837 | 0 | return it; |
3838 | 0 | } |
3839 | 0 | else { |
3840 | 0 | it = *r; |
3841 | 0 | } |
3842 | | |
3843 | 0 | auto payload_beg_it = it; |
3844 | 0 | it = read_while_code_unit( |
3845 | 0 | ranges::subrange{it, range.end()}, [](char_type ch) noexcept { |
3846 | 0 | return is_ascii_char(ch) && |
3847 | 0 | ((ch >= '0' && ch <= '9') || (ch >= 'a' && ch <= 'z') || |
3848 | 0 | (ch >= 'A' && ch <= 'Z') || ch == '_'); |
3849 | 0 | }); Unexecuted instantiation: _ZZN3scn2v34impl12float_readerIcE8read_nanINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEENS1_15take_width_viewINS8_ISE_SF_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESQ_ENKUlcE_clEc Unexecuted instantiation: _ZZN3scn2v34impl12float_readerIcE8read_nanINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_ENKUlcE_clEc Unexecuted instantiation: _ZZN3scn2v34impl12float_readerIcE8read_nanINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSC_EENS1_15take_width_viewINS8_ISC_SC_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESN_ENKUlcE_clEc Unexecuted instantiation: _ZZN3scn2v34impl12float_readerIcE8read_nanINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_ENKUlcE_clEc Unexecuted instantiation: _ZZN3scn2v34impl12float_readerIwE8read_nanINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEENS1_15take_width_viewINS8_ISE_SF_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESQ_ENKUlwE_clEw Unexecuted instantiation: _ZZN3scn2v34impl12float_readerIwE8read_nanINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_ENKUlwE_clEw Unexecuted instantiation: _ZZN3scn2v34impl12float_readerIwE8read_nanINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSC_EENS1_15take_width_viewINS8_ISC_SC_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESN_ENKUlwE_clEw Unexecuted instantiation: _ZZN3scn2v34impl12float_readerIwE8read_nanINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_ENKUlwE_clEw |
3850 | 0 | m_nan_payload_buffer.assign(ranges::subrange{payload_beg_it, it}); |
3851 | |
|
3852 | 0 | m_kind = float_kind::nan_with_payload; |
3853 | 0 | if (auto r = read_matching_code_unit(ranges::subrange{it, range.end()}, |
3854 | 0 | ')')) { |
3855 | 0 | return *r; |
3856 | 0 | } |
3857 | 0 | return unexpected_scan_error(scan_error::invalid_scanned_value, |
3858 | 0 | "Invalid floating-point NaN payload"); |
3859 | 0 | } Unexecuted instantiation: _ZN3scn2v34impl12float_readerIcE8read_nanINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEENS1_15take_width_viewINS8_ISE_SF_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESQ_ Unexecuted instantiation: _ZN3scn2v34impl12float_readerIcE8read_nanINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_ _ZN3scn2v34impl12float_readerIcE8read_nanINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSC_EENS1_15take_width_viewINS8_ISC_SC_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESN_ Line | Count | Source | 3822 | 262 | { | 3823 | 262 | auto it = range.begin(); | 3824 | 262 | if (auto r = read_matching_string_classic_nocase(range, "nan"); !r) { | 3825 | 262 | return r.transform_error(map_parse_error_to_scan_error( | 3826 | 262 | scan_error::invalid_scanned_value, | 3827 | 262 | "Invalid floating-point NaN value")); | 3828 | 262 | } | 3829 | 0 | else { | 3830 | 0 | it = *r; | 3831 | 0 | } | 3832 | | | 3833 | 0 | if (auto r = | 3834 | 0 | read_matching_code_unit(ranges::subrange{it, range.end()}, '('); | 3835 | 0 | !r) { | 3836 | 0 | m_kind = float_kind::nan_simple; | 3837 | 0 | return it; | 3838 | 0 | } | 3839 | 0 | else { | 3840 | 0 | it = *r; | 3841 | 0 | } | 3842 | | | 3843 | 0 | auto payload_beg_it = it; | 3844 | 0 | it = read_while_code_unit( | 3845 | 0 | ranges::subrange{it, range.end()}, [](char_type ch) noexcept { | 3846 | 0 | return is_ascii_char(ch) && | 3847 | 0 | ((ch >= '0' && ch <= '9') || (ch >= 'a' && ch <= 'z') || | 3848 | 0 | (ch >= 'A' && ch <= 'Z') || ch == '_'); | 3849 | 0 | }); | 3850 | 0 | m_nan_payload_buffer.assign(ranges::subrange{payload_beg_it, it}); | 3851 | |
| 3852 | 0 | m_kind = float_kind::nan_with_payload; | 3853 | 0 | if (auto r = read_matching_code_unit(ranges::subrange{it, range.end()}, | 3854 | 0 | ')')) { | 3855 | 0 | return *r; | 3856 | 0 | } | 3857 | 0 | return unexpected_scan_error(scan_error::invalid_scanned_value, | 3858 | 0 | "Invalid floating-point NaN payload"); | 3859 | 0 | } |
_ZN3scn2v34impl12float_readerIcE8read_nanINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_ Line | Count | Source | 3822 | 912 | { | 3823 | 912 | auto it = range.begin(); | 3824 | 912 | if (auto r = read_matching_string_classic_nocase(range, "nan"); !r) { | 3825 | 912 | return r.transform_error(map_parse_error_to_scan_error( | 3826 | 912 | scan_error::invalid_scanned_value, | 3827 | 912 | "Invalid floating-point NaN value")); | 3828 | 912 | } | 3829 | 0 | else { | 3830 | 0 | it = *r; | 3831 | 0 | } | 3832 | | | 3833 | 0 | if (auto r = | 3834 | 0 | read_matching_code_unit(ranges::subrange{it, range.end()}, '('); | 3835 | 0 | !r) { | 3836 | 0 | m_kind = float_kind::nan_simple; | 3837 | 0 | return it; | 3838 | 0 | } | 3839 | 0 | else { | 3840 | 0 | it = *r; | 3841 | 0 | } | 3842 | | | 3843 | 0 | auto payload_beg_it = it; | 3844 | 0 | it = read_while_code_unit( | 3845 | 0 | ranges::subrange{it, range.end()}, [](char_type ch) noexcept { | 3846 | 0 | return is_ascii_char(ch) && | 3847 | 0 | ((ch >= '0' && ch <= '9') || (ch >= 'a' && ch <= 'z') || | 3848 | 0 | (ch >= 'A' && ch <= 'Z') || ch == '_'); | 3849 | 0 | }); | 3850 | 0 | m_nan_payload_buffer.assign(ranges::subrange{payload_beg_it, it}); | 3851 | |
| 3852 | 0 | m_kind = float_kind::nan_with_payload; | 3853 | 0 | if (auto r = read_matching_code_unit(ranges::subrange{it, range.end()}, | 3854 | 0 | ')')) { | 3855 | 0 | return *r; | 3856 | 0 | } | 3857 | 0 | return unexpected_scan_error(scan_error::invalid_scanned_value, | 3858 | 0 | "Invalid floating-point NaN payload"); | 3859 | 0 | } |
Unexecuted instantiation: _ZN3scn2v34impl12float_readerIwE8read_nanINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEENS1_15take_width_viewINS8_ISE_SF_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESQ_ Unexecuted instantiation: _ZN3scn2v34impl12float_readerIwE8read_nanINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_ _ZN3scn2v34impl12float_readerIwE8read_nanINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSC_EENS1_15take_width_viewINS8_ISC_SC_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESN_ Line | Count | Source | 3822 | 110 | { | 3823 | 110 | auto it = range.begin(); | 3824 | 110 | if (auto r = read_matching_string_classic_nocase(range, "nan"); !r) { | 3825 | 110 | return r.transform_error(map_parse_error_to_scan_error( | 3826 | 110 | scan_error::invalid_scanned_value, | 3827 | 110 | "Invalid floating-point NaN value")); | 3828 | 110 | } | 3829 | 0 | else { | 3830 | 0 | it = *r; | 3831 | 0 | } | 3832 | | | 3833 | 0 | if (auto r = | 3834 | 0 | read_matching_code_unit(ranges::subrange{it, range.end()}, '('); | 3835 | 0 | !r) { | 3836 | 0 | m_kind = float_kind::nan_simple; | 3837 | 0 | return it; | 3838 | 0 | } | 3839 | 0 | else { | 3840 | 0 | it = *r; | 3841 | 0 | } | 3842 | | | 3843 | 0 | auto payload_beg_it = it; | 3844 | 0 | it = read_while_code_unit( | 3845 | 0 | ranges::subrange{it, range.end()}, [](char_type ch) noexcept { | 3846 | 0 | return is_ascii_char(ch) && | 3847 | 0 | ((ch >= '0' && ch <= '9') || (ch >= 'a' && ch <= 'z') || | 3848 | 0 | (ch >= 'A' && ch <= 'Z') || ch == '_'); | 3849 | 0 | }); | 3850 | 0 | m_nan_payload_buffer.assign(ranges::subrange{payload_beg_it, it}); | 3851 | |
| 3852 | 0 | m_kind = float_kind::nan_with_payload; | 3853 | 0 | if (auto r = read_matching_code_unit(ranges::subrange{it, range.end()}, | 3854 | 0 | ')')) { | 3855 | 0 | return *r; | 3856 | 0 | } | 3857 | 0 | return unexpected_scan_error(scan_error::invalid_scanned_value, | 3858 | 0 | "Invalid floating-point NaN payload"); | 3859 | 0 | } |
_ZN3scn2v34impl12float_readerIwE8read_nanINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_ Line | Count | Source | 3822 | 796 | { | 3823 | 796 | auto it = range.begin(); | 3824 | 796 | if (auto r = read_matching_string_classic_nocase(range, "nan"); !r) { | 3825 | 796 | return r.transform_error(map_parse_error_to_scan_error( | 3826 | 796 | scan_error::invalid_scanned_value, | 3827 | 796 | "Invalid floating-point NaN value")); | 3828 | 796 | } | 3829 | 0 | else { | 3830 | 0 | it = *r; | 3831 | 0 | } | 3832 | | | 3833 | 0 | if (auto r = | 3834 | 0 | read_matching_code_unit(ranges::subrange{it, range.end()}, '('); | 3835 | 0 | !r) { | 3836 | 0 | m_kind = float_kind::nan_simple; | 3837 | 0 | return it; | 3838 | 0 | } | 3839 | 0 | else { | 3840 | 0 | it = *r; | 3841 | 0 | } | 3842 | | | 3843 | 0 | auto payload_beg_it = it; | 3844 | 0 | it = read_while_code_unit( | 3845 | 0 | ranges::subrange{it, range.end()}, [](char_type ch) noexcept { | 3846 | 0 | return is_ascii_char(ch) && | 3847 | 0 | ((ch >= '0' && ch <= '9') || (ch >= 'a' && ch <= 'z') || | 3848 | 0 | (ch >= 'A' && ch <= 'Z') || ch == '_'); | 3849 | 0 | }); | 3850 | 0 | m_nan_payload_buffer.assign(ranges::subrange{payload_beg_it, it}); | 3851 | |
| 3852 | 0 | m_kind = float_kind::nan_with_payload; | 3853 | 0 | if (auto r = read_matching_code_unit(ranges::subrange{it, range.end()}, | 3854 | 0 | ')')) { | 3855 | 0 | return *r; | 3856 | 0 | } | 3857 | 0 | return unexpected_scan_error(scan_error::invalid_scanned_value, | 3858 | 0 | "Invalid floating-point NaN payload"); | 3859 | 0 | } |
|
3860 | | |
3861 | | template <typename Range> |
3862 | | auto read_exponent(Range range, std::string_view exp) |
3863 | | -> ranges::const_iterator_t<Range> |
3864 | 0 | { |
3865 | 0 | if (auto r = read_one_of_code_unit(range, exp)) { |
3866 | 0 | auto beg_exp_it = range.begin(); |
3867 | 0 | auto it = *r; |
3868 | |
|
3869 | 0 | if (auto r_sign = |
3870 | 0 | parse_numeric_sign(ranges::subrange{it, range.end()})) { |
3871 | 0 | it = r_sign->first; |
3872 | 0 | } |
3873 | |
|
3874 | 0 | if (auto r_exp = read_while1_code_unit( |
3875 | 0 | ranges::subrange{it, range.end()}, |
3876 | 0 | [](char_type ch) noexcept { return char_to_int(ch) < 10; });Unexecuted instantiation: _ZZN3scn2v34impl12float_readerIcE13read_exponentINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEENS1_15take_width_viewINS8_ISE_SF_EEE8sentinelILb1EEEEEEEDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESP_NSN_17basic_string_viewIcNSN_11char_traitsIcEEEEENKUlcE_clEc Unexecuted instantiation: _ZZN3scn2v34impl12float_readerIcE13read_exponentINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEEEDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESH_NSF_17basic_string_viewIcNSF_11char_traitsIcEEEEENKUlcE_clEc Unexecuted instantiation: _ZZN3scn2v34impl12float_readerIcE13read_exponentINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSC_EENS1_15take_width_viewINS8_ISC_SC_EEE8sentinelILb1EEEEEEEDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESM_NSK_17basic_string_viewIcNSK_11char_traitsIcEEEEENKUlcE_clEc Unexecuted instantiation: _ZZN3scn2v34impl12float_readerIcE13read_exponentINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEEEDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESE_NSC_17basic_string_viewIcNSC_11char_traitsIcEEEEENKUlcE_clEc Unexecuted instantiation: _ZZN3scn2v34impl12float_readerIwE13read_exponentINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEENS1_15take_width_viewINS8_ISE_SF_EEE8sentinelILb1EEEEEEEDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESP_NSN_17basic_string_viewIcNSN_11char_traitsIcEEEEENKUlwE_clEw Unexecuted instantiation: _ZZN3scn2v34impl12float_readerIwE13read_exponentINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEEEDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESH_NSF_17basic_string_viewIcNSF_11char_traitsIcEEEEENKUlwE_clEw Unexecuted instantiation: _ZZN3scn2v34impl12float_readerIwE13read_exponentINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSC_EENS1_15take_width_viewINS8_ISC_SC_EEE8sentinelILb1EEEEEEEDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESM_NSK_17basic_string_viewIcNSK_11char_traitsIcEEEEENKUlwE_clEw Unexecuted instantiation: _ZZN3scn2v34impl12float_readerIwE13read_exponentINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEEEDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESE_NSC_17basic_string_viewIcNSC_11char_traitsIcEEEEENKUlwE_clEw |
3877 | 0 | SCN_UNLIKELY(!r_exp)) { |
3878 | 0 | it = beg_exp_it; |
3879 | 0 | } |
3880 | 0 | else { |
3881 | 0 | it = *r_exp; |
3882 | 0 | } |
3883 | |
|
3884 | 0 | return it; |
3885 | 0 | } |
3886 | 0 | return range.begin(); |
3887 | 0 | } Unexecuted instantiation: _ZN3scn2v34impl12float_readerIcE13read_exponentINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEENS1_15take_width_viewINS8_ISE_SF_EEE8sentinelILb1EEEEEEEDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESP_NSN_17basic_string_viewIcNSN_11char_traitsIcEEEE Unexecuted instantiation: _ZN3scn2v34impl12float_readerIcE13read_exponentINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEEEDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESH_NSF_17basic_string_viewIcNSF_11char_traitsIcEEEE Unexecuted instantiation: _ZN3scn2v34impl12float_readerIcE13read_exponentINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSC_EENS1_15take_width_viewINS8_ISC_SC_EEE8sentinelILb1EEEEEEEDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESM_NSK_17basic_string_viewIcNSK_11char_traitsIcEEEE Unexecuted instantiation: _ZN3scn2v34impl12float_readerIcE13read_exponentINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEEEDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESE_NSC_17basic_string_viewIcNSC_11char_traitsIcEEEE Unexecuted instantiation: _ZN3scn2v34impl12float_readerIwE13read_exponentINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEENS1_15take_width_viewINS8_ISE_SF_EEE8sentinelILb1EEEEEEEDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESP_NSN_17basic_string_viewIcNSN_11char_traitsIcEEEE Unexecuted instantiation: _ZN3scn2v34impl12float_readerIwE13read_exponentINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEEEDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESH_NSF_17basic_string_viewIcNSF_11char_traitsIcEEEE Unexecuted instantiation: _ZN3scn2v34impl12float_readerIwE13read_exponentINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSC_EENS1_15take_width_viewINS8_ISC_SC_EEE8sentinelILb1EEEEEEEDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESM_NSK_17basic_string_viewIcNSK_11char_traitsIcEEEE Unexecuted instantiation: _ZN3scn2v34impl12float_readerIwE13read_exponentINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEEEDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESE_NSC_17basic_string_viewIcNSC_11char_traitsIcEEEE |
3888 | | |
3889 | | template <typename Range> |
3890 | | auto read_hexfloat(Range range) |
3891 | | -> scan_expected<ranges::const_iterator_t<Range>> |
3892 | 10 | { |
3893 | 10 | auto it = range.begin(); |
3894 | | |
3895 | 10 | std::ptrdiff_t digits_count = 0; |
3896 | 10 | if (auto r = read_hex_digits(ranges::subrange{it, range.end()}, true); |
3897 | 10 | SCN_UNLIKELY(!r)) { |
3898 | 10 | return r.transform_error(map_parse_error_to_scan_error( |
3899 | 10 | scan_error::invalid_scanned_value, |
3900 | 10 | "Invalid hexadecimal floating-point value")); |
3901 | 10 | } |
3902 | 0 | else { |
3903 | 0 | digits_count += ranges::distance(it, *r); |
3904 | 0 | it = *r; |
3905 | 0 | } |
3906 | | |
3907 | 0 | m_integral_part_length = digits_count; |
3908 | 0 | if (auto r = read_matching_code_unit(ranges::subrange{it, range.end()}, |
3909 | 0 | m_locale_options.decimal_point)) { |
3910 | 0 | it = *r; |
3911 | 0 | } |
3912 | |
|
3913 | 0 | if (auto r = |
3914 | 0 | read_hex_digits(ranges::subrange{it, range.end()}, false)) { |
3915 | 0 | digits_count += ranges::distance(it, *r); |
3916 | 0 | it = *r; |
3917 | 0 | } |
3918 | |
|
3919 | 0 | if (SCN_UNLIKELY(digits_count == 0)) { |
3920 | 0 | return unexpected_scan_error(scan_error::invalid_scanned_value, |
3921 | 0 | "No significand digits in hexfloat"); |
3922 | 0 | } |
3923 | | |
3924 | 0 | it = read_exponent(ranges::subrange{it, range.end()}, "pP"); |
3925 | |
|
3926 | 0 | return it; |
3927 | 0 | } Unexecuted instantiation: _ZN3scn2v34impl12float_readerIcE13read_hexfloatINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEENS1_15take_width_viewINS8_ISE_SF_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESQ_ Unexecuted instantiation: _ZN3scn2v34impl12float_readerIcE13read_hexfloatINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_ _ZN3scn2v34impl12float_readerIcE13read_hexfloatINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSC_EENS1_15take_width_viewINS8_ISC_SC_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESN_ Line | Count | Source | 3892 | 4 | { | 3893 | 4 | auto it = range.begin(); | 3894 | | | 3895 | 4 | std::ptrdiff_t digits_count = 0; | 3896 | 4 | if (auto r = read_hex_digits(ranges::subrange{it, range.end()}, true); | 3897 | 4 | SCN_UNLIKELY(!r)) { | 3898 | 4 | return r.transform_error(map_parse_error_to_scan_error( | 3899 | 4 | scan_error::invalid_scanned_value, | 3900 | 4 | "Invalid hexadecimal floating-point value")); | 3901 | 4 | } | 3902 | 0 | else { | 3903 | 0 | digits_count += ranges::distance(it, *r); | 3904 | 0 | it = *r; | 3905 | 0 | } | 3906 | | | 3907 | 0 | m_integral_part_length = digits_count; | 3908 | 0 | if (auto r = read_matching_code_unit(ranges::subrange{it, range.end()}, | 3909 | 0 | m_locale_options.decimal_point)) { | 3910 | 0 | it = *r; | 3911 | 0 | } | 3912 | |
| 3913 | 0 | if (auto r = | 3914 | 0 | read_hex_digits(ranges::subrange{it, range.end()}, false)) { | 3915 | 0 | digits_count += ranges::distance(it, *r); | 3916 | 0 | it = *r; | 3917 | 0 | } | 3918 | |
| 3919 | 0 | if (SCN_UNLIKELY(digits_count == 0)) { | 3920 | 0 | return unexpected_scan_error(scan_error::invalid_scanned_value, | 3921 | 0 | "No significand digits in hexfloat"); | 3922 | 0 | } | 3923 | | | 3924 | 0 | it = read_exponent(ranges::subrange{it, range.end()}, "pP"); | 3925 | |
| 3926 | 0 | return it; | 3927 | 0 | } |
Unexecuted instantiation: _ZN3scn2v34impl12float_readerIcE13read_hexfloatINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_ Unexecuted instantiation: _ZN3scn2v34impl12float_readerIwE13read_hexfloatINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEENS1_15take_width_viewINS8_ISE_SF_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESQ_ Unexecuted instantiation: _ZN3scn2v34impl12float_readerIwE13read_hexfloatINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_ _ZN3scn2v34impl12float_readerIwE13read_hexfloatINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSC_EENS1_15take_width_viewINS8_ISC_SC_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESN_ Line | Count | Source | 3892 | 6 | { | 3893 | 6 | auto it = range.begin(); | 3894 | | | 3895 | 6 | std::ptrdiff_t digits_count = 0; | 3896 | 6 | if (auto r = read_hex_digits(ranges::subrange{it, range.end()}, true); | 3897 | 6 | SCN_UNLIKELY(!r)) { | 3898 | 6 | return r.transform_error(map_parse_error_to_scan_error( | 3899 | 6 | scan_error::invalid_scanned_value, | 3900 | 6 | "Invalid hexadecimal floating-point value")); | 3901 | 6 | } | 3902 | 0 | else { | 3903 | 0 | digits_count += ranges::distance(it, *r); | 3904 | 0 | it = *r; | 3905 | 0 | } | 3906 | | | 3907 | 0 | m_integral_part_length = digits_count; | 3908 | 0 | if (auto r = read_matching_code_unit(ranges::subrange{it, range.end()}, | 3909 | 0 | m_locale_options.decimal_point)) { | 3910 | 0 | it = *r; | 3911 | 0 | } | 3912 | |
| 3913 | 0 | if (auto r = | 3914 | 0 | read_hex_digits(ranges::subrange{it, range.end()}, false)) { | 3915 | 0 | digits_count += ranges::distance(it, *r); | 3916 | 0 | it = *r; | 3917 | 0 | } | 3918 | |
| 3919 | 0 | if (SCN_UNLIKELY(digits_count == 0)) { | 3920 | 0 | return unexpected_scan_error(scan_error::invalid_scanned_value, | 3921 | 0 | "No significand digits in hexfloat"); | 3922 | 0 | } | 3923 | | | 3924 | 0 | it = read_exponent(ranges::subrange{it, range.end()}, "pP"); | 3925 | |
| 3926 | 0 | return it; | 3927 | 0 | } |
Unexecuted instantiation: _ZN3scn2v34impl12float_readerIwE13read_hexfloatINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_ |
3928 | | |
3929 | | template <typename Range> |
3930 | | auto read_regular_float(Range range) |
3931 | | -> scan_expected<ranges::const_iterator_t<Range>> |
3932 | 392 | { |
3933 | 392 | const bool allowed_exp = (m_options & allow_scientific) != 0; |
3934 | 392 | const bool required_exp = allowed_exp && (m_options & allow_fixed) == 0; |
3935 | | |
3936 | 392 | auto it = ranges::begin(range); |
3937 | 392 | std::ptrdiff_t digits_count = 0; |
3938 | | |
3939 | 392 | if (auto r = read_dec_digits(ranges::subrange{it, range.end()}, true); |
3940 | 392 | SCN_UNLIKELY(!r)) { |
3941 | 392 | return r.transform_error( |
3942 | 392 | map_parse_error_to_scan_error(scan_error::invalid_scanned_value, |
3943 | 392 | "Invalid floating-point value")); |
3944 | 392 | } |
3945 | 0 | else { |
3946 | 0 | digits_count += ranges::distance(it, *r); |
3947 | 0 | it = *r; |
3948 | 0 | } |
3949 | | |
3950 | 0 | m_integral_part_length = digits_count; |
3951 | 0 | if (auto r = read_matching_code_unit(ranges::subrange{it, range.end()}, |
3952 | 0 | m_locale_options.decimal_point)) { |
3953 | 0 | it = *r; |
3954 | 0 | } |
3955 | |
|
3956 | 0 | if (auto r = |
3957 | 0 | read_dec_digits(ranges::subrange{it, range.end()}, false)) { |
3958 | 0 | digits_count += ranges::distance(it, *r); |
3959 | 0 | it = *r; |
3960 | 0 | } |
3961 | |
|
3962 | 0 | if (SCN_UNLIKELY(digits_count == 0)) { |
3963 | 0 | return unexpected_scan_error(scan_error::invalid_scanned_value, |
3964 | 0 | "No significand digits in float"); |
3965 | 0 | } |
3966 | | |
3967 | 0 | auto beg_exp_it = it; |
3968 | 0 | if (allowed_exp) { |
3969 | 0 | it = read_exponent(ranges::subrange{it, range.end()}, "eE"); |
3970 | 0 | } |
3971 | 0 | if (required_exp && beg_exp_it == it) { |
3972 | 0 | return unexpected_scan_error( |
3973 | 0 | scan_error::invalid_scanned_value, |
3974 | 0 | "No exponent given to scientific float"); |
3975 | 0 | } |
3976 | | |
3977 | 0 | m_kind = |
3978 | 0 | (beg_exp_it == it) ? float_kind::fixed : float_kind::scientific; |
3979 | |
|
3980 | 0 | return it; |
3981 | 0 | } Unexecuted instantiation: _ZN3scn2v34impl12float_readerIcE18read_regular_floatINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEENS1_15take_width_viewINS8_ISE_SF_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESQ_ Unexecuted instantiation: _ZN3scn2v34impl12float_readerIcE18read_regular_floatINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_ _ZN3scn2v34impl12float_readerIcE18read_regular_floatINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSC_EENS1_15take_width_viewINS8_ISC_SC_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESN_ Line | Count | Source | 3932 | 258 | { | 3933 | 258 | const bool allowed_exp = (m_options & allow_scientific) != 0; | 3934 | 258 | const bool required_exp = allowed_exp && (m_options & allow_fixed) == 0; | 3935 | | | 3936 | 258 | auto it = ranges::begin(range); | 3937 | 258 | std::ptrdiff_t digits_count = 0; | 3938 | | | 3939 | 258 | if (auto r = read_dec_digits(ranges::subrange{it, range.end()}, true); | 3940 | 258 | SCN_UNLIKELY(!r)) { | 3941 | 258 | return r.transform_error( | 3942 | 258 | map_parse_error_to_scan_error(scan_error::invalid_scanned_value, | 3943 | 258 | "Invalid floating-point value")); | 3944 | 258 | } | 3945 | 0 | else { | 3946 | 0 | digits_count += ranges::distance(it, *r); | 3947 | 0 | it = *r; | 3948 | 0 | } | 3949 | | | 3950 | 0 | m_integral_part_length = digits_count; | 3951 | 0 | if (auto r = read_matching_code_unit(ranges::subrange{it, range.end()}, | 3952 | 0 | m_locale_options.decimal_point)) { | 3953 | 0 | it = *r; | 3954 | 0 | } | 3955 | |
| 3956 | 0 | if (auto r = | 3957 | 0 | read_dec_digits(ranges::subrange{it, range.end()}, false)) { | 3958 | 0 | digits_count += ranges::distance(it, *r); | 3959 | 0 | it = *r; | 3960 | 0 | } | 3961 | |
| 3962 | 0 | if (SCN_UNLIKELY(digits_count == 0)) { | 3963 | 0 | return unexpected_scan_error(scan_error::invalid_scanned_value, | 3964 | 0 | "No significand digits in float"); | 3965 | 0 | } | 3966 | | | 3967 | 0 | auto beg_exp_it = it; | 3968 | 0 | if (allowed_exp) { | 3969 | 0 | it = read_exponent(ranges::subrange{it, range.end()}, "eE"); | 3970 | 0 | } | 3971 | 0 | if (required_exp && beg_exp_it == it) { | 3972 | 0 | return unexpected_scan_error( | 3973 | 0 | scan_error::invalid_scanned_value, | 3974 | 0 | "No exponent given to scientific float"); | 3975 | 0 | } | 3976 | | | 3977 | 0 | m_kind = | 3978 | 0 | (beg_exp_it == it) ? float_kind::fixed : float_kind::scientific; | 3979 | |
| 3980 | 0 | return it; | 3981 | 0 | } |
_ZN3scn2v34impl12float_readerIcE18read_regular_floatINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_ Line | Count | Source | 3932 | 22 | { | 3933 | 22 | const bool allowed_exp = (m_options & allow_scientific) != 0; | 3934 | 22 | const bool required_exp = allowed_exp && (m_options & allow_fixed) == 0; | 3935 | | | 3936 | 22 | auto it = ranges::begin(range); | 3937 | 22 | std::ptrdiff_t digits_count = 0; | 3938 | | | 3939 | 22 | if (auto r = read_dec_digits(ranges::subrange{it, range.end()}, true); | 3940 | 22 | SCN_UNLIKELY(!r)) { | 3941 | 22 | return r.transform_error( | 3942 | 22 | map_parse_error_to_scan_error(scan_error::invalid_scanned_value, | 3943 | 22 | "Invalid floating-point value")); | 3944 | 22 | } | 3945 | 0 | else { | 3946 | 0 | digits_count += ranges::distance(it, *r); | 3947 | 0 | it = *r; | 3948 | 0 | } | 3949 | | | 3950 | 0 | m_integral_part_length = digits_count; | 3951 | 0 | if (auto r = read_matching_code_unit(ranges::subrange{it, range.end()}, | 3952 | 0 | m_locale_options.decimal_point)) { | 3953 | 0 | it = *r; | 3954 | 0 | } | 3955 | |
| 3956 | 0 | if (auto r = | 3957 | 0 | read_dec_digits(ranges::subrange{it, range.end()}, false)) { | 3958 | 0 | digits_count += ranges::distance(it, *r); | 3959 | 0 | it = *r; | 3960 | 0 | } | 3961 | |
| 3962 | 0 | if (SCN_UNLIKELY(digits_count == 0)) { | 3963 | 0 | return unexpected_scan_error(scan_error::invalid_scanned_value, | 3964 | 0 | "No significand digits in float"); | 3965 | 0 | } | 3966 | | | 3967 | 0 | auto beg_exp_it = it; | 3968 | 0 | if (allowed_exp) { | 3969 | 0 | it = read_exponent(ranges::subrange{it, range.end()}, "eE"); | 3970 | 0 | } | 3971 | 0 | if (required_exp && beg_exp_it == it) { | 3972 | 0 | return unexpected_scan_error( | 3973 | 0 | scan_error::invalid_scanned_value, | 3974 | 0 | "No exponent given to scientific float"); | 3975 | 0 | } | 3976 | | | 3977 | 0 | m_kind = | 3978 | 0 | (beg_exp_it == it) ? float_kind::fixed : float_kind::scientific; | 3979 | |
| 3980 | 0 | return it; | 3981 | 0 | } |
Unexecuted instantiation: _ZN3scn2v34impl12float_readerIwE18read_regular_floatINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEENS1_15take_width_viewINS8_ISE_SF_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESQ_ Unexecuted instantiation: _ZN3scn2v34impl12float_readerIwE18read_regular_floatINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_ _ZN3scn2v34impl12float_readerIwE18read_regular_floatINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSC_EENS1_15take_width_viewINS8_ISC_SC_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESN_ Line | Count | Source | 3932 | 104 | { | 3933 | 104 | const bool allowed_exp = (m_options & allow_scientific) != 0; | 3934 | 104 | const bool required_exp = allowed_exp && (m_options & allow_fixed) == 0; | 3935 | | | 3936 | 104 | auto it = ranges::begin(range); | 3937 | 104 | std::ptrdiff_t digits_count = 0; | 3938 | | | 3939 | 104 | if (auto r = read_dec_digits(ranges::subrange{it, range.end()}, true); | 3940 | 104 | SCN_UNLIKELY(!r)) { | 3941 | 104 | return r.transform_error( | 3942 | 104 | map_parse_error_to_scan_error(scan_error::invalid_scanned_value, | 3943 | 104 | "Invalid floating-point value")); | 3944 | 104 | } | 3945 | 0 | else { | 3946 | 0 | digits_count += ranges::distance(it, *r); | 3947 | 0 | it = *r; | 3948 | 0 | } | 3949 | | | 3950 | 0 | m_integral_part_length = digits_count; | 3951 | 0 | if (auto r = read_matching_code_unit(ranges::subrange{it, range.end()}, | 3952 | 0 | m_locale_options.decimal_point)) { | 3953 | 0 | it = *r; | 3954 | 0 | } | 3955 | |
| 3956 | 0 | if (auto r = | 3957 | 0 | read_dec_digits(ranges::subrange{it, range.end()}, false)) { | 3958 | 0 | digits_count += ranges::distance(it, *r); | 3959 | 0 | it = *r; | 3960 | 0 | } | 3961 | |
| 3962 | 0 | if (SCN_UNLIKELY(digits_count == 0)) { | 3963 | 0 | return unexpected_scan_error(scan_error::invalid_scanned_value, | 3964 | 0 | "No significand digits in float"); | 3965 | 0 | } | 3966 | | | 3967 | 0 | auto beg_exp_it = it; | 3968 | 0 | if (allowed_exp) { | 3969 | 0 | it = read_exponent(ranges::subrange{it, range.end()}, "eE"); | 3970 | 0 | } | 3971 | 0 | if (required_exp && beg_exp_it == it) { | 3972 | 0 | return unexpected_scan_error( | 3973 | 0 | scan_error::invalid_scanned_value, | 3974 | 0 | "No exponent given to scientific float"); | 3975 | 0 | } | 3976 | | | 3977 | 0 | m_kind = | 3978 | 0 | (beg_exp_it == it) ? float_kind::fixed : float_kind::scientific; | 3979 | |
| 3980 | 0 | return it; | 3981 | 0 | } |
_ZN3scn2v34impl12float_readerIwE18read_regular_floatINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_ Line | Count | Source | 3932 | 8 | { | 3933 | 8 | const bool allowed_exp = (m_options & allow_scientific) != 0; | 3934 | 8 | const bool required_exp = allowed_exp && (m_options & allow_fixed) == 0; | 3935 | | | 3936 | 8 | auto it = ranges::begin(range); | 3937 | 8 | std::ptrdiff_t digits_count = 0; | 3938 | | | 3939 | 8 | if (auto r = read_dec_digits(ranges::subrange{it, range.end()}, true); | 3940 | 8 | SCN_UNLIKELY(!r)) { | 3941 | 8 | return r.transform_error( | 3942 | 8 | map_parse_error_to_scan_error(scan_error::invalid_scanned_value, | 3943 | 8 | "Invalid floating-point value")); | 3944 | 8 | } | 3945 | 0 | else { | 3946 | 0 | digits_count += ranges::distance(it, *r); | 3947 | 0 | it = *r; | 3948 | 0 | } | 3949 | | | 3950 | 0 | m_integral_part_length = digits_count; | 3951 | 0 | if (auto r = read_matching_code_unit(ranges::subrange{it, range.end()}, | 3952 | 0 | m_locale_options.decimal_point)) { | 3953 | 0 | it = *r; | 3954 | 0 | } | 3955 | |
| 3956 | 0 | if (auto r = | 3957 | 0 | read_dec_digits(ranges::subrange{it, range.end()}, false)) { | 3958 | 0 | digits_count += ranges::distance(it, *r); | 3959 | 0 | it = *r; | 3960 | 0 | } | 3961 | |
| 3962 | 0 | if (SCN_UNLIKELY(digits_count == 0)) { | 3963 | 0 | return unexpected_scan_error(scan_error::invalid_scanned_value, | 3964 | 0 | "No significand digits in float"); | 3965 | 0 | } | 3966 | | | 3967 | 0 | auto beg_exp_it = it; | 3968 | 0 | if (allowed_exp) { | 3969 | 0 | it = read_exponent(ranges::subrange{it, range.end()}, "eE"); | 3970 | 0 | } | 3971 | 0 | if (required_exp && beg_exp_it == it) { | 3972 | 0 | return unexpected_scan_error( | 3973 | 0 | scan_error::invalid_scanned_value, | 3974 | 0 | "No exponent given to scientific float"); | 3975 | 0 | } | 3976 | | | 3977 | 0 | m_kind = | 3978 | 0 | (beg_exp_it == it) ? float_kind::fixed : float_kind::scientific; | 3979 | |
| 3980 | 0 | return it; | 3981 | 0 | } |
|
3982 | | |
3983 | | template <typename Range, typename ReadRegular, typename ReadHex> |
3984 | | auto do_read_source_impl(Range range, |
3985 | | ReadRegular&& read_regular, |
3986 | | ReadHex&& read_hex) |
3987 | | -> scan_expected<ranges::const_iterator_t<Range>> |
3988 | 2.08k | { |
3989 | 2.08k | const bool allowed_hex = (m_options & allow_hex) != 0; |
3990 | 2.08k | const bool allowed_nonhex = |
3991 | 2.08k | (m_options & ~static_cast<unsigned>(allow_thsep) & |
3992 | 2.08k | ~static_cast<unsigned>(allow_hex)) != 0; |
3993 | | |
3994 | 2.08k | if (auto r = read_inf(range); !r && m_kind != float_kind::tbd) { |
3995 | 0 | return r.transform_error(map_parse_error_to_scan_error( |
3996 | 0 | scan_error::invalid_scanned_value, |
3997 | 0 | "Invalid infinite floating-point value")); |
3998 | 0 | } |
3999 | 2.08k | else if (r) { |
4000 | 0 | return *r; |
4001 | 0 | } |
4002 | | |
4003 | 2.08k | if (auto r = read_nan(range); !r && m_kind != float_kind::tbd) { |
4004 | 0 | return unexpected(r.error()); |
4005 | 0 | } |
4006 | 2.08k | else if (r) { |
4007 | 0 | return *r; |
4008 | 0 | } |
4009 | | |
4010 | 2.08k | if (allowed_hex && !allowed_nonhex) { |
4011 | | // only hex allowed: |
4012 | | // prefix "0x" allowed, not required |
4013 | 30 | auto it = range.begin(); |
4014 | | |
4015 | 30 | if (auto r = read_hex_prefix(range)) { |
4016 | 0 | m_kind = float_kind::hex_with_prefix; |
4017 | 0 | it = *r; |
4018 | 0 | } |
4019 | 30 | else { |
4020 | 30 | m_kind = float_kind::hex_without_prefix; |
4021 | 30 | } |
4022 | | |
4023 | 30 | return read_hex(ranges::subrange{it, range.end()}); |
4024 | 30 | } |
4025 | 2.05k | if (!allowed_hex && allowed_nonhex) { |
4026 | | // only nonhex allowed: |
4027 | | // no prefix allowed |
4028 | 56 | m_kind = float_kind::generic; |
4029 | 56 | return read_regular_float(range); |
4030 | 56 | } |
4031 | | // both hex and nonhex allowed: |
4032 | | // check for "0x" prefix -> hex, |
4033 | | // regular otherwise |
4034 | | |
4035 | 1.99k | if (auto r = read_hex_prefix(range); SCN_UNLIKELY(r)) { |
4036 | 0 | m_kind = float_kind::hex_with_prefix; |
4037 | 0 | return read_hex(ranges::subrange{*r, range.end()}); |
4038 | 0 | } |
4039 | | |
4040 | 1.99k | m_kind = float_kind::generic; |
4041 | 1.99k | return read_regular(range); |
4042 | 1.99k | } Unexecuted instantiation: _ZN3scn2v34impl12float_readerIcE19do_read_source_implINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEENS1_15take_width_viewINS8_ISE_SF_EEE8sentinelILb1EEEEEZNS3_16read_source_implISJ_EENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_EUlRKSR_E_ZNSN_ISJ_EESW_SR_EUlSY_E0_EESW_SR_OT0_OT1_ Unexecuted instantiation: _ZN3scn2v34impl12float_readerIcE19do_read_source_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEZNS3_16read_source_implISE_EENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_EUlRKSJ_E_ZNSF_ISE_EESO_SJ_EUlSQ_E0_EESO_SJ_OT0_OT1_ _ZN3scn2v34impl12float_readerIcE19do_read_source_implINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSC_EENS1_15take_width_viewINS8_ISC_SC_EEE8sentinelILb1EEEEEZNS3_16read_source_implISG_EENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_EUlRKSO_E_ZNSK_ISG_EEST_SO_EUlSV_E0_EEST_SO_OT0_OT1_ Line | Count | Source | 3988 | 262 | { | 3989 | 262 | const bool allowed_hex = (m_options & allow_hex) != 0; | 3990 | 262 | const bool allowed_nonhex = | 3991 | 262 | (m_options & ~static_cast<unsigned>(allow_thsep) & | 3992 | 262 | ~static_cast<unsigned>(allow_hex)) != 0; | 3993 | | | 3994 | 262 | if (auto r = read_inf(range); !r && m_kind != float_kind::tbd) { | 3995 | 0 | return r.transform_error(map_parse_error_to_scan_error( | 3996 | 0 | scan_error::invalid_scanned_value, | 3997 | 0 | "Invalid infinite floating-point value")); | 3998 | 0 | } | 3999 | 262 | else if (r) { | 4000 | 0 | return *r; | 4001 | 0 | } | 4002 | | | 4003 | 262 | if (auto r = read_nan(range); !r && m_kind != float_kind::tbd) { | 4004 | 0 | return unexpected(r.error()); | 4005 | 0 | } | 4006 | 262 | else if (r) { | 4007 | 0 | return *r; | 4008 | 0 | } | 4009 | | | 4010 | 262 | if (allowed_hex && !allowed_nonhex) { | 4011 | | // only hex allowed: | 4012 | | // prefix "0x" allowed, not required | 4013 | 4 | auto it = range.begin(); | 4014 | | | 4015 | 4 | if (auto r = read_hex_prefix(range)) { | 4016 | 0 | m_kind = float_kind::hex_with_prefix; | 4017 | 0 | it = *r; | 4018 | 0 | } | 4019 | 4 | else { | 4020 | 4 | m_kind = float_kind::hex_without_prefix; | 4021 | 4 | } | 4022 | | | 4023 | 4 | return read_hex(ranges::subrange{it, range.end()}); | 4024 | 4 | } | 4025 | 258 | if (!allowed_hex && allowed_nonhex) { | 4026 | | // only nonhex allowed: | 4027 | | // no prefix allowed | 4028 | 18 | m_kind = float_kind::generic; | 4029 | 18 | return read_regular_float(range); | 4030 | 18 | } | 4031 | | // both hex and nonhex allowed: | 4032 | | // check for "0x" prefix -> hex, | 4033 | | // regular otherwise | 4034 | | | 4035 | 240 | if (auto r = read_hex_prefix(range); SCN_UNLIKELY(r)) { | 4036 | 0 | m_kind = float_kind::hex_with_prefix; | 4037 | 0 | return read_hex(ranges::subrange{*r, range.end()}); | 4038 | 0 | } | 4039 | | | 4040 | 240 | m_kind = float_kind::generic; | 4041 | 240 | return read_regular(range); | 4042 | 240 | } |
Unexecuted instantiation: _ZN3scn2v34impl12float_readerIcE19do_read_source_implINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEZNS3_16read_source_implISB_EENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_EUlRKSG_E_ZNSC_ISB_EESL_SG_EUlSN_E0_EESL_SG_OT0_OT1_ _ZN3scn2v34impl12float_readerIcE19do_read_source_implINS0_6ranges6detail9subrange_8subrangeIPKcSA_EERZNS3_16read_source_implISB_EENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_EUlRKSG_E1_SP_EESL_SG_OT0_OT1_ Line | Count | Source | 3988 | 912 | { | 3989 | 912 | const bool allowed_hex = (m_options & allow_hex) != 0; | 3990 | 912 | const bool allowed_nonhex = | 3991 | 912 | (m_options & ~static_cast<unsigned>(allow_thsep) & | 3992 | 912 | ~static_cast<unsigned>(allow_hex)) != 0; | 3993 | | | 3994 | 912 | if (auto r = read_inf(range); !r && m_kind != float_kind::tbd) { | 3995 | 0 | return r.transform_error(map_parse_error_to_scan_error( | 3996 | 0 | scan_error::invalid_scanned_value, | 3997 | 0 | "Invalid infinite floating-point value")); | 3998 | 0 | } | 3999 | 912 | else if (r) { | 4000 | 0 | return *r; | 4001 | 0 | } | 4002 | | | 4003 | 912 | if (auto r = read_nan(range); !r && m_kind != float_kind::tbd) { | 4004 | 0 | return unexpected(r.error()); | 4005 | 0 | } | 4006 | 912 | else if (r) { | 4007 | 0 | return *r; | 4008 | 0 | } | 4009 | | | 4010 | 912 | if (allowed_hex && !allowed_nonhex) { | 4011 | | // only hex allowed: | 4012 | | // prefix "0x" allowed, not required | 4013 | 8 | auto it = range.begin(); | 4014 | | | 4015 | 8 | if (auto r = read_hex_prefix(range)) { | 4016 | 0 | m_kind = float_kind::hex_with_prefix; | 4017 | 0 | it = *r; | 4018 | 0 | } | 4019 | 8 | else { | 4020 | 8 | m_kind = float_kind::hex_without_prefix; | 4021 | 8 | } | 4022 | | | 4023 | 8 | return read_hex(ranges::subrange{it, range.end()}); | 4024 | 8 | } | 4025 | 904 | if (!allowed_hex && allowed_nonhex) { | 4026 | | // only nonhex allowed: | 4027 | | // no prefix allowed | 4028 | 22 | m_kind = float_kind::generic; | 4029 | 22 | return read_regular_float(range); | 4030 | 22 | } | 4031 | | // both hex and nonhex allowed: | 4032 | | // check for "0x" prefix -> hex, | 4033 | | // regular otherwise | 4034 | | | 4035 | 882 | if (auto r = read_hex_prefix(range); SCN_UNLIKELY(r)) { | 4036 | 0 | m_kind = float_kind::hex_with_prefix; | 4037 | 0 | return read_hex(ranges::subrange{*r, range.end()}); | 4038 | 0 | } | 4039 | | | 4040 | 882 | m_kind = float_kind::generic; | 4041 | 882 | return read_regular(range); | 4042 | 882 | } |
Unexecuted instantiation: _ZN3scn2v34impl12float_readerIwE19do_read_source_implINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEENS1_15take_width_viewINS8_ISE_SF_EEE8sentinelILb1EEEEEZNS3_16read_source_implISJ_EENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_EUlRKSR_E_ZNSN_ISJ_EESW_SR_EUlSY_E0_EESW_SR_OT0_OT1_ Unexecuted instantiation: _ZN3scn2v34impl12float_readerIwE19do_read_source_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEZNS3_16read_source_implISE_EENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_EUlRKSJ_E_ZNSF_ISE_EESO_SJ_EUlSQ_E0_EESO_SJ_OT0_OT1_ _ZN3scn2v34impl12float_readerIwE19do_read_source_implINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSC_EENS1_15take_width_viewINS8_ISC_SC_EEE8sentinelILb1EEEEEZNS3_16read_source_implISG_EENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_EUlRKSO_E_ZNSK_ISG_EEST_SO_EUlSV_E0_EEST_SO_OT0_OT1_ Line | Count | Source | 3988 | 110 | { | 3989 | 110 | const bool allowed_hex = (m_options & allow_hex) != 0; | 3990 | 110 | const bool allowed_nonhex = | 3991 | 110 | (m_options & ~static_cast<unsigned>(allow_thsep) & | 3992 | 110 | ~static_cast<unsigned>(allow_hex)) != 0; | 3993 | | | 3994 | 110 | if (auto r = read_inf(range); !r && m_kind != float_kind::tbd) { | 3995 | 0 | return r.transform_error(map_parse_error_to_scan_error( | 3996 | 0 | scan_error::invalid_scanned_value, | 3997 | 0 | "Invalid infinite floating-point value")); | 3998 | 0 | } | 3999 | 110 | else if (r) { | 4000 | 0 | return *r; | 4001 | 0 | } | 4002 | | | 4003 | 110 | if (auto r = read_nan(range); !r && m_kind != float_kind::tbd) { | 4004 | 0 | return unexpected(r.error()); | 4005 | 0 | } | 4006 | 110 | else if (r) { | 4007 | 0 | return *r; | 4008 | 0 | } | 4009 | | | 4010 | 110 | if (allowed_hex && !allowed_nonhex) { | 4011 | | // only hex allowed: | 4012 | | // prefix "0x" allowed, not required | 4013 | 6 | auto it = range.begin(); | 4014 | | | 4015 | 6 | if (auto r = read_hex_prefix(range)) { | 4016 | 0 | m_kind = float_kind::hex_with_prefix; | 4017 | 0 | it = *r; | 4018 | 0 | } | 4019 | 6 | else { | 4020 | 6 | m_kind = float_kind::hex_without_prefix; | 4021 | 6 | } | 4022 | | | 4023 | 6 | return read_hex(ranges::subrange{it, range.end()}); | 4024 | 6 | } | 4025 | 104 | if (!allowed_hex && allowed_nonhex) { | 4026 | | // only nonhex allowed: | 4027 | | // no prefix allowed | 4028 | 8 | m_kind = float_kind::generic; | 4029 | 8 | return read_regular_float(range); | 4030 | 8 | } | 4031 | | // both hex and nonhex allowed: | 4032 | | // check for "0x" prefix -> hex, | 4033 | | // regular otherwise | 4034 | | | 4035 | 96 | if (auto r = read_hex_prefix(range); SCN_UNLIKELY(r)) { | 4036 | 0 | m_kind = float_kind::hex_with_prefix; | 4037 | 0 | return read_hex(ranges::subrange{*r, range.end()}); | 4038 | 0 | } | 4039 | | | 4040 | 96 | m_kind = float_kind::generic; | 4041 | 96 | return read_regular(range); | 4042 | 96 | } |
Unexecuted instantiation: _ZN3scn2v34impl12float_readerIwE19do_read_source_implINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEZNS3_16read_source_implISB_EENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_EUlRKSG_E_ZNSC_ISB_EESL_SG_EUlSN_E0_EESL_SG_OT0_OT1_ _ZN3scn2v34impl12float_readerIwE19do_read_source_implINS0_6ranges6detail9subrange_8subrangeIPKwSA_EERZNS3_16read_source_implISB_EENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_EUlRKSG_E1_SP_EESL_SG_OT0_OT1_ Line | Count | Source | 3988 | 796 | { | 3989 | 796 | const bool allowed_hex = (m_options & allow_hex) != 0; | 3990 | 796 | const bool allowed_nonhex = | 3991 | 796 | (m_options & ~static_cast<unsigned>(allow_thsep) & | 3992 | 796 | ~static_cast<unsigned>(allow_hex)) != 0; | 3993 | | | 3994 | 796 | if (auto r = read_inf(range); !r && m_kind != float_kind::tbd) { | 3995 | 0 | return r.transform_error(map_parse_error_to_scan_error( | 3996 | 0 | scan_error::invalid_scanned_value, | 3997 | 0 | "Invalid infinite floating-point value")); | 3998 | 0 | } | 3999 | 796 | else if (r) { | 4000 | 0 | return *r; | 4001 | 0 | } | 4002 | | | 4003 | 796 | if (auto r = read_nan(range); !r && m_kind != float_kind::tbd) { | 4004 | 0 | return unexpected(r.error()); | 4005 | 0 | } | 4006 | 796 | else if (r) { | 4007 | 0 | return *r; | 4008 | 0 | } | 4009 | | | 4010 | 796 | if (allowed_hex && !allowed_nonhex) { | 4011 | | // only hex allowed: | 4012 | | // prefix "0x" allowed, not required | 4013 | 12 | auto it = range.begin(); | 4014 | | | 4015 | 12 | if (auto r = read_hex_prefix(range)) { | 4016 | 0 | m_kind = float_kind::hex_with_prefix; | 4017 | 0 | it = *r; | 4018 | 0 | } | 4019 | 12 | else { | 4020 | 12 | m_kind = float_kind::hex_without_prefix; | 4021 | 12 | } | 4022 | | | 4023 | 12 | return read_hex(ranges::subrange{it, range.end()}); | 4024 | 12 | } | 4025 | 784 | if (!allowed_hex && allowed_nonhex) { | 4026 | | // only nonhex allowed: | 4027 | | // no prefix allowed | 4028 | 8 | m_kind = float_kind::generic; | 4029 | 8 | return read_regular_float(range); | 4030 | 8 | } | 4031 | | // both hex and nonhex allowed: | 4032 | | // check for "0x" prefix -> hex, | 4033 | | // regular otherwise | 4034 | | | 4035 | 776 | if (auto r = read_hex_prefix(range); SCN_UNLIKELY(r)) { | 4036 | 0 | m_kind = float_kind::hex_with_prefix; | 4037 | 0 | return read_hex(ranges::subrange{*r, range.end()}); | 4038 | 0 | } | 4039 | | | 4040 | 776 | m_kind = float_kind::generic; | 4041 | 776 | return read_regular(range); | 4042 | 776 | } |
|
4043 | | |
4044 | | void handle_separators() |
4045 | 1.67k | { |
4046 | 1.67k | if (m_locale_options.thousands_sep == 0 && |
4047 | 1.67k | m_locale_options.decimal_point == CharT{'.'}) { |
4048 | 1.67k | return; |
4049 | 1.67k | } |
4050 | | |
4051 | 0 | auto& str = this->m_buffer.make_into_allocated_string(); |
4052 | 0 | if (m_locale_options.decimal_point != CharT{'.'}) { |
4053 | 0 | for (auto& ch : str) { |
4054 | 0 | if (ch == m_locale_options.decimal_point) { |
4055 | 0 | ch = CharT{'.'}; |
4056 | 0 | } |
4057 | 0 | } |
4058 | 0 | } |
4059 | |
|
4060 | 0 | if (m_locale_options.thousands_sep == 0) { |
4061 | 0 | return; |
4062 | 0 | } |
4063 | | |
4064 | 0 | auto first = |
4065 | 0 | std::find(str.begin(), str.end(), m_locale_options.thousands_sep); |
4066 | 0 | if (first == str.end()) { |
4067 | 0 | return; |
4068 | 0 | } |
4069 | | |
4070 | 0 | m_thsep_indices.push_back( |
4071 | 0 | static_cast<char>(ranges::distance(str.begin(), first))); |
4072 | |
|
4073 | 0 | for (auto it = first; ++it != str.end();) { |
4074 | 0 | if (*it != m_locale_options.thousands_sep) { |
4075 | 0 | *first++ = std::move(*it); |
4076 | 0 | } |
4077 | 0 | else { |
4078 | 0 | m_thsep_indices.push_back( |
4079 | 0 | static_cast<char>(ranges::distance(str.begin(), it))); |
4080 | 0 | } |
4081 | 0 | } |
4082 | |
|
4083 | 0 | str.erase(first, str.end()); |
4084 | 0 | } scn::v3::impl::float_reader<char>::handle_separators() Line | Count | Source | 4045 | 890 | { | 4046 | 890 | if (m_locale_options.thousands_sep == 0 && | 4047 | 890 | m_locale_options.decimal_point == CharT{'.'}) { | 4048 | 890 | return; | 4049 | 890 | } | 4050 | | | 4051 | 0 | auto& str = this->m_buffer.make_into_allocated_string(); | 4052 | 0 | if (m_locale_options.decimal_point != CharT{'.'}) { | 4053 | 0 | for (auto& ch : str) { | 4054 | 0 | if (ch == m_locale_options.decimal_point) { | 4055 | 0 | ch = CharT{'.'}; | 4056 | 0 | } | 4057 | 0 | } | 4058 | 0 | } | 4059 | |
| 4060 | 0 | if (m_locale_options.thousands_sep == 0) { | 4061 | 0 | return; | 4062 | 0 | } | 4063 | | | 4064 | 0 | auto first = | 4065 | 0 | std::find(str.begin(), str.end(), m_locale_options.thousands_sep); | 4066 | 0 | if (first == str.end()) { | 4067 | 0 | return; | 4068 | 0 | } | 4069 | | | 4070 | 0 | m_thsep_indices.push_back( | 4071 | 0 | static_cast<char>(ranges::distance(str.begin(), first))); | 4072 | |
| 4073 | 0 | for (auto it = first; ++it != str.end();) { | 4074 | 0 | if (*it != m_locale_options.thousands_sep) { | 4075 | 0 | *first++ = std::move(*it); | 4076 | 0 | } | 4077 | 0 | else { | 4078 | 0 | m_thsep_indices.push_back( | 4079 | 0 | static_cast<char>(ranges::distance(str.begin(), it))); | 4080 | 0 | } | 4081 | 0 | } | 4082 | |
| 4083 | 0 | str.erase(first, str.end()); | 4084 | 0 | } |
scn::v3::impl::float_reader<wchar_t>::handle_separators() Line | Count | Source | 4045 | 788 | { | 4046 | 788 | if (m_locale_options.thousands_sep == 0 && | 4047 | 788 | m_locale_options.decimal_point == CharT{'.'}) { | 4048 | 788 | return; | 4049 | 788 | } | 4050 | | | 4051 | 0 | auto& str = this->m_buffer.make_into_allocated_string(); | 4052 | 0 | if (m_locale_options.decimal_point != CharT{'.'}) { | 4053 | 0 | for (auto& ch : str) { | 4054 | 0 | if (ch == m_locale_options.decimal_point) { | 4055 | 0 | ch = CharT{'.'}; | 4056 | 0 | } | 4057 | 0 | } | 4058 | 0 | } | 4059 | |
| 4060 | 0 | if (m_locale_options.thousands_sep == 0) { | 4061 | 0 | return; | 4062 | 0 | } | 4063 | | | 4064 | 0 | auto first = | 4065 | 0 | std::find(str.begin(), str.end(), m_locale_options.thousands_sep); | 4066 | 0 | if (first == str.end()) { | 4067 | 0 | return; | 4068 | 0 | } | 4069 | | | 4070 | 0 | m_thsep_indices.push_back( | 4071 | 0 | static_cast<char>(ranges::distance(str.begin(), first))); | 4072 | |
| 4073 | 0 | for (auto it = first; ++it != str.end();) { | 4074 | 0 | if (*it != m_locale_options.thousands_sep) { | 4075 | 0 | *first++ = std::move(*it); | 4076 | 0 | } | 4077 | 0 | else { | 4078 | 0 | m_thsep_indices.push_back( | 4079 | 0 | static_cast<char>(ranges::distance(str.begin(), it))); | 4080 | 0 | } | 4081 | 0 | } | 4082 | |
| 4083 | 0 | str.erase(first, str.end()); | 4084 | 0 | } |
|
4085 | | |
4086 | | template <typename T> |
4087 | | T setsign(T value) const |
4088 | 1.67k | { |
4089 | 1.67k | if (m_sign == sign_type::minus_sign) { |
4090 | 0 | return std::copysign(value, T{-1.0}); |
4091 | 0 | } |
4092 | 1.67k | return std::copysign(value, T{1.0}); |
4093 | 1.67k | } Unexecuted instantiation: float scn::v3::impl::float_reader<char>::setsign<float>(float) const Unexecuted instantiation: float scn::v3::impl::float_reader<wchar_t>::setsign<float>(float) const double scn::v3::impl::float_reader<char>::setsign<double>(double) const Line | Count | Source | 4088 | 890 | { | 4089 | 890 | if (m_sign == sign_type::minus_sign) { | 4090 | 0 | return std::copysign(value, T{-1.0}); | 4091 | 0 | } | 4092 | 890 | return std::copysign(value, T{1.0}); | 4093 | 890 | } |
double scn::v3::impl::float_reader<wchar_t>::setsign<double>(double) const Line | Count | Source | 4088 | 788 | { | 4089 | 788 | if (m_sign == sign_type::minus_sign) { | 4090 | 0 | return std::copysign(value, T{-1.0}); | 4091 | 0 | } | 4092 | 788 | return std::copysign(value, T{1.0}); | 4093 | 788 | } |
Unexecuted instantiation: long double scn::v3::impl::float_reader<char>::setsign<long double>(long double) const Unexecuted instantiation: long double scn::v3::impl::float_reader<wchar_t>::setsign<long double>(long double) const |
4094 | | |
4095 | | template <typename T> |
4096 | | scan_expected<std::ptrdiff_t> parse_value_impl(T& value); |
4097 | | |
4098 | | localized_number_formatting_options<CharT> m_locale_options{}; |
4099 | | std::string m_thsep_indices{}; |
4100 | | contiguous_range_factory<CharT> m_nan_payload_buffer{}; |
4101 | | std::ptrdiff_t m_integral_part_length{-1}; |
4102 | | sign_type m_sign{sign_type::default_sign}; |
4103 | | float_kind m_kind{float_kind::tbd}; |
4104 | | }; |
4105 | | |
4106 | | #define SCN_DECLARE_FLOAT_READER_TEMPLATE(CharT, FloatT) \ |
4107 | | extern template auto float_reader<CharT>::parse_value_impl(FloatT&) \ |
4108 | | -> scan_expected<std::ptrdiff_t>; |
4109 | | |
4110 | | #if !SCN_DISABLE_TYPE_FLOAT |
4111 | | SCN_DECLARE_FLOAT_READER_TEMPLATE(char, float) |
4112 | | SCN_DECLARE_FLOAT_READER_TEMPLATE(wchar_t, float) |
4113 | | #endif |
4114 | | #if !SCN_DISABLE_TYPE_DOUBLE |
4115 | | SCN_DECLARE_FLOAT_READER_TEMPLATE(char, double) |
4116 | | SCN_DECLARE_FLOAT_READER_TEMPLATE(wchar_t, double) |
4117 | | #endif |
4118 | | #if !SCN_DISABLE_TYPE_LONG_DOUBLE |
4119 | | SCN_DECLARE_FLOAT_READER_TEMPLATE(char, long double) |
4120 | | SCN_DECLARE_FLOAT_READER_TEMPLATE(wchar_t, long double) |
4121 | | #endif |
4122 | | |
4123 | | #undef SCN_DECLARE_FLOAT_READER_TEMPLATE |
4124 | | |
4125 | | template <typename CharT> |
4126 | | class reader_impl_for_float |
4127 | | : public reader_base<reader_impl_for_float<CharT>, CharT> { |
4128 | | public: |
4129 | | constexpr reader_impl_for_float() = default; |
4130 | | |
4131 | | void check_specs_impl(const detail::format_specs& specs, |
4132 | | reader_error_handler& eh) |
4133 | 7.93k | { |
4134 | 7.93k | detail::check_float_type_specs(specs, eh); |
4135 | 7.93k | } scn::v3::impl::reader_impl_for_float<char>::check_specs_impl(scn::v3::detail::format_specs const&, scn::v3::impl::reader_error_handler&) Line | Count | Source | 4133 | 5.20k | { | 4134 | 5.20k | detail::check_float_type_specs(specs, eh); | 4135 | 5.20k | } |
scn::v3::impl::reader_impl_for_float<wchar_t>::check_specs_impl(scn::v3::detail::format_specs const&, scn::v3::impl::reader_error_handler&) Line | Count | Source | 4133 | 2.73k | { | 4134 | 2.73k | detail::check_float_type_specs(specs, eh); | 4135 | 2.73k | } |
|
4136 | | |
4137 | | template <typename Range, typename T> |
4138 | | auto read_default(Range range, T& value, detail::locale_ref loc) |
4139 | | -> scan_expected<ranges::const_iterator_t<Range>> |
4140 | 1.11k | { |
4141 | 1.11k | SCN_UNUSED(loc); |
4142 | | |
4143 | 1.11k | float_reader<CharT> rd{}; |
4144 | 1.11k | return read_impl<Range>( |
4145 | 1.11k | range, rd, |
4146 | 1.11k | [](float_reader<CharT>& r, auto&&... args) { |
4147 | 1.11k | return r.read_source(SCN_FWD(args)...); |
4148 | 1.11k | }, Unexecuted instantiation: _ZZN3scn2v34impl21reader_impl_for_floatIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEfEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_NS0_6detail10locale_refEENKUlRNS1_12float_readerIcEEDpOT_E_clIJSB_SO_EEEDaSR_SU_ _ZZN3scn2v34impl21reader_impl_for_floatIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEdEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_NS0_6detail10locale_refEENKUlRNS1_12float_readerIcEEDpOT_E_clIJSB_SO_EEEDaSR_SU_ Line | Count | Source | 4146 | 636 | [](float_reader<CharT>& r, auto&&... args) { | 4147 | 636 | return r.read_source(SCN_FWD(args)...); | 4148 | 636 | }, |
Unexecuted instantiation: _ZZN3scn2v34impl21reader_impl_for_floatIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEeEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_NS0_6detail10locale_refEENKUlRNS1_12float_readerIcEEDpOT_E_clIJSB_SO_EEEDaSR_SU_ Unexecuted instantiation: _ZZN3scn2v34impl21reader_impl_for_floatIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEfEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_NS9_10locale_refEENKUlRNS1_12float_readerIcEEDpOT_E_clIJSE_SQ_EEEDaST_SW_ Unexecuted instantiation: _ZZN3scn2v34impl21reader_impl_for_floatIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEdEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_NS9_10locale_refEENKUlRNS1_12float_readerIcEEDpOT_E_clIJSE_SQ_EEEDaST_SW_ Unexecuted instantiation: _ZZN3scn2v34impl21reader_impl_for_floatIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEeEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_NS9_10locale_refEENKUlRNS1_12float_readerIcEEDpOT_E_clIJSE_SQ_EEEDaST_SW_ Unexecuted instantiation: _ZZN3scn2v34impl21reader_impl_for_floatIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEfEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_NS0_6detail10locale_refEENKUlRNS1_12float_readerIwEEDpOT_E_clIJSB_SO_EEEDaSR_SU_ _ZZN3scn2v34impl21reader_impl_for_floatIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEdEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_NS0_6detail10locale_refEENKUlRNS1_12float_readerIwEEDpOT_E_clIJSB_SO_EEEDaSR_SU_ Line | Count | Source | 4146 | 474 | [](float_reader<CharT>& r, auto&&... args) { | 4147 | 474 | return r.read_source(SCN_FWD(args)...); | 4148 | 474 | }, |
Unexecuted instantiation: _ZZN3scn2v34impl21reader_impl_for_floatIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEeEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_NS0_6detail10locale_refEENKUlRNS1_12float_readerIwEEDpOT_E_clIJSB_SO_EEEDaSR_SU_ Unexecuted instantiation: _ZZN3scn2v34impl21reader_impl_for_floatIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEfEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_NS9_10locale_refEENKUlRNS1_12float_readerIwEEDpOT_E_clIJSE_SQ_EEEDaST_SW_ Unexecuted instantiation: _ZZN3scn2v34impl21reader_impl_for_floatIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEdEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_NS9_10locale_refEENKUlRNS1_12float_readerIwEEDpOT_E_clIJSE_SQ_EEEDaST_SW_ Unexecuted instantiation: _ZZN3scn2v34impl21reader_impl_for_floatIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEeEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_NS9_10locale_refEENKUlRNS1_12float_readerIwEEDpOT_E_clIJSE_SQ_EEEDaST_SW_ |
4149 | 1.11k | value); |
4150 | 1.11k | } Unexecuted instantiation: _ZN3scn2v34impl21reader_impl_for_floatIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEfEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_NS0_6detail10locale_refE _ZN3scn2v34impl21reader_impl_for_floatIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEdEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_NS0_6detail10locale_refE Line | Count | Source | 4140 | 636 | { | 4141 | 636 | SCN_UNUSED(loc); | 4142 | | | 4143 | 636 | float_reader<CharT> rd{}; | 4144 | 636 | return read_impl<Range>( | 4145 | 636 | range, rd, | 4146 | 636 | [](float_reader<CharT>& r, auto&&... args) { | 4147 | 636 | return r.read_source(SCN_FWD(args)...); | 4148 | 636 | }, | 4149 | 636 | value); | 4150 | 636 | } |
Unexecuted instantiation: _ZN3scn2v34impl21reader_impl_for_floatIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEeEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_NS0_6detail10locale_refE Unexecuted instantiation: _ZN3scn2v34impl21reader_impl_for_floatIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEfEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl21reader_impl_for_floatIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEdEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl21reader_impl_for_floatIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEeEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl21reader_impl_for_floatIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEfEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_NS0_6detail10locale_refE _ZN3scn2v34impl21reader_impl_for_floatIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEdEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_NS0_6detail10locale_refE Line | Count | Source | 4140 | 474 | { | 4141 | 474 | SCN_UNUSED(loc); | 4142 | | | 4143 | 474 | float_reader<CharT> rd{}; | 4144 | 474 | return read_impl<Range>( | 4145 | 474 | range, rd, | 4146 | 474 | [](float_reader<CharT>& r, auto&&... args) { | 4147 | 474 | return r.read_source(SCN_FWD(args)...); | 4148 | 474 | }, | 4149 | 474 | value); | 4150 | 474 | } |
Unexecuted instantiation: _ZN3scn2v34impl21reader_impl_for_floatIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEeEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_NS0_6detail10locale_refE Unexecuted instantiation: _ZN3scn2v34impl21reader_impl_for_floatIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEfEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl21reader_impl_for_floatIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEdEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl21reader_impl_for_floatIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEeEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_NS9_10locale_refE |
4151 | | |
4152 | | template <typename Range, typename T> |
4153 | | auto read_specs(Range range, |
4154 | | const detail::format_specs& specs, |
4155 | | T& value, |
4156 | | detail::locale_ref loc) |
4157 | | -> scan_expected<ranges::const_iterator_t<Range>> |
4158 | 970 | { |
4159 | 970 | float_reader<CharT> rd{get_options(specs)}; |
4160 | | |
4161 | 970 | #if !SCN_DISABLE_LOCALE |
4162 | 970 | if (specs.localized) { |
4163 | 32 | return read_impl<Range>( |
4164 | 32 | range, rd, |
4165 | 32 | [](float_reader<CharT>& r, auto&&... args) { |
4166 | 32 | return r.read_source_localized(SCN_FWD(args)...); |
4167 | 32 | }, Unexecuted instantiation: _ZZN3scn2v34impl21reader_impl_for_floatIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEfEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERT0_NSA_10locale_refEENKUlRNS1_12float_readerIcEEDpOT_E_clIJSG_SV_EEEDaSY_S11_ Unexecuted instantiation: _ZZN3scn2v34impl21reader_impl_for_floatIcE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEfEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERT0_NS9_10locale_refEENKUlRNS1_12float_readerIcEEDpOT_E_clIJSE_ST_EEEDaSW_SZ_ Unexecuted instantiation: _ZZN3scn2v34impl21reader_impl_for_floatIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEfEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERT0_NSN_10locale_refEENKUlRNS1_12float_readerIcEEDpOT_E_clIJSD_ST_EEEDaSW_SZ_ Unexecuted instantiation: _ZZN3scn2v34impl21reader_impl_for_floatIcE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEfEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERT0_NSL_10locale_refEENKUlRNS1_12float_readerIcEEDpOT_E_clIJSB_SR_EEEDaSU_SX_ Unexecuted instantiation: _ZZN3scn2v34impl21reader_impl_for_floatIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEdEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERT0_NSA_10locale_refEENKUlRNS1_12float_readerIcEEDpOT_E_clIJSG_SV_EEEDaSY_S11_ Unexecuted instantiation: _ZZN3scn2v34impl21reader_impl_for_floatIcE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEdEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERT0_NS9_10locale_refEENKUlRNS1_12float_readerIcEEDpOT_E_clIJSE_ST_EEEDaSW_SZ_ _ZZN3scn2v34impl21reader_impl_for_floatIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEdEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERT0_NSN_10locale_refEENKUlRNS1_12float_readerIcEEDpOT_E_clIJSD_ST_EEEDaSW_SZ_ Line | Count | Source | 4165 | 8 | [](float_reader<CharT>& r, auto&&... args) { | 4166 | 8 | return r.read_source_localized(SCN_FWD(args)...); | 4167 | 8 | }, |
_ZZN3scn2v34impl21reader_impl_for_floatIcE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEdEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERT0_NSL_10locale_refEENKUlRNS1_12float_readerIcEEDpOT_E_clIJSB_SR_EEEDaSU_SX_ Line | Count | Source | 4165 | 8 | [](float_reader<CharT>& r, auto&&... args) { | 4166 | 8 | return r.read_source_localized(SCN_FWD(args)...); | 4167 | 8 | }, |
Unexecuted instantiation: _ZZN3scn2v34impl21reader_impl_for_floatIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEeEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERT0_NSA_10locale_refEENKUlRNS1_12float_readerIcEEDpOT_E_clIJSG_SV_EEEDaSY_S11_ Unexecuted instantiation: _ZZN3scn2v34impl21reader_impl_for_floatIcE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEeEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERT0_NS9_10locale_refEENKUlRNS1_12float_readerIcEEDpOT_E_clIJSE_ST_EEEDaSW_SZ_ Unexecuted instantiation: _ZZN3scn2v34impl21reader_impl_for_floatIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEeEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERT0_NSN_10locale_refEENKUlRNS1_12float_readerIcEEDpOT_E_clIJSD_ST_EEEDaSW_SZ_ Unexecuted instantiation: _ZZN3scn2v34impl21reader_impl_for_floatIcE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEeEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERT0_NSL_10locale_refEENKUlRNS1_12float_readerIcEEDpOT_E_clIJSB_SR_EEEDaSU_SX_ Unexecuted instantiation: _ZZN3scn2v34impl21reader_impl_for_floatIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEfEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERT0_NSA_10locale_refEENKUlRNS1_12float_readerIwEEDpOT_E_clIJSG_SV_EEEDaSY_S11_ Unexecuted instantiation: _ZZN3scn2v34impl21reader_impl_for_floatIwE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEfEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERT0_NS9_10locale_refEENKUlRNS1_12float_readerIwEEDpOT_E_clIJSE_ST_EEEDaSW_SZ_ Unexecuted instantiation: _ZZN3scn2v34impl21reader_impl_for_floatIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEfEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERT0_NSN_10locale_refEENKUlRNS1_12float_readerIwEEDpOT_E_clIJSD_ST_EEEDaSW_SZ_ Unexecuted instantiation: _ZZN3scn2v34impl21reader_impl_for_floatIwE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEfEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERT0_NSL_10locale_refEENKUlRNS1_12float_readerIwEEDpOT_E_clIJSB_SR_EEEDaSU_SX_ Unexecuted instantiation: _ZZN3scn2v34impl21reader_impl_for_floatIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEdEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERT0_NSA_10locale_refEENKUlRNS1_12float_readerIwEEDpOT_E_clIJSG_SV_EEEDaSY_S11_ Unexecuted instantiation: _ZZN3scn2v34impl21reader_impl_for_floatIwE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEdEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERT0_NS9_10locale_refEENKUlRNS1_12float_readerIwEEDpOT_E_clIJSE_ST_EEEDaSW_SZ_ _ZZN3scn2v34impl21reader_impl_for_floatIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEdEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERT0_NSN_10locale_refEENKUlRNS1_12float_readerIwEEDpOT_E_clIJSD_ST_EEEDaSW_SZ_ Line | Count | Source | 4165 | 8 | [](float_reader<CharT>& r, auto&&... args) { | 4166 | 8 | return r.read_source_localized(SCN_FWD(args)...); | 4167 | 8 | }, |
_ZZN3scn2v34impl21reader_impl_for_floatIwE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEdEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERT0_NSL_10locale_refEENKUlRNS1_12float_readerIwEEDpOT_E_clIJSB_SR_EEEDaSU_SX_ Line | Count | Source | 4165 | 8 | [](float_reader<CharT>& r, auto&&... args) { | 4166 | 8 | return r.read_source_localized(SCN_FWD(args)...); | 4167 | 8 | }, |
Unexecuted instantiation: _ZZN3scn2v34impl21reader_impl_for_floatIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEeEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERT0_NSA_10locale_refEENKUlRNS1_12float_readerIwEEDpOT_E_clIJSG_SV_EEEDaSY_S11_ Unexecuted instantiation: _ZZN3scn2v34impl21reader_impl_for_floatIwE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEeEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERT0_NS9_10locale_refEENKUlRNS1_12float_readerIwEEDpOT_E_clIJSE_ST_EEEDaSW_SZ_ Unexecuted instantiation: _ZZN3scn2v34impl21reader_impl_for_floatIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEeEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERT0_NSN_10locale_refEENKUlRNS1_12float_readerIwEEDpOT_E_clIJSD_ST_EEEDaSW_SZ_ Unexecuted instantiation: _ZZN3scn2v34impl21reader_impl_for_floatIwE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEeEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERT0_NSL_10locale_refEENKUlRNS1_12float_readerIwEEDpOT_E_clIJSB_SR_EEEDaSU_SX_ |
4168 | 32 | value, loc); |
4169 | 32 | } |
4170 | 938 | #endif |
4171 | | |
4172 | 938 | return read_impl<Range>( |
4173 | 938 | range, rd, |
4174 | 938 | [](float_reader<CharT>& r, auto&&... args) { |
4175 | 938 | return r.read_source(SCN_FWD(args)...); |
4176 | 938 | }, Unexecuted instantiation: _ZZN3scn2v34impl21reader_impl_for_floatIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEfEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERT0_NSA_10locale_refEENKUlRNS1_12float_readerIcEEDpOT_E0_clIJSG_SV_EEEDaSY_S11_ Unexecuted instantiation: _ZZN3scn2v34impl21reader_impl_for_floatIcE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEfEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERT0_NS9_10locale_refEENKUlRNS1_12float_readerIcEEDpOT_E0_clIJSE_ST_EEEDaSW_SZ_ Unexecuted instantiation: _ZZN3scn2v34impl21reader_impl_for_floatIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEfEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERT0_NSN_10locale_refEENKUlRNS1_12float_readerIcEEDpOT_E0_clIJSD_ST_EEEDaSW_SZ_ Unexecuted instantiation: _ZZN3scn2v34impl21reader_impl_for_floatIcE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEfEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERT0_NSL_10locale_refEENKUlRNS1_12float_readerIcEEDpOT_E0_clIJSB_SR_EEEDaSU_SX_ Unexecuted instantiation: _ZZN3scn2v34impl21reader_impl_for_floatIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEdEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERT0_NSA_10locale_refEENKUlRNS1_12float_readerIcEEDpOT_E0_clIJSG_SV_EEEDaSY_S11_ Unexecuted instantiation: _ZZN3scn2v34impl21reader_impl_for_floatIcE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEdEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERT0_NS9_10locale_refEENKUlRNS1_12float_readerIcEEDpOT_E0_clIJSE_ST_EEEDaSW_SZ_ _ZZN3scn2v34impl21reader_impl_for_floatIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEdEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERT0_NSN_10locale_refEENKUlRNS1_12float_readerIcEEDpOT_E0_clIJSD_ST_EEEDaSW_SZ_ Line | Count | Source | 4174 | 254 | [](float_reader<CharT>& r, auto&&... args) { | 4175 | 254 | return r.read_source(SCN_FWD(args)...); | 4176 | 254 | }, |
_ZZN3scn2v34impl21reader_impl_for_floatIcE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEdEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERT0_NSL_10locale_refEENKUlRNS1_12float_readerIcEEDpOT_E0_clIJSB_SR_EEEDaSU_SX_ Line | Count | Source | 4174 | 268 | [](float_reader<CharT>& r, auto&&... args) { | 4175 | 268 | return r.read_source(SCN_FWD(args)...); | 4176 | 268 | }, |
Unexecuted instantiation: _ZZN3scn2v34impl21reader_impl_for_floatIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEeEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERT0_NSA_10locale_refEENKUlRNS1_12float_readerIcEEDpOT_E0_clIJSG_SV_EEEDaSY_S11_ Unexecuted instantiation: _ZZN3scn2v34impl21reader_impl_for_floatIcE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEeEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERT0_NS9_10locale_refEENKUlRNS1_12float_readerIcEEDpOT_E0_clIJSE_ST_EEEDaSW_SZ_ Unexecuted instantiation: _ZZN3scn2v34impl21reader_impl_for_floatIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEeEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERT0_NSN_10locale_refEENKUlRNS1_12float_readerIcEEDpOT_E0_clIJSD_ST_EEEDaSW_SZ_ Unexecuted instantiation: _ZZN3scn2v34impl21reader_impl_for_floatIcE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEeEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERT0_NSL_10locale_refEENKUlRNS1_12float_readerIcEEDpOT_E0_clIJSB_SR_EEEDaSU_SX_ Unexecuted instantiation: _ZZN3scn2v34impl21reader_impl_for_floatIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEfEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERT0_NSA_10locale_refEENKUlRNS1_12float_readerIwEEDpOT_E0_clIJSG_SV_EEEDaSY_S11_ Unexecuted instantiation: _ZZN3scn2v34impl21reader_impl_for_floatIwE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEfEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERT0_NS9_10locale_refEENKUlRNS1_12float_readerIwEEDpOT_E0_clIJSE_ST_EEEDaSW_SZ_ Unexecuted instantiation: _ZZN3scn2v34impl21reader_impl_for_floatIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEfEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERT0_NSN_10locale_refEENKUlRNS1_12float_readerIwEEDpOT_E0_clIJSD_ST_EEEDaSW_SZ_ Unexecuted instantiation: _ZZN3scn2v34impl21reader_impl_for_floatIwE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEfEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERT0_NSL_10locale_refEENKUlRNS1_12float_readerIwEEDpOT_E0_clIJSB_SR_EEEDaSU_SX_ Unexecuted instantiation: _ZZN3scn2v34impl21reader_impl_for_floatIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEdEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERT0_NSA_10locale_refEENKUlRNS1_12float_readerIwEEDpOT_E0_clIJSG_SV_EEEDaSY_S11_ Unexecuted instantiation: _ZZN3scn2v34impl21reader_impl_for_floatIwE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEdEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERT0_NS9_10locale_refEENKUlRNS1_12float_readerIwEEDpOT_E0_clIJSE_ST_EEEDaSW_SZ_ _ZZN3scn2v34impl21reader_impl_for_floatIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEdEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERT0_NSN_10locale_refEENKUlRNS1_12float_readerIwEEDpOT_E0_clIJSD_ST_EEEDaSW_SZ_ Line | Count | Source | 4174 | 102 | [](float_reader<CharT>& r, auto&&... args) { | 4175 | 102 | return r.read_source(SCN_FWD(args)...); | 4176 | 102 | }, |
_ZZN3scn2v34impl21reader_impl_for_floatIwE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEdEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERT0_NSL_10locale_refEENKUlRNS1_12float_readerIwEEDpOT_E0_clIJSB_SR_EEEDaSU_SX_ Line | Count | Source | 4174 | 314 | [](float_reader<CharT>& r, auto&&... args) { | 4175 | 314 | return r.read_source(SCN_FWD(args)...); | 4176 | 314 | }, |
Unexecuted instantiation: _ZZN3scn2v34impl21reader_impl_for_floatIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEeEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERT0_NSA_10locale_refEENKUlRNS1_12float_readerIwEEDpOT_E0_clIJSG_SV_EEEDaSY_S11_ Unexecuted instantiation: _ZZN3scn2v34impl21reader_impl_for_floatIwE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEeEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERT0_NS9_10locale_refEENKUlRNS1_12float_readerIwEEDpOT_E0_clIJSE_ST_EEEDaSW_SZ_ Unexecuted instantiation: _ZZN3scn2v34impl21reader_impl_for_floatIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEeEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERT0_NSN_10locale_refEENKUlRNS1_12float_readerIwEEDpOT_E0_clIJSD_ST_EEEDaSW_SZ_ Unexecuted instantiation: _ZZN3scn2v34impl21reader_impl_for_floatIwE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEeEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERT0_NSL_10locale_refEENKUlRNS1_12float_readerIwEEDpOT_E0_clIJSB_SR_EEEDaSU_SX_ |
4177 | 938 | value); |
4178 | 970 | } Unexecuted instantiation: _ZN3scn2v34impl21reader_impl_for_floatIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEfEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERT0_NSA_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl21reader_impl_for_floatIcE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEfEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl21reader_impl_for_floatIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEfEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERT0_NSN_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl21reader_impl_for_floatIcE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEfEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERT0_NSL_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl21reader_impl_for_floatIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEdEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERT0_NSA_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl21reader_impl_for_floatIcE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEdEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERT0_NS9_10locale_refE _ZN3scn2v34impl21reader_impl_for_floatIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEdEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERT0_NSN_10locale_refE Line | Count | Source | 4158 | 262 | { | 4159 | 262 | float_reader<CharT> rd{get_options(specs)}; | 4160 | | | 4161 | 262 | #if !SCN_DISABLE_LOCALE | 4162 | 262 | if (specs.localized) { | 4163 | 8 | return read_impl<Range>( | 4164 | 8 | range, rd, | 4165 | 8 | [](float_reader<CharT>& r, auto&&... args) { | 4166 | 8 | return r.read_source_localized(SCN_FWD(args)...); | 4167 | 8 | }, | 4168 | 8 | value, loc); | 4169 | 8 | } | 4170 | 254 | #endif | 4171 | | | 4172 | 254 | return read_impl<Range>( | 4173 | 254 | range, rd, | 4174 | 254 | [](float_reader<CharT>& r, auto&&... args) { | 4175 | 254 | return r.read_source(SCN_FWD(args)...); | 4176 | 254 | }, | 4177 | 254 | value); | 4178 | 262 | } |
_ZN3scn2v34impl21reader_impl_for_floatIcE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEdEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERT0_NSL_10locale_refE Line | Count | Source | 4158 | 276 | { | 4159 | 276 | float_reader<CharT> rd{get_options(specs)}; | 4160 | | | 4161 | 276 | #if !SCN_DISABLE_LOCALE | 4162 | 276 | if (specs.localized) { | 4163 | 8 | return read_impl<Range>( | 4164 | 8 | range, rd, | 4165 | 8 | [](float_reader<CharT>& r, auto&&... args) { | 4166 | 8 | return r.read_source_localized(SCN_FWD(args)...); | 4167 | 8 | }, | 4168 | 8 | value, loc); | 4169 | 8 | } | 4170 | 268 | #endif | 4171 | | | 4172 | 268 | return read_impl<Range>( | 4173 | 268 | range, rd, | 4174 | 268 | [](float_reader<CharT>& r, auto&&... args) { | 4175 | 268 | return r.read_source(SCN_FWD(args)...); | 4176 | 268 | }, | 4177 | 268 | value); | 4178 | 276 | } |
Unexecuted instantiation: _ZN3scn2v34impl21reader_impl_for_floatIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEeEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERT0_NSA_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl21reader_impl_for_floatIcE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEeEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl21reader_impl_for_floatIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEeEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERT0_NSN_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl21reader_impl_for_floatIcE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEeEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERT0_NSL_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl21reader_impl_for_floatIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEfEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERT0_NSA_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl21reader_impl_for_floatIwE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEfEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl21reader_impl_for_floatIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEfEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERT0_NSN_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl21reader_impl_for_floatIwE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEfEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERT0_NSL_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl21reader_impl_for_floatIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEdEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERT0_NSA_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl21reader_impl_for_floatIwE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEdEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERT0_NS9_10locale_refE _ZN3scn2v34impl21reader_impl_for_floatIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEdEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERT0_NSN_10locale_refE Line | Count | Source | 4158 | 110 | { | 4159 | 110 | float_reader<CharT> rd{get_options(specs)}; | 4160 | | | 4161 | 110 | #if !SCN_DISABLE_LOCALE | 4162 | 110 | if (specs.localized) { | 4163 | 8 | return read_impl<Range>( | 4164 | 8 | range, rd, | 4165 | 8 | [](float_reader<CharT>& r, auto&&... args) { | 4166 | 8 | return r.read_source_localized(SCN_FWD(args)...); | 4167 | 8 | }, | 4168 | 8 | value, loc); | 4169 | 8 | } | 4170 | 102 | #endif | 4171 | | | 4172 | 102 | return read_impl<Range>( | 4173 | 102 | range, rd, | 4174 | 102 | [](float_reader<CharT>& r, auto&&... args) { | 4175 | 102 | return r.read_source(SCN_FWD(args)...); | 4176 | 102 | }, | 4177 | 102 | value); | 4178 | 110 | } |
_ZN3scn2v34impl21reader_impl_for_floatIwE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEdEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERT0_NSL_10locale_refE Line | Count | Source | 4158 | 322 | { | 4159 | 322 | float_reader<CharT> rd{get_options(specs)}; | 4160 | | | 4161 | 322 | #if !SCN_DISABLE_LOCALE | 4162 | 322 | if (specs.localized) { | 4163 | 8 | return read_impl<Range>( | 4164 | 8 | range, rd, | 4165 | 8 | [](float_reader<CharT>& r, auto&&... args) { | 4166 | 8 | return r.read_source_localized(SCN_FWD(args)...); | 4167 | 8 | }, | 4168 | 8 | value, loc); | 4169 | 8 | } | 4170 | 314 | #endif | 4171 | | | 4172 | 314 | return read_impl<Range>( | 4173 | 314 | range, rd, | 4174 | 314 | [](float_reader<CharT>& r, auto&&... args) { | 4175 | 314 | return r.read_source(SCN_FWD(args)...); | 4176 | 314 | }, | 4177 | 314 | value); | 4178 | 322 | } |
Unexecuted instantiation: _ZN3scn2v34impl21reader_impl_for_floatIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEeEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERT0_NSA_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl21reader_impl_for_floatIwE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEeEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl21reader_impl_for_floatIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEeEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERT0_NSN_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl21reader_impl_for_floatIwE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEeEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERT0_NSL_10locale_refE |
4179 | | |
4180 | | private: |
4181 | | template <typename Range> |
4182 | | using read_source_callback_type = |
4183 | | scan_expected<ranges::const_iterator_t<Range>>(float_reader<CharT>&, |
4184 | | Range, |
4185 | | detail::locale_ref); |
4186 | | |
4187 | | template <typename Range, typename T> |
4188 | | scan_expected<ranges::const_iterator_t<Range>> read_impl( |
4189 | | Range range, |
4190 | | float_reader<CharT>& rd, |
4191 | | function_ref<read_source_callback_type<Range>> read_source_cb, |
4192 | | T& value, |
4193 | | detail::locale_ref loc = {}) |
4194 | 2.08k | { |
4195 | 2.08k | if (auto r = std::invoke(read_source_cb, rd, range, loc); |
4196 | 2.08k | SCN_UNLIKELY(!r)) { |
4197 | 402 | return unexpected(r.error()); |
4198 | 402 | } |
4199 | | |
4200 | 1.67k | SCN_TRY(n, rd.parse_value(value)); |
4201 | 0 | return ranges::next(range.begin(), n); |
4202 | 1.67k | } Unexecuted instantiation: _ZN3scn2v34impl21reader_impl_for_floatIcE9read_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEfEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RNS1_12float_readerIcEENS1_12function_refIFSP_SS_SK_NSA_10locale_refEENS1_12fnref_detail11qual_fn_sigISV_E8functionEEERT0_SU_ Unexecuted instantiation: _ZN3scn2v34impl21reader_impl_for_floatIcE9read_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEfEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RNS1_12float_readerIcEENS1_12function_refIFSN_SQ_SI_NS9_10locale_refEENS1_12fnref_detail11qual_fn_sigIST_E8functionEEERT0_SS_ Unexecuted instantiation: _ZN3scn2v34impl21reader_impl_for_floatIcE9read_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEfEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RNS1_12float_readerIcEENS1_12function_refIFSM_SP_SH_NS0_6detail10locale_refEENS1_12fnref_detail11qual_fn_sigIST_E8functionEEERT0_SS_ Unexecuted instantiation: _ZN3scn2v34impl21reader_impl_for_floatIcE9read_implINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEfEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RNS1_12float_readerIcEENS1_12function_refIFSK_SN_SF_NS0_6detail10locale_refEENS1_12fnref_detail11qual_fn_sigISR_E8functionEEERT0_SQ_ Unexecuted instantiation: _ZN3scn2v34impl21reader_impl_for_floatIcE9read_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEdEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RNS1_12float_readerIcEENS1_12function_refIFSP_SS_SK_NSA_10locale_refEENS1_12fnref_detail11qual_fn_sigISV_E8functionEEERT0_SU_ Unexecuted instantiation: _ZN3scn2v34impl21reader_impl_for_floatIcE9read_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEdEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RNS1_12float_readerIcEENS1_12function_refIFSN_SQ_SI_NS9_10locale_refEENS1_12fnref_detail11qual_fn_sigIST_E8functionEEERT0_SS_ _ZN3scn2v34impl21reader_impl_for_floatIcE9read_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEdEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RNS1_12float_readerIcEENS1_12function_refIFSM_SP_SH_NS0_6detail10locale_refEENS1_12fnref_detail11qual_fn_sigIST_E8functionEEERT0_SS_ Line | Count | Source | 4194 | 262 | { | 4195 | 262 | if (auto r = std::invoke(read_source_cb, rd, range, loc); | 4196 | 262 | SCN_UNLIKELY(!r)) { | 4197 | 262 | return unexpected(r.error()); | 4198 | 262 | } | 4199 | | | 4200 | 0 | SCN_TRY(n, rd.parse_value(value)); | 4201 | 0 | return ranges::next(range.begin(), n); | 4202 | 0 | } |
_ZN3scn2v34impl21reader_impl_for_floatIcE9read_implINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEdEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RNS1_12float_readerIcEENS1_12function_refIFSK_SN_SF_NS0_6detail10locale_refEENS1_12fnref_detail11qual_fn_sigISR_E8functionEEERT0_SQ_ Line | Count | Source | 4194 | 912 | { | 4195 | 912 | if (auto r = std::invoke(read_source_cb, rd, range, loc); | 4196 | 912 | SCN_UNLIKELY(!r)) { | 4197 | 22 | return unexpected(r.error()); | 4198 | 22 | } | 4199 | | | 4200 | 890 | SCN_TRY(n, rd.parse_value(value)); | 4201 | 0 | return ranges::next(range.begin(), n); | 4202 | 890 | } |
Unexecuted instantiation: _ZN3scn2v34impl21reader_impl_for_floatIcE9read_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEeEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RNS1_12float_readerIcEENS1_12function_refIFSP_SS_SK_NSA_10locale_refEENS1_12fnref_detail11qual_fn_sigISV_E8functionEEERT0_SU_ Unexecuted instantiation: _ZN3scn2v34impl21reader_impl_for_floatIcE9read_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEeEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RNS1_12float_readerIcEENS1_12function_refIFSN_SQ_SI_NS9_10locale_refEENS1_12fnref_detail11qual_fn_sigIST_E8functionEEERT0_SS_ Unexecuted instantiation: _ZN3scn2v34impl21reader_impl_for_floatIcE9read_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEeEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RNS1_12float_readerIcEENS1_12function_refIFSM_SP_SH_NS0_6detail10locale_refEENS1_12fnref_detail11qual_fn_sigIST_E8functionEEERT0_SS_ Unexecuted instantiation: _ZN3scn2v34impl21reader_impl_for_floatIcE9read_implINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEeEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RNS1_12float_readerIcEENS1_12function_refIFSK_SN_SF_NS0_6detail10locale_refEENS1_12fnref_detail11qual_fn_sigISR_E8functionEEERT0_SQ_ Unexecuted instantiation: _ZN3scn2v34impl21reader_impl_for_floatIwE9read_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEfEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RNS1_12float_readerIwEENS1_12function_refIFSP_SS_SK_NSA_10locale_refEENS1_12fnref_detail11qual_fn_sigISV_E8functionEEERT0_SU_ Unexecuted instantiation: _ZN3scn2v34impl21reader_impl_for_floatIwE9read_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEfEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RNS1_12float_readerIwEENS1_12function_refIFSN_SQ_SI_NS9_10locale_refEENS1_12fnref_detail11qual_fn_sigIST_E8functionEEERT0_SS_ Unexecuted instantiation: _ZN3scn2v34impl21reader_impl_for_floatIwE9read_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEfEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RNS1_12float_readerIwEENS1_12function_refIFSM_SP_SH_NS0_6detail10locale_refEENS1_12fnref_detail11qual_fn_sigIST_E8functionEEERT0_SS_ Unexecuted instantiation: _ZN3scn2v34impl21reader_impl_for_floatIwE9read_implINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEfEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RNS1_12float_readerIwEENS1_12function_refIFSK_SN_SF_NS0_6detail10locale_refEENS1_12fnref_detail11qual_fn_sigISR_E8functionEEERT0_SQ_ Unexecuted instantiation: _ZN3scn2v34impl21reader_impl_for_floatIwE9read_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEdEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RNS1_12float_readerIwEENS1_12function_refIFSP_SS_SK_NSA_10locale_refEENS1_12fnref_detail11qual_fn_sigISV_E8functionEEERT0_SU_ Unexecuted instantiation: _ZN3scn2v34impl21reader_impl_for_floatIwE9read_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEdEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RNS1_12float_readerIwEENS1_12function_refIFSN_SQ_SI_NS9_10locale_refEENS1_12fnref_detail11qual_fn_sigIST_E8functionEEERT0_SS_ _ZN3scn2v34impl21reader_impl_for_floatIwE9read_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEdEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RNS1_12float_readerIwEENS1_12function_refIFSM_SP_SH_NS0_6detail10locale_refEENS1_12fnref_detail11qual_fn_sigIST_E8functionEEERT0_SS_ Line | Count | Source | 4194 | 110 | { | 4195 | 110 | if (auto r = std::invoke(read_source_cb, rd, range, loc); | 4196 | 110 | SCN_UNLIKELY(!r)) { | 4197 | 110 | return unexpected(r.error()); | 4198 | 110 | } | 4199 | | | 4200 | 0 | SCN_TRY(n, rd.parse_value(value)); | 4201 | 0 | return ranges::next(range.begin(), n); | 4202 | 0 | } |
_ZN3scn2v34impl21reader_impl_for_floatIwE9read_implINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEdEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RNS1_12float_readerIwEENS1_12function_refIFSK_SN_SF_NS0_6detail10locale_refEENS1_12fnref_detail11qual_fn_sigISR_E8functionEEERT0_SQ_ Line | Count | Source | 4194 | 796 | { | 4195 | 796 | if (auto r = std::invoke(read_source_cb, rd, range, loc); | 4196 | 796 | SCN_UNLIKELY(!r)) { | 4197 | 8 | return unexpected(r.error()); | 4198 | 8 | } | 4199 | | | 4200 | 788 | SCN_TRY(n, rd.parse_value(value)); | 4201 | 0 | return ranges::next(range.begin(), n); | 4202 | 788 | } |
Unexecuted instantiation: _ZN3scn2v34impl21reader_impl_for_floatIwE9read_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEeEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RNS1_12float_readerIwEENS1_12function_refIFSP_SS_SK_NSA_10locale_refEENS1_12fnref_detail11qual_fn_sigISV_E8functionEEERT0_SU_ Unexecuted instantiation: _ZN3scn2v34impl21reader_impl_for_floatIwE9read_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEeEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RNS1_12float_readerIwEENS1_12function_refIFSN_SQ_SI_NS9_10locale_refEENS1_12fnref_detail11qual_fn_sigIST_E8functionEEERT0_SS_ Unexecuted instantiation: _ZN3scn2v34impl21reader_impl_for_floatIwE9read_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEeEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RNS1_12float_readerIwEENS1_12function_refIFSM_SP_SH_NS0_6detail10locale_refEENS1_12fnref_detail11qual_fn_sigIST_E8functionEEERT0_SS_ Unexecuted instantiation: _ZN3scn2v34impl21reader_impl_for_floatIwE9read_implINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEeEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RNS1_12float_readerIwEENS1_12function_refIFSK_SN_SF_NS0_6detail10locale_refEENS1_12fnref_detail11qual_fn_sigISR_E8functionEEERT0_SQ_ |
4203 | | |
4204 | | static unsigned get_options(const detail::format_specs& specs) |
4205 | 970 | { |
4206 | 970 | unsigned options{}; |
4207 | 970 | if (specs.localized) { |
4208 | 32 | options |= float_reader_base::allow_thsep; |
4209 | 32 | } |
4210 | | |
4211 | 970 | SCN_GCC_COMPAT_PUSH |
4212 | 970 | SCN_GCC_COMPAT_IGNORE("-Wswitch-enum") |
4213 | | |
4214 | 970 | switch (specs.type) { |
4215 | 36 | case detail::presentation_type::float_fixed: |
4216 | 36 | return options | float_reader_base::allow_fixed; |
4217 | | |
4218 | 8 | case detail::presentation_type::float_scientific: |
4219 | 8 | return options | float_reader_base::allow_scientific; |
4220 | | |
4221 | 30 | case detail::presentation_type::float_hex: |
4222 | 30 | return options | float_reader_base::allow_hex; |
4223 | | |
4224 | 12 | case detail::presentation_type::float_general: |
4225 | 12 | return options | float_reader_base::allow_scientific | |
4226 | 12 | float_reader_base::allow_fixed; |
4227 | | |
4228 | 884 | case detail::presentation_type::none: |
4229 | 884 | return options | float_reader_base::allow_scientific | |
4230 | 884 | float_reader_base::allow_fixed | |
4231 | 884 | float_reader_base::allow_hex; |
4232 | | |
4233 | 0 | default: |
4234 | 0 | SCN_EXPECT(false); |
4235 | 970 | SCN_UNREACHABLE; |
4236 | 970 | } |
4237 | | |
4238 | | SCN_GCC_COMPAT_POP // -Wswitch-enum |
4239 | 970 | } scn::v3::impl::reader_impl_for_float<char>::get_options(scn::v3::detail::format_specs const&) Line | Count | Source | 4205 | 538 | { | 4206 | 538 | unsigned options{}; | 4207 | 538 | if (specs.localized) { | 4208 | 16 | options |= float_reader_base::allow_thsep; | 4209 | 16 | } | 4210 | | | 4211 | 538 | SCN_GCC_COMPAT_PUSH | 4212 | 538 | SCN_GCC_COMPAT_IGNORE("-Wswitch-enum") | 4213 | | | 4214 | 538 | switch (specs.type) { | 4215 | 28 | case detail::presentation_type::float_fixed: | 4216 | 28 | return options | float_reader_base::allow_fixed; | 4217 | | | 4218 | 4 | case detail::presentation_type::float_scientific: | 4219 | 4 | return options | float_reader_base::allow_scientific; | 4220 | | | 4221 | 12 | case detail::presentation_type::float_hex: | 4222 | 12 | return options | float_reader_base::allow_hex; | 4223 | | | 4224 | 8 | case detail::presentation_type::float_general: | 4225 | 8 | return options | float_reader_base::allow_scientific | | 4226 | 8 | float_reader_base::allow_fixed; | 4227 | | | 4228 | 486 | case detail::presentation_type::none: | 4229 | 486 | return options | float_reader_base::allow_scientific | | 4230 | 486 | float_reader_base::allow_fixed | | 4231 | 486 | float_reader_base::allow_hex; | 4232 | | | 4233 | 0 | default: | 4234 | 0 | SCN_EXPECT(false); | 4235 | 538 | SCN_UNREACHABLE; | 4236 | 538 | } | 4237 | | | 4238 | | SCN_GCC_COMPAT_POP // -Wswitch-enum | 4239 | 538 | } |
scn::v3::impl::reader_impl_for_float<wchar_t>::get_options(scn::v3::detail::format_specs const&) Line | Count | Source | 4205 | 432 | { | 4206 | 432 | unsigned options{}; | 4207 | 432 | if (specs.localized) { | 4208 | 16 | options |= float_reader_base::allow_thsep; | 4209 | 16 | } | 4210 | | | 4211 | 432 | SCN_GCC_COMPAT_PUSH | 4212 | 432 | SCN_GCC_COMPAT_IGNORE("-Wswitch-enum") | 4213 | | | 4214 | 432 | switch (specs.type) { | 4215 | 8 | case detail::presentation_type::float_fixed: | 4216 | 8 | return options | float_reader_base::allow_fixed; | 4217 | | | 4218 | 4 | case detail::presentation_type::float_scientific: | 4219 | 4 | return options | float_reader_base::allow_scientific; | 4220 | | | 4221 | 18 | case detail::presentation_type::float_hex: | 4222 | 18 | return options | float_reader_base::allow_hex; | 4223 | | | 4224 | 4 | case detail::presentation_type::float_general: | 4225 | 4 | return options | float_reader_base::allow_scientific | | 4226 | 4 | float_reader_base::allow_fixed; | 4227 | | | 4228 | 398 | case detail::presentation_type::none: | 4229 | 398 | return options | float_reader_base::allow_scientific | | 4230 | 398 | float_reader_base::allow_fixed | | 4231 | 398 | float_reader_base::allow_hex; | 4232 | | | 4233 | 0 | default: | 4234 | 0 | SCN_EXPECT(false); | 4235 | 432 | SCN_UNREACHABLE; | 4236 | 432 | } | 4237 | | | 4238 | | SCN_GCC_COMPAT_POP // -Wswitch-enum | 4239 | 432 | } |
|
4240 | | }; |
4241 | | |
4242 | | ///////////////////////////////////////////////////////////////// |
4243 | | // Regex reader |
4244 | | ///////////////////////////////////////////////////////////////// |
4245 | | |
4246 | | // Forward declaration for C++17 compatibility with regex disabled |
4247 | | template <typename CharT, typename Input> |
4248 | | auto read_regex_matches_impl(std::basic_string_view<CharT> pattern, |
4249 | | detail::regex_flags flags, |
4250 | | Input input, |
4251 | | basic_regex_matches<CharT>& value) |
4252 | | -> scan_expected<ranges::iterator_t<Input>>; |
4253 | | |
4254 | | #if !SCN_DISABLE_REGEX |
4255 | | |
4256 | | #if SCN_REGEX_BACKEND == SCN_REGEX_BACKEND_STD |
4257 | | constexpr auto make_regex_flags(detail::regex_flags flags) |
4258 | | -> scan_expected<std::regex_constants::syntax_option_type> |
4259 | 15.1k | { |
4260 | 15.1k | std::regex_constants::syntax_option_type result{}; |
4261 | 15.1k | if ((flags & detail::regex_flags::multiline) != detail::regex_flags::none) { |
4262 | 354 | #if SCN_HAS_STD_REGEX_MULTILINE |
4263 | 354 | result |= std::regex_constants::multiline; |
4264 | | #else |
4265 | | return unexpected_scan_error( |
4266 | | scan_error::invalid_format_string, |
4267 | | "/m flag for regex isn't supported by regex backend"); |
4268 | | #endif |
4269 | 354 | } |
4270 | 15.1k | if ((flags & detail::regex_flags::singleline) != |
4271 | 15.1k | detail::regex_flags::none) { |
4272 | 0 | return unexpected_scan_error( |
4273 | 0 | scan_error::invalid_format_string, |
4274 | 0 | "/s flag for regex isn't supported by regex backend"); |
4275 | 0 | } |
4276 | 15.1k | if ((flags & detail::regex_flags::nocase) != detail::regex_flags::none) { |
4277 | 1.41k | result |= std::regex_constants::icase; |
4278 | 1.41k | } |
4279 | 15.1k | if ((flags & detail::regex_flags::nocapture) != detail::regex_flags::none) { |
4280 | 12 | result |= std::regex_constants::nosubs; |
4281 | 12 | } |
4282 | 15.1k | return result; |
4283 | 15.1k | } |
4284 | | #elif SCN_REGEX_BACKEND == SCN_REGEX_BACKEND_BOOST |
4285 | | constexpr auto make_regex_flags(detail::regex_flags flags) |
4286 | | -> boost::regex_constants::syntax_option_type |
4287 | | { |
4288 | | boost::regex_constants::syntax_option_type result{}; |
4289 | | if ((flags & detail::regex_flags::multiline) == detail::regex_flags::none) { |
4290 | | result |= boost::regex_constants::no_mod_m; |
4291 | | } |
4292 | | if ((flags & detail::regex_flags::singleline) != |
4293 | | detail::regex_flags::none) { |
4294 | | result |= boost::regex_constants::mod_s; |
4295 | | } |
4296 | | if ((flags & detail::regex_flags::nocase) != detail::regex_flags::none) { |
4297 | | result |= boost::regex_constants::icase; |
4298 | | } |
4299 | | if ((flags & detail::regex_flags::nocapture) != detail::regex_flags::none) { |
4300 | | result |= boost::regex_constants::nosubs; |
4301 | | } |
4302 | | return result; |
4303 | | } |
4304 | | #elif SCN_REGEX_BACKEND == SCN_REGEX_BACKEND_RE2 |
4305 | | inline auto make_regex_flags(detail::regex_flags flags) |
4306 | | -> std::pair<RE2::Options, std::string_view> |
4307 | | { |
4308 | | RE2::Options opt{RE2::Quiet}; |
4309 | | std::string_view stringflags{}; |
4310 | | |
4311 | | if ((flags & detail::regex_flags::multiline) == detail::regex_flags::none) { |
4312 | | stringflags = "(?m)"; |
4313 | | } |
4314 | | if ((flags & detail::regex_flags::singleline) != |
4315 | | detail::regex_flags::none) { |
4316 | | opt.set_dot_nl(true); |
4317 | | } |
4318 | | if ((flags & detail::regex_flags::nocase) != detail::regex_flags::none) { |
4319 | | opt.set_case_sensitive(false); |
4320 | | } |
4321 | | if ((flags & detail::regex_flags::nocapture) != detail::regex_flags::none) { |
4322 | | opt.set_never_capture(true); |
4323 | | } |
4324 | | |
4325 | | return {opt, stringflags}; |
4326 | | } |
4327 | | #endif // SCN_REGEX_BACKEND == ... |
4328 | | |
4329 | | template <typename CharT, typename Input> |
4330 | | auto read_regex_string_impl(std::basic_string_view<CharT> pattern, |
4331 | | detail::regex_flags flags, |
4332 | | Input input) |
4333 | | -> scan_expected<ranges::iterator_t<Input>> |
4334 | 15.1k | { |
4335 | 15.1k | static_assert(ranges::contiguous_range<Input> && |
4336 | 15.1k | ranges::borrowed_range<Input> && |
4337 | 15.1k | std::is_same_v<ranges::range_value_t<Input>, CharT>); |
4338 | | |
4339 | 15.1k | #if SCN_REGEX_BACKEND == SCN_REGEX_BACKEND_STD |
4340 | 15.1k | std::basic_regex<CharT> re{}; |
4341 | 15.1k | try { |
4342 | 15.1k | SCN_TRY(re_flags, make_regex_flags(flags)); |
4343 | 15.1k | re = std::basic_regex<CharT>{pattern.data(), pattern.size(), |
4344 | 15.1k | re_flags | std::regex_constants::nosubs}; |
4345 | 15.1k | } |
4346 | 15.1k | catch (const std::regex_error& err) { |
4347 | 7.28k | return unexpected_scan_error(scan_error::invalid_format_string, |
4348 | 7.28k | "Invalid regex"); |
4349 | 7.28k | } |
4350 | | |
4351 | 7.90k | std::match_results<const CharT*> matches{}; |
4352 | 7.90k | try { |
4353 | 7.90k | bool found = std::regex_search(input.data(), |
4354 | 7.90k | input.data() + input.size(), matches, re, |
4355 | 7.90k | std::regex_constants::match_continuous); |
4356 | 7.90k | if (!found || matches.prefix().matched) { |
4357 | 4.97k | return unexpected_scan_error(scan_error::invalid_scanned_value, |
4358 | 4.97k | "Regular expression didn't match"); |
4359 | 4.97k | } |
4360 | 7.90k | } |
4361 | 7.90k | catch (const std::regex_error& err) { |
4362 | 180 | return unexpected_scan_error(scan_error::invalid_format_string, |
4363 | 180 | "Regex matching failed with an error"); |
4364 | 180 | } |
4365 | | |
4366 | 2.75k | return input.begin() + ranges::distance(input.data(), matches[0].second); |
4367 | | #elif SCN_REGEX_BACKEND == SCN_REGEX_BACKEND_BOOST |
4368 | | auto re = |
4369 | | #if SCN_REGEX_BOOST_USE_ICU |
4370 | | boost::make_u32regex(pattern.data(), pattern.data() + pattern.size(), |
4371 | | make_regex_flags(flags) | |
4372 | | boost::regex_constants::no_except | |
4373 | | boost::regex_constants::nosubs); |
4374 | | #else |
4375 | | boost::basic_regex<CharT>{pattern.data(), pattern.size(), |
4376 | | make_regex_flags(flags) | |
4377 | | boost::regex_constants::no_except | |
4378 | | boost::regex_constants::nosubs}; |
4379 | | #endif |
4380 | | if (re.status() != 0) { |
4381 | | return unexpected_scan_error(scan_error::invalid_format_string, |
4382 | | "Invalid regex"); |
4383 | | } |
4384 | | |
4385 | | boost::match_results<const CharT*> matches{}; |
4386 | | try { |
4387 | | bool found = |
4388 | | #if SCN_REGEX_BOOST_USE_ICU |
4389 | | boost::u32regex_search(input.data(), input.data() + input.size(), |
4390 | | matches, re, |
4391 | | boost::regex_constants::match_continuous); |
4392 | | #else |
4393 | | boost::regex_search(input.data(), input.data() + input.size(), |
4394 | | matches, re, |
4395 | | boost::regex_constants::match_continuous); |
4396 | | #endif |
4397 | | if (!found || matches.prefix().matched) { |
4398 | | return unexpected_scan_error(scan_error::invalid_scanned_value, |
4399 | | "Regular expression didn't match"); |
4400 | | } |
4401 | | } |
4402 | | catch (const std::runtime_error& err) { |
4403 | | return unexpected_scan_error(scan_error::invalid_format_string, |
4404 | | "Regex matching failed with an error"); |
4405 | | } |
4406 | | |
4407 | | return input.begin() + ranges::distance(input.data(), matches[0].second); |
4408 | | #elif SCN_REGEX_BACKEND == SCN_REGEX_BACKEND_RE2 |
4409 | | static_assert(std::is_same_v<CharT, char>); |
4410 | | std::string flagged_pattern{}; |
4411 | | auto re = [&]() { |
4412 | | auto [opts, flagstr] = make_regex_flags(flags); |
4413 | | opts.set_never_capture(true); |
4414 | | if (flagstr.empty()) { |
4415 | | return re2::RE2{pattern, opts}; |
4416 | | } |
4417 | | flagged_pattern.reserve(flagstr.size() + pattern.size()); |
4418 | | flagged_pattern.append(flagstr); |
4419 | | flagged_pattern.append(pattern); |
4420 | | return re2::RE2{flagged_pattern, opts}; |
4421 | | }(); |
4422 | | if (!re.ok()) { |
4423 | | return unexpected_scan_error(scan_error::invalid_format_string, |
4424 | | "Failed to parse regular expression"); |
4425 | | } |
4426 | | |
4427 | | auto new_input = detail::make_string_view_from_pointers( |
4428 | | detail::to_address(input.begin()), detail::to_address(input.end())); |
4429 | | bool found = re2::RE2::Consume(&new_input, re); |
4430 | | if (!found) { |
4431 | | return unexpected_scan_error(scan_error::invalid_scanned_value, |
4432 | | "Regular expression didn't match"); |
4433 | | } |
4434 | | return input.begin() + ranges::distance(input.data(), new_input.data()); |
4435 | | #endif // SCN_REGEX_BACKEND == ... |
4436 | 7.90k | } Unexecuted instantiation: _ZN3scn2v34impl22read_regex_string_implIcNSt3__117basic_string_viewIcNS3_11char_traitsIcEEEEEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEENS4_IT_NS5_ISE_EEEENS0_6detail11regex_flagsESA_ _ZN3scn2v34impl22read_regex_string_implIcNS0_6ranges6detail9subrange_8subrangeIPKcS8_EEEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRT0_EEEEEENSt3__117basic_string_viewIT_NSF_11char_traitsISH_EEEENS0_6detail11regex_flagsESB_ Line | Count | Source | 4334 | 9.52k | { | 4335 | 9.52k | static_assert(ranges::contiguous_range<Input> && | 4336 | 9.52k | ranges::borrowed_range<Input> && | 4337 | 9.52k | std::is_same_v<ranges::range_value_t<Input>, CharT>); | 4338 | | | 4339 | 9.52k | #if SCN_REGEX_BACKEND == SCN_REGEX_BACKEND_STD | 4340 | 9.52k | std::basic_regex<CharT> re{}; | 4341 | 9.52k | try { | 4342 | 9.52k | SCN_TRY(re_flags, make_regex_flags(flags)); | 4343 | 9.52k | re = std::basic_regex<CharT>{pattern.data(), pattern.size(), | 4344 | 9.52k | re_flags | std::regex_constants::nosubs}; | 4345 | 9.52k | } | 4346 | 9.52k | catch (const std::regex_error& err) { | 4347 | 4.83k | return unexpected_scan_error(scan_error::invalid_format_string, | 4348 | 4.83k | "Invalid regex"); | 4349 | 4.83k | } | 4350 | | | 4351 | 4.69k | std::match_results<const CharT*> matches{}; | 4352 | 4.69k | try { | 4353 | 4.69k | bool found = std::regex_search(input.data(), | 4354 | 4.69k | input.data() + input.size(), matches, re, | 4355 | 4.69k | std::regex_constants::match_continuous); | 4356 | 4.69k | if (!found || matches.prefix().matched) { | 4357 | 2.85k | return unexpected_scan_error(scan_error::invalid_scanned_value, | 4358 | 2.85k | "Regular expression didn't match"); | 4359 | 2.85k | } | 4360 | 4.69k | } | 4361 | 4.69k | catch (const std::regex_error& err) { | 4362 | 144 | return unexpected_scan_error(scan_error::invalid_format_string, | 4363 | 144 | "Regex matching failed with an error"); | 4364 | 144 | } | 4365 | | | 4366 | 1.69k | return input.begin() + ranges::distance(input.data(), matches[0].second); | 4367 | | #elif SCN_REGEX_BACKEND == SCN_REGEX_BACKEND_BOOST | 4368 | | auto re = | 4369 | | #if SCN_REGEX_BOOST_USE_ICU | 4370 | | boost::make_u32regex(pattern.data(), pattern.data() + pattern.size(), | 4371 | | make_regex_flags(flags) | | 4372 | | boost::regex_constants::no_except | | 4373 | | boost::regex_constants::nosubs); | 4374 | | #else | 4375 | | boost::basic_regex<CharT>{pattern.data(), pattern.size(), | 4376 | | make_regex_flags(flags) | | 4377 | | boost::regex_constants::no_except | | 4378 | | boost::regex_constants::nosubs}; | 4379 | | #endif | 4380 | | if (re.status() != 0) { | 4381 | | return unexpected_scan_error(scan_error::invalid_format_string, | 4382 | | "Invalid regex"); | 4383 | | } | 4384 | | | 4385 | | boost::match_results<const CharT*> matches{}; | 4386 | | try { | 4387 | | bool found = | 4388 | | #if SCN_REGEX_BOOST_USE_ICU | 4389 | | boost::u32regex_search(input.data(), input.data() + input.size(), | 4390 | | matches, re, | 4391 | | boost::regex_constants::match_continuous); | 4392 | | #else | 4393 | | boost::regex_search(input.data(), input.data() + input.size(), | 4394 | | matches, re, | 4395 | | boost::regex_constants::match_continuous); | 4396 | | #endif | 4397 | | if (!found || matches.prefix().matched) { | 4398 | | return unexpected_scan_error(scan_error::invalid_scanned_value, | 4399 | | "Regular expression didn't match"); | 4400 | | } | 4401 | | } | 4402 | | catch (const std::runtime_error& err) { | 4403 | | return unexpected_scan_error(scan_error::invalid_format_string, | 4404 | | "Regex matching failed with an error"); | 4405 | | } | 4406 | | | 4407 | | return input.begin() + ranges::distance(input.data(), matches[0].second); | 4408 | | #elif SCN_REGEX_BACKEND == SCN_REGEX_BACKEND_RE2 | 4409 | | static_assert(std::is_same_v<CharT, char>); | 4410 | | std::string flagged_pattern{}; | 4411 | | auto re = [&]() { | 4412 | | auto [opts, flagstr] = make_regex_flags(flags); | 4413 | | opts.set_never_capture(true); | 4414 | | if (flagstr.empty()) { | 4415 | | return re2::RE2{pattern, opts}; | 4416 | | } | 4417 | | flagged_pattern.reserve(flagstr.size() + pattern.size()); | 4418 | | flagged_pattern.append(flagstr); | 4419 | | flagged_pattern.append(pattern); | 4420 | | return re2::RE2{flagged_pattern, opts}; | 4421 | | }(); | 4422 | | if (!re.ok()) { | 4423 | | return unexpected_scan_error(scan_error::invalid_format_string, | 4424 | | "Failed to parse regular expression"); | 4425 | | } | 4426 | | | 4427 | | auto new_input = detail::make_string_view_from_pointers( | 4428 | | detail::to_address(input.begin()), detail::to_address(input.end())); | 4429 | | bool found = re2::RE2::Consume(&new_input, re); | 4430 | | if (!found) { | 4431 | | return unexpected_scan_error(scan_error::invalid_scanned_value, | 4432 | | "Regular expression didn't match"); | 4433 | | } | 4434 | | return input.begin() + ranges::distance(input.data(), new_input.data()); | 4435 | | #endif // SCN_REGEX_BACKEND == ... | 4436 | 4.69k | } |
Unexecuted instantiation: _ZN3scn2v34impl22read_regex_string_implIwNSt3__117basic_string_viewIwNS3_11char_traitsIwEEEEEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEENS4_IT_NS5_ISE_EEEENS0_6detail11regex_flagsESA_ _ZN3scn2v34impl22read_regex_string_implIwNS0_6ranges6detail9subrange_8subrangeIPKwS8_EEEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRT0_EEEEEENSt3__117basic_string_viewIT_NSF_11char_traitsISH_EEEENS0_6detail11regex_flagsESB_ Line | Count | Source | 4334 | 5.66k | { | 4335 | 5.66k | static_assert(ranges::contiguous_range<Input> && | 4336 | 5.66k | ranges::borrowed_range<Input> && | 4337 | 5.66k | std::is_same_v<ranges::range_value_t<Input>, CharT>); | 4338 | | | 4339 | 5.66k | #if SCN_REGEX_BACKEND == SCN_REGEX_BACKEND_STD | 4340 | 5.66k | std::basic_regex<CharT> re{}; | 4341 | 5.66k | try { | 4342 | 5.66k | SCN_TRY(re_flags, make_regex_flags(flags)); | 4343 | 5.66k | re = std::basic_regex<CharT>{pattern.data(), pattern.size(), | 4344 | 5.66k | re_flags | std::regex_constants::nosubs}; | 4345 | 5.66k | } | 4346 | 5.66k | catch (const std::regex_error& err) { | 4347 | 2.44k | return unexpected_scan_error(scan_error::invalid_format_string, | 4348 | 2.44k | "Invalid regex"); | 4349 | 2.44k | } | 4350 | | | 4351 | 3.21k | std::match_results<const CharT*> matches{}; | 4352 | 3.21k | try { | 4353 | 3.21k | bool found = std::regex_search(input.data(), | 4354 | 3.21k | input.data() + input.size(), matches, re, | 4355 | 3.21k | std::regex_constants::match_continuous); | 4356 | 3.21k | if (!found || matches.prefix().matched) { | 4357 | 2.11k | return unexpected_scan_error(scan_error::invalid_scanned_value, | 4358 | 2.11k | "Regular expression didn't match"); | 4359 | 2.11k | } | 4360 | 3.21k | } | 4361 | 3.21k | catch (const std::regex_error& err) { | 4362 | 36 | return unexpected_scan_error(scan_error::invalid_format_string, | 4363 | 36 | "Regex matching failed with an error"); | 4364 | 36 | } | 4365 | | | 4366 | 1.06k | return input.begin() + ranges::distance(input.data(), matches[0].second); | 4367 | | #elif SCN_REGEX_BACKEND == SCN_REGEX_BACKEND_BOOST | 4368 | | auto re = | 4369 | | #if SCN_REGEX_BOOST_USE_ICU | 4370 | | boost::make_u32regex(pattern.data(), pattern.data() + pattern.size(), | 4371 | | make_regex_flags(flags) | | 4372 | | boost::regex_constants::no_except | | 4373 | | boost::regex_constants::nosubs); | 4374 | | #else | 4375 | | boost::basic_regex<CharT>{pattern.data(), pattern.size(), | 4376 | | make_regex_flags(flags) | | 4377 | | boost::regex_constants::no_except | | 4378 | | boost::regex_constants::nosubs}; | 4379 | | #endif | 4380 | | if (re.status() != 0) { | 4381 | | return unexpected_scan_error(scan_error::invalid_format_string, | 4382 | | "Invalid regex"); | 4383 | | } | 4384 | | | 4385 | | boost::match_results<const CharT*> matches{}; | 4386 | | try { | 4387 | | bool found = | 4388 | | #if SCN_REGEX_BOOST_USE_ICU | 4389 | | boost::u32regex_search(input.data(), input.data() + input.size(), | 4390 | | matches, re, | 4391 | | boost::regex_constants::match_continuous); | 4392 | | #else | 4393 | | boost::regex_search(input.data(), input.data() + input.size(), | 4394 | | matches, re, | 4395 | | boost::regex_constants::match_continuous); | 4396 | | #endif | 4397 | | if (!found || matches.prefix().matched) { | 4398 | | return unexpected_scan_error(scan_error::invalid_scanned_value, | 4399 | | "Regular expression didn't match"); | 4400 | | } | 4401 | | } | 4402 | | catch (const std::runtime_error& err) { | 4403 | | return unexpected_scan_error(scan_error::invalid_format_string, | 4404 | | "Regex matching failed with an error"); | 4405 | | } | 4406 | | | 4407 | | return input.begin() + ranges::distance(input.data(), matches[0].second); | 4408 | | #elif SCN_REGEX_BACKEND == SCN_REGEX_BACKEND_RE2 | 4409 | | static_assert(std::is_same_v<CharT, char>); | 4410 | | std::string flagged_pattern{}; | 4411 | | auto re = [&]() { | 4412 | | auto [opts, flagstr] = make_regex_flags(flags); | 4413 | | opts.set_never_capture(true); | 4414 | | if (flagstr.empty()) { | 4415 | | return re2::RE2{pattern, opts}; | 4416 | | } | 4417 | | flagged_pattern.reserve(flagstr.size() + pattern.size()); | 4418 | | flagged_pattern.append(flagstr); | 4419 | | flagged_pattern.append(pattern); | 4420 | | return re2::RE2{flagged_pattern, opts}; | 4421 | | }(); | 4422 | | if (!re.ok()) { | 4423 | | return unexpected_scan_error(scan_error::invalid_format_string, | 4424 | | "Failed to parse regular expression"); | 4425 | | } | 4426 | | | 4427 | | auto new_input = detail::make_string_view_from_pointers( | 4428 | | detail::to_address(input.begin()), detail::to_address(input.end())); | 4429 | | bool found = re2::RE2::Consume(&new_input, re); | 4430 | | if (!found) { | 4431 | | return unexpected_scan_error(scan_error::invalid_scanned_value, | 4432 | | "Regular expression didn't match"); | 4433 | | } | 4434 | | return input.begin() + ranges::distance(input.data(), new_input.data()); | 4435 | | #endif // SCN_REGEX_BACKEND == ... | 4436 | 3.21k | } |
|
4437 | | |
4438 | | template <typename CharT, typename Input> |
4439 | | auto read_regex_matches_impl(std::basic_string_view<CharT> pattern, |
4440 | | detail::regex_flags flags, |
4441 | | Input input, |
4442 | | basic_regex_matches<CharT>& value) |
4443 | | -> scan_expected<ranges::iterator_t<Input>> |
4444 | 0 | { |
4445 | 0 | static_assert(ranges::contiguous_range<Input> && |
4446 | 0 | ranges::borrowed_range<Input> && |
4447 | 0 | std::is_same_v<ranges::range_value_t<Input>, CharT>); |
4448 | |
|
4449 | 0 | #if SCN_REGEX_BACKEND == SCN_REGEX_BACKEND_STD |
4450 | 0 | std::basic_regex<CharT> re{}; |
4451 | 0 | try { |
4452 | 0 | SCN_TRY(re_flags, make_regex_flags(flags)); |
4453 | 0 | re = std::basic_regex<CharT>{pattern.data(), pattern.size(), re_flags}; |
4454 | 0 | } |
4455 | 0 | catch (const std::regex_error& err) { |
4456 | 0 | return unexpected_scan_error(scan_error::invalid_format_string, |
4457 | 0 | "Invalid regex"); |
4458 | 0 | } |
4459 | | |
4460 | 0 | std::match_results<const CharT*> matches{}; |
4461 | 0 | try { |
4462 | 0 | bool found = std::regex_search(input.data(), |
4463 | 0 | input.data() + input.size(), matches, re, |
4464 | 0 | std::regex_constants::match_continuous); |
4465 | 0 | if (!found || matches.prefix().matched) { |
4466 | 0 | return unexpected_scan_error(scan_error::invalid_scanned_value, |
4467 | 0 | "Regular expression didn't match"); |
4468 | 0 | } |
4469 | 0 | } |
4470 | 0 | catch (const std::regex_error& err) { |
4471 | 0 | return unexpected_scan_error(scan_error::invalid_format_string, |
4472 | 0 | "Regex matching failed with an error"); |
4473 | 0 | } |
4474 | | |
4475 | 0 | value.resize(matches.size()); |
4476 | 0 | std::transform(matches.begin(), matches.end(), value.begin(), |
4477 | 0 | [](auto&& match) -> std::optional<basic_regex_match<CharT>> { |
4478 | 0 | if (!match.matched) |
4479 | 0 | return std::nullopt; |
4480 | 0 | return detail::make_string_view_from_pointers( |
4481 | 0 | match.first, match.second); |
4482 | 0 | }); Unexecuted instantiation: _ZZN3scn2v34impl23read_regex_matches_implIcNSt3__117basic_string_viewIcNS3_11char_traitsIcEEEEEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEENS4_IT_NS5_ISE_EEEENS0_6detail11regex_flagsESA_RNS0_19basic_regex_matchesISE_EEENKUlOSE_E_clIRKNS3_9sub_matchIPKcEEEENS3_8optionalINS0_17basic_regex_matchIcEEEESM_ Unexecuted instantiation: _ZZN3scn2v34impl23read_regex_matches_implIcNS0_6ranges6detail9subrange_8subrangeIPKcS8_EEEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRT0_EEEEEENSt3__117basic_string_viewIT_NSF_11char_traitsISH_EEEENS0_6detail11regex_flagsESB_RNS0_19basic_regex_matchesISH_EEENKUlOSH_E_clIRKNSF_9sub_matchIS8_EEEENSF_8optionalINS0_17basic_regex_matchIcEEEESQ_ Unexecuted instantiation: _ZZN3scn2v34impl23read_regex_matches_implIwNSt3__117basic_string_viewIwNS3_11char_traitsIwEEEEEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEENS4_IT_NS5_ISE_EEEENS0_6detail11regex_flagsESA_RNS0_19basic_regex_matchesISE_EEENKUlOSE_E_clIRKNS3_9sub_matchIPKwEEEENS3_8optionalINS0_17basic_regex_matchIwEEEESM_ Unexecuted instantiation: _ZZN3scn2v34impl23read_regex_matches_implIwNS0_6ranges6detail9subrange_8subrangeIPKwS8_EEEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRT0_EEEEEENSt3__117basic_string_viewIT_NSF_11char_traitsISH_EEEENS0_6detail11regex_flagsESB_RNS0_19basic_regex_matchesISH_EEENKUlOSH_E_clIRKNSF_9sub_matchIS8_EEEENSF_8optionalINS0_17basic_regex_matchIwEEEESQ_ |
4483 | 0 | return input.begin() + ranges::distance(input.data(), matches[0].second); |
4484 | | #elif SCN_REGEX_BACKEND == SCN_REGEX_BACKEND_BOOST |
4485 | | std::vector<std::basic_string<CharT>> names; |
4486 | | for (size_t i = 0; i < pattern.size();) { |
4487 | | if constexpr (std::is_same_v<CharT, char>) { |
4488 | | i = pattern.find("(?<", i); |
4489 | | } |
4490 | | else { |
4491 | | i = pattern.find(L"(?<", i); |
4492 | | } |
4493 | | |
4494 | | if (i == std::basic_string_view<CharT>::npos) { |
4495 | | break; |
4496 | | } |
4497 | | if (i > 0 && pattern[i - 1] == CharT{'\\'}) { |
4498 | | if (i == 1 || pattern[i - 2] != CharT{'\\'}) { |
4499 | | i += 3; |
4500 | | continue; |
4501 | | } |
4502 | | } |
4503 | | |
4504 | | i += 3; |
4505 | | auto end_i = pattern.find(CharT{'>'}, i); |
4506 | | if (end_i == std::basic_string_view<CharT>::npos) { |
4507 | | break; |
4508 | | } |
4509 | | names.emplace_back(pattern.substr(i, end_i - i)); |
4510 | | } |
4511 | | |
4512 | | auto re = |
4513 | | #if SCN_REGEX_BOOST_USE_ICU |
4514 | | boost::make_u32regex( |
4515 | | pattern.data(), pattern.data() + pattern.size(), |
4516 | | make_regex_flags(flags) | boost::regex_constants::no_except); |
4517 | | #else |
4518 | | boost::basic_regex<CharT>{ |
4519 | | pattern.data(), pattern.size(), |
4520 | | make_regex_flags(flags) | boost::regex_constants::no_except}; |
4521 | | #endif |
4522 | | if (re.status() != 0) { |
4523 | | return unexpected_scan_error(scan_error::invalid_format_string, |
4524 | | "Invalid regex"); |
4525 | | } |
4526 | | |
4527 | | boost::match_results<const CharT*> matches{}; |
4528 | | try { |
4529 | | bool found = |
4530 | | #if SCN_REGEX_BOOST_USE_ICU |
4531 | | boost::u32regex_search(input.data(), input.data() + input.size(), |
4532 | | matches, re, |
4533 | | boost::regex_constants::match_continuous); |
4534 | | #else |
4535 | | boost::regex_search(input.data(), input.data() + input.size(), |
4536 | | matches, re, |
4537 | | boost::regex_constants::match_continuous); |
4538 | | #endif |
4539 | | if (!found || matches.prefix().matched) { |
4540 | | return unexpected_scan_error(scan_error::invalid_scanned_value, |
4541 | | "Regular expression didn't match"); |
4542 | | } |
4543 | | } |
4544 | | catch (const std::runtime_error& err) { |
4545 | | return unexpected_scan_error(scan_error::invalid_format_string, |
4546 | | "Regex matching failed with an error"); |
4547 | | } |
4548 | | |
4549 | | value.resize(matches.size()); |
4550 | | std::transform( |
4551 | | matches.begin(), matches.end(), value.begin(), |
4552 | | [&](auto&& match) -> std::optional<basic_regex_match<CharT>> { |
4553 | | if (!match.matched) |
4554 | | return std::nullopt; |
4555 | | auto sv = detail::make_string_view_from_pointers(match.first, |
4556 | | match.second); |
4557 | | |
4558 | | if (auto name_it = std::find_if( |
4559 | | names.begin(), names.end(), |
4560 | | [&](const auto& name) { return match == matches[name]; }); |
4561 | | name_it != names.end()) { |
4562 | | return basic_regex_match<CharT>{sv, *name_it}; |
4563 | | } |
4564 | | return sv; |
4565 | | }); |
4566 | | return input.begin() + ranges::distance(input.data(), matches[0].second); |
4567 | | #elif SCN_REGEX_BACKEND == SCN_REGEX_BACKEND_RE2 |
4568 | | static_assert(std::is_same_v<CharT, char>); |
4569 | | std::string flagged_pattern{}; |
4570 | | auto re = [&]() { |
4571 | | auto [opts, flagstr] = make_regex_flags(flags); |
4572 | | if (flagstr.empty()) { |
4573 | | return re2::RE2{pattern, opts}; |
4574 | | } |
4575 | | flagged_pattern.reserve(flagstr.size() + pattern.size()); |
4576 | | flagged_pattern.append(flagstr); |
4577 | | flagged_pattern.append(pattern); |
4578 | | return re2::RE2{flagged_pattern, opts}; |
4579 | | }(); |
4580 | | if (!re.ok()) { |
4581 | | return unexpected_scan_error(scan_error::invalid_format_string, |
4582 | | "Failed to parse regular expression"); |
4583 | | } |
4584 | | // TODO: Optimize into a single batch allocation |
4585 | | const auto max_matches_n = |
4586 | | static_cast<size_t>(re.NumberOfCapturingGroups()); |
4587 | | std::vector<std::optional<std::string_view>> matches(max_matches_n); |
4588 | | std::vector<re2::RE2::Arg> match_args(max_matches_n); |
4589 | | std::vector<re2::RE2::Arg*> match_argptrs(max_matches_n); |
4590 | | std::transform(matches.begin(), matches.end(), match_args.begin(), |
4591 | | [](auto& val) { return re2::RE2::Arg{&val}; }); |
4592 | | std::transform(match_args.begin(), match_args.end(), match_argptrs.begin(), |
4593 | | [](auto& arg) { return &arg; }); |
4594 | | auto new_input = detail::make_string_view_from_pointers( |
4595 | | detail::to_address(input.begin()), detail::to_address(input.end())); |
4596 | | bool found = re2::RE2::ConsumeN(&new_input, re, match_argptrs.data(), |
4597 | | match_argptrs.size()); |
4598 | | if (!found) { |
4599 | | return unexpected_scan_error(scan_error::invalid_scanned_value, |
4600 | | "Regular expression didn't match"); |
4601 | | } |
4602 | | value.resize(matches.size() + 1); |
4603 | | value[0] = |
4604 | | detail::make_string_view_from_pointers(input.data(), new_input.data()); |
4605 | | std::transform(matches.begin(), matches.end(), value.begin() + 1, |
4606 | | [&](auto&& match) -> std::optional<regex_match> { |
4607 | | if (!match) |
4608 | | return std::nullopt; |
4609 | | return *match; |
4610 | | }); |
4611 | | { |
4612 | | const auto& capturing_groups = re.CapturingGroupNames(); |
4613 | | for (size_t i = 1; i < value.size(); ++i) { |
4614 | | if (auto it = capturing_groups.find(static_cast<int>(i)); |
4615 | | it != capturing_groups.end()) { |
4616 | | auto val = value[i]->get(); |
4617 | | value[i].emplace(val, it->second); |
4618 | | }; |
4619 | | } |
4620 | | } |
4621 | | return input.begin() + ranges::distance(input.data(), new_input.data()); |
4622 | | #endif // SCN_REGEX_BACKEND == ... |
4623 | 0 | } Unexecuted instantiation: _ZN3scn2v34impl23read_regex_matches_implIcNSt3__117basic_string_viewIcNS3_11char_traitsIcEEEEEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEENS4_IT_NS5_ISE_EEEENS0_6detail11regex_flagsESA_RNS0_19basic_regex_matchesISE_EE Unexecuted instantiation: _ZN3scn2v34impl23read_regex_matches_implIcNS0_6ranges6detail9subrange_8subrangeIPKcS8_EEEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRT0_EEEEEENSt3__117basic_string_viewIT_NSF_11char_traitsISH_EEEENS0_6detail11regex_flagsESB_RNS0_19basic_regex_matchesISH_EE Unexecuted instantiation: _ZN3scn2v34impl23read_regex_matches_implIwNSt3__117basic_string_viewIwNS3_11char_traitsIwEEEEEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEENS4_IT_NS5_ISE_EEEENS0_6detail11regex_flagsESA_RNS0_19basic_regex_matchesISE_EE Unexecuted instantiation: _ZN3scn2v34impl23read_regex_matches_implIwNS0_6ranges6detail9subrange_8subrangeIPKwS8_EEEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRT0_EEEEEENSt3__117basic_string_viewIT_NSF_11char_traitsISH_EEEENS0_6detail11regex_flagsESB_RNS0_19basic_regex_matchesISH_EE |
4624 | | |
4625 | | inline std::string get_unescaped_regex_pattern(std::string_view pattern) |
4626 | 780 | { |
4627 | 780 | std::string result{pattern}; |
4628 | 5.27k | for (size_t n = 0; (n = result.find("\\/", n)) != std::string::npos;) { |
4629 | 4.49k | result.replace(n, 2, "/"); |
4630 | 4.49k | ++n; |
4631 | 4.49k | } |
4632 | 780 | return result; |
4633 | 780 | } |
4634 | | inline std::wstring get_unescaped_regex_pattern(std::wstring_view pattern) |
4635 | 180 | { |
4636 | 180 | std::wstring result{pattern}; |
4637 | 1.20k | for (size_t n = 0; (n = result.find(L"\\/", n)) != std::wstring::npos;) { |
4638 | 1.02k | result.replace(n, 2, L"/"); |
4639 | 1.02k | ++n; |
4640 | 1.02k | } |
4641 | 180 | return result; |
4642 | 180 | } |
4643 | | |
4644 | | #endif // !SCN_DISABLE_REGEX |
4645 | | |
4646 | | template <typename SourceCharT> |
4647 | | struct regex_matches_reader |
4648 | | : public reader_base<regex_matches_reader<SourceCharT>, SourceCharT> { |
4649 | | void check_specs_impl(const detail::format_specs& specs, |
4650 | | reader_error_handler& eh) |
4651 | 0 | { |
4652 | 0 | detail::check_regex_type_specs(specs, eh); |
4653 | 0 | SCN_EXPECT(specs.charset_string_data != nullptr); |
4654 | 0 | SCN_EXPECT(specs.charset_string_size > 0); |
4655 | 0 | } Unexecuted instantiation: scn::v3::impl::regex_matches_reader<char>::check_specs_impl(scn::v3::detail::format_specs const&, scn::v3::impl::reader_error_handler&) Unexecuted instantiation: scn::v3::impl::regex_matches_reader<wchar_t>::check_specs_impl(scn::v3::detail::format_specs const&, scn::v3::impl::reader_error_handler&) |
4656 | | |
4657 | | template <typename Range, typename DestCharT> |
4658 | | auto read_default(Range, |
4659 | | basic_regex_matches<DestCharT>&, |
4660 | | detail::locale_ref = {}) |
4661 | | -> scan_expected<ranges::const_iterator_t<Range>> |
4662 | 0 | { |
4663 | 0 | return unexpected_scan_error( |
4664 | 0 | scan_error::invalid_format_string, |
4665 | 0 | "No regex given in format string for scanning regex_matches"); |
4666 | 0 | } Unexecuted instantiation: _ZN3scn2v34impl20regex_matches_readerIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RNS0_19basic_regex_matchesIT0_EENS0_6detail10locale_refE Unexecuted instantiation: _ZN3scn2v34impl20regex_matches_readerIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RNS0_19basic_regex_matchesIT0_EENS0_6detail10locale_refE Unexecuted instantiation: _ZN3scn2v34impl20regex_matches_readerIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RNS0_19basic_regex_matchesIT0_EENS9_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl20regex_matches_readerIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RNS0_19basic_regex_matchesIT0_EENS9_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl20regex_matches_readerIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RNS0_19basic_regex_matchesIT0_EENS0_6detail10locale_refE Unexecuted instantiation: _ZN3scn2v34impl20regex_matches_readerIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RNS0_19basic_regex_matchesIT0_EENS0_6detail10locale_refE Unexecuted instantiation: _ZN3scn2v34impl20regex_matches_readerIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RNS0_19basic_regex_matchesIT0_EENS9_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl20regex_matches_readerIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RNS0_19basic_regex_matchesIT0_EENS9_10locale_refE |
4667 | | |
4668 | | template <typename Range, typename DestCharT> |
4669 | | auto read_specs(Range range, |
4670 | | const detail::format_specs& specs, |
4671 | | basic_regex_matches<DestCharT>& value, |
4672 | | detail::locale_ref = {}) |
4673 | | -> scan_expected<ranges::const_iterator_t<Range>> |
4674 | 0 | { |
4675 | 0 | if constexpr (!std::is_same_v<SourceCharT, DestCharT>) { |
4676 | 0 | return unexpected_scan_error( |
4677 | 0 | scan_error::invalid_scanned_value, |
4678 | 0 | "Cannot transcode is regex_matches_reader"); |
4679 | | } |
4680 | | else if constexpr (!SCN_REGEX_SUPPORTS_WIDE_STRINGS && |
4681 | | !std::is_same_v<SourceCharT, char>) { |
4682 | | return unexpected_scan_error( |
4683 | | scan_error::invalid_scanned_value, |
4684 | | "Regex backend doesn't support wide strings as input"); |
4685 | | } |
4686 | 0 | else { |
4687 | 0 | if (!is_entire_source_contiguous(range)) { |
4688 | 0 | return unexpected_scan_error( |
4689 | 0 | scan_error::invalid_scanned_value, |
4690 | 0 | "Cannot use regex with a non-contiguous source " |
4691 | 0 | "range"); |
4692 | 0 | } |
4693 | | |
4694 | 0 | auto input = get_as_contiguous(range); |
4695 | 0 | SCN_TRY(it, |
4696 | 0 | impl(input, |
4697 | 0 | specs.type == detail::presentation_type::regex_escaped, |
4698 | 0 | specs.charset_string<SourceCharT>(), |
4699 | 0 | specs.regexp_flags, value)); |
4700 | 0 | return ranges::next(range.begin(), |
4701 | 0 | ranges::distance(input.begin(), it)); |
4702 | 0 | } |
4703 | 0 | } Unexecuted instantiation: _ZN3scn2v34impl20regex_matches_readerIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERNS0_19basic_regex_matchesIT0_EENSA_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl20regex_matches_readerIcE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERNS0_19basic_regex_matchesIT0_EENS9_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl20regex_matches_readerIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERNS0_19basic_regex_matchesIT0_EENSN_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl20regex_matches_readerIcE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERNS0_19basic_regex_matchesIT0_EENSL_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl20regex_matches_readerIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERNS0_19basic_regex_matchesIT0_EENSA_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl20regex_matches_readerIcE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERNS0_19basic_regex_matchesIT0_EENS9_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl20regex_matches_readerIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERNS0_19basic_regex_matchesIT0_EENSN_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl20regex_matches_readerIcE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERNS0_19basic_regex_matchesIT0_EENSL_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl20regex_matches_readerIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERNS0_19basic_regex_matchesIT0_EENSA_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl20regex_matches_readerIwE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERNS0_19basic_regex_matchesIT0_EENS9_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl20regex_matches_readerIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERNS0_19basic_regex_matchesIT0_EENSN_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl20regex_matches_readerIwE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERNS0_19basic_regex_matchesIT0_EENSL_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl20regex_matches_readerIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERNS0_19basic_regex_matchesIT0_EENSA_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl20regex_matches_readerIwE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERNS0_19basic_regex_matchesIT0_EENS9_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl20regex_matches_readerIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERNS0_19basic_regex_matchesIT0_EENSN_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl20regex_matches_readerIwE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERNS0_19basic_regex_matchesIT0_EENSL_10locale_refE |
4704 | | |
4705 | | private: |
4706 | | template <typename Range, typename DestCharT> |
4707 | | auto impl(Range input, |
4708 | | bool is_escaped, |
4709 | | std::basic_string_view<SourceCharT> pattern, |
4710 | | detail::regex_flags flags, |
4711 | | basic_regex_matches<DestCharT>& value) |
4712 | 0 | { |
4713 | | if constexpr (detail::is_type_disabled< |
4714 | | basic_regex_matches<DestCharT>>) { |
4715 | | SCN_EXPECT(false); |
4716 | | SCN_UNREACHABLE; |
4717 | | } |
4718 | 0 | else { |
4719 | 0 | if (is_escaped) { |
4720 | 0 | return read_regex_matches_impl<SourceCharT>( |
4721 | 0 | get_unescaped_regex_pattern(pattern), flags, input, value); |
4722 | 0 | } |
4723 | 0 | return read_regex_matches_impl(pattern, flags, input, value); |
4724 | 0 | } |
4725 | 0 | } Unexecuted instantiation: auto scn::v3::impl::regex_matches_reader<char>::impl<std::__1::basic_string_view<char, std::__1::char_traits<char> >, char>(std::__1::basic_string_view<char, std::__1::char_traits<char> >, bool, std::__1::basic_string_view<char, std::__1::char_traits<char> >, scn::v3::detail::regex_flags, scn::v3::basic_regex_matches<char>&) Unexecuted instantiation: auto scn::v3::impl::regex_matches_reader<char>::impl<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*>, char>(scn::v3::ranges::detail::subrange_::subrange<char const*, char const*>, bool, std::__1::basic_string_view<char, std::__1::char_traits<char> >, scn::v3::detail::regex_flags, scn::v3::basic_regex_matches<char>&) Unexecuted instantiation: auto scn::v3::impl::regex_matches_reader<wchar_t>::impl<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> >, wchar_t>(std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> >, bool, std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> >, scn::v3::detail::regex_flags, scn::v3::basic_regex_matches<wchar_t>&) Unexecuted instantiation: auto scn::v3::impl::regex_matches_reader<wchar_t>::impl<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>, wchar_t>(scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>, bool, std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> >, scn::v3::detail::regex_flags, scn::v3::basic_regex_matches<wchar_t>&) |
4726 | | }; |
4727 | | |
4728 | | template <typename CharT> |
4729 | | struct reader_impl_for_regex_matches : public regex_matches_reader<CharT> {}; |
4730 | | |
4731 | | ///////////////////////////////////////////////////////////////// |
4732 | | // String reader |
4733 | | ///////////////////////////////////////////////////////////////// |
4734 | | |
4735 | | template <typename Range, typename Iterator, typename ValueCharT> |
4736 | | auto read_string_impl(Range range, |
4737 | | Iterator&& result, |
4738 | | std::basic_string<ValueCharT>& value) |
4739 | | -> scan_expected<ranges::const_iterator_t<Range>> |
4740 | 8.30k | { |
4741 | 8.30k | static_assert(ranges::forward_iterator<detail::remove_cvref_t<Iterator>>); |
4742 | | |
4743 | 8.30k | auto src = make_contiguous_buffer(ranges::subrange{range.begin(), result}); |
4744 | 8.30k | if (!validate_unicode(src.view())) { |
4745 | 2.14k | return unexpected_scan_error(scan_error::invalid_scanned_value, |
4746 | 2.14k | "Invalid encoding in scanned string"); |
4747 | 2.14k | } |
4748 | 6.16k | if (auto e = transcode_if_necessary(SCN_MOVE(src), value); |
4749 | 6.16k | SCN_UNLIKELY(!e)) { |
4750 | 0 | return unexpected(e); |
4751 | 0 | } |
4752 | | |
4753 | 6.16k | return SCN_MOVE(result); |
4754 | 6.16k | } Unexecuted instantiation: _ZN3scn2v34impl16read_string_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS4_18default_sentinel_tEEEEENS1_27counted_width_iterator_impl22counted_width_iteratorISB_SC_EEcEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_OT0_RNSJ_12basic_stringIT1_NSJ_11char_traitsISU_EENSJ_9allocatorISU_EEEE Unexecuted instantiation: _ZN3scn2v34impl16read_string_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS4_18default_sentinel_tEEEEERNS1_27counted_width_iterator_impl22counted_width_iteratorISB_SC_EEcEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_OT0_RNSK_12basic_stringIT1_NSK_11char_traitsISV_EENSK_9allocatorISV_EEEE Unexecuted instantiation: _ZN3scn2v34impl16read_string_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEESA_cEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_OT0_RNSE_12basic_stringIT1_NSE_11char_traitsISP_EENSE_9allocatorISP_EEEE Unexecuted instantiation: _ZN3scn2v34impl16read_string_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEERSA_cEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_OT0_RNSF_12basic_stringIT1_NSF_11char_traitsISQ_EENSF_9allocatorISQ_EEEE _ZN3scn2v34impl16read_string_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEEENS1_27counted_width_iterator_impl22counted_width_iteratorIS9_S9_EEcEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_OT0_RNSG_12basic_stringIT1_NSG_11char_traitsISR_EENSG_9allocatorISR_EEEE Line | Count | Source | 4740 | 328 | { | 4741 | 328 | static_assert(ranges::forward_iterator<detail::remove_cvref_t<Iterator>>); | 4742 | | | 4743 | 328 | auto src = make_contiguous_buffer(ranges::subrange{range.begin(), result}); | 4744 | 328 | if (!validate_unicode(src.view())) { | 4745 | 118 | return unexpected_scan_error(scan_error::invalid_scanned_value, | 4746 | 118 | "Invalid encoding in scanned string"); | 4747 | 118 | } | 4748 | 210 | if (auto e = transcode_if_necessary(SCN_MOVE(src), value); | 4749 | 210 | SCN_UNLIKELY(!e)) { | 4750 | 0 | return unexpected(e); | 4751 | 0 | } | 4752 | | | 4753 | 210 | return SCN_MOVE(result); | 4754 | 210 | } |
_ZN3scn2v34impl16read_string_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEEERNS1_27counted_width_iterator_impl22counted_width_iteratorIS9_S9_EEcEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_OT0_RNSH_12basic_stringIT1_NSH_11char_traitsISS_EENSH_9allocatorISS_EEEE Line | Count | Source | 4740 | 210 | { | 4741 | 210 | static_assert(ranges::forward_iterator<detail::remove_cvref_t<Iterator>>); | 4742 | | | 4743 | 210 | auto src = make_contiguous_buffer(ranges::subrange{range.begin(), result}); | 4744 | 210 | if (!validate_unicode(src.view())) { | 4745 | 60 | return unexpected_scan_error(scan_error::invalid_scanned_value, | 4746 | 60 | "Invalid encoding in scanned string"); | 4747 | 60 | } | 4748 | 150 | if (auto e = transcode_if_necessary(SCN_MOVE(src), value); | 4749 | 150 | SCN_UNLIKELY(!e)) { | 4750 | 0 | return unexpected(e); | 4751 | 0 | } | 4752 | | | 4753 | 150 | return SCN_MOVE(result); | 4754 | 150 | } |
_ZN3scn2v34impl16read_string_implINS0_6ranges6detail9subrange_8subrangeIPKcS8_EES8_cEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESD_OT0_RNSB_12basic_stringIT1_NSB_11char_traitsISM_EENSB_9allocatorISM_EEEE Line | Count | Source | 4740 | 1.00k | { | 4741 | 1.00k | static_assert(ranges::forward_iterator<detail::remove_cvref_t<Iterator>>); | 4742 | | | 4743 | 1.00k | auto src = make_contiguous_buffer(ranges::subrange{range.begin(), result}); | 4744 | 1.00k | if (!validate_unicode(src.view())) { | 4745 | 330 | return unexpected_scan_error(scan_error::invalid_scanned_value, | 4746 | 330 | "Invalid encoding in scanned string"); | 4747 | 330 | } | 4748 | 670 | if (auto e = transcode_if_necessary(SCN_MOVE(src), value); | 4749 | 670 | SCN_UNLIKELY(!e)) { | 4750 | 0 | return unexpected(e); | 4751 | 0 | } | 4752 | | | 4753 | 670 | return SCN_MOVE(result); | 4754 | 670 | } |
_ZN3scn2v34impl16read_string_implINS0_6ranges6detail9subrange_8subrangeIPKcS8_EERS8_cEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESE_OT0_RNSC_12basic_stringIT1_NSC_11char_traitsISN_EENSC_9allocatorISN_EEEE Line | Count | Source | 4740 | 1.09k | { | 4741 | 1.09k | static_assert(ranges::forward_iterator<detail::remove_cvref_t<Iterator>>); | 4742 | | | 4743 | 1.09k | auto src = make_contiguous_buffer(ranges::subrange{range.begin(), result}); | 4744 | 1.09k | if (!validate_unicode(src.view())) { | 4745 | 124 | return unexpected_scan_error(scan_error::invalid_scanned_value, | 4746 | 124 | "Invalid encoding in scanned string"); | 4747 | 124 | } | 4748 | 974 | if (auto e = transcode_if_necessary(SCN_MOVE(src), value); | 4749 | 974 | SCN_UNLIKELY(!e)) { | 4750 | 0 | return unexpected(e); | 4751 | 0 | } | 4752 | | | 4753 | 974 | return SCN_MOVE(result); | 4754 | 974 | } |
Unexecuted instantiation: _ZN3scn2v34impl16read_string_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS4_18default_sentinel_tEEEEENS1_27counted_width_iterator_impl22counted_width_iteratorISB_SC_EEwEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_OT0_RNSJ_12basic_stringIT1_NSJ_11char_traitsISU_EENSJ_9allocatorISU_EEEE Unexecuted instantiation: _ZN3scn2v34impl16read_string_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS4_18default_sentinel_tEEEEERNS1_27counted_width_iterator_impl22counted_width_iteratorISB_SC_EEwEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_OT0_RNSK_12basic_stringIT1_NSK_11char_traitsISV_EENSK_9allocatorISV_EEEE Unexecuted instantiation: _ZN3scn2v34impl16read_string_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEESA_wEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_OT0_RNSE_12basic_stringIT1_NSE_11char_traitsISP_EENSE_9allocatorISP_EEEE Unexecuted instantiation: _ZN3scn2v34impl16read_string_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEERSA_wEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_OT0_RNSF_12basic_stringIT1_NSF_11char_traitsISQ_EENSF_9allocatorISQ_EEEE _ZN3scn2v34impl16read_string_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEEENS1_27counted_width_iterator_impl22counted_width_iteratorIS9_S9_EEwEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_OT0_RNSG_12basic_stringIT1_NSG_11char_traitsISR_EENSG_9allocatorISR_EEEE Line | Count | Source | 4740 | 328 | { | 4741 | 328 | static_assert(ranges::forward_iterator<detail::remove_cvref_t<Iterator>>); | 4742 | | | 4743 | 328 | auto src = make_contiguous_buffer(ranges::subrange{range.begin(), result}); | 4744 | 328 | if (!validate_unicode(src.view())) { | 4745 | 118 | return unexpected_scan_error(scan_error::invalid_scanned_value, | 4746 | 118 | "Invalid encoding in scanned string"); | 4747 | 118 | } | 4748 | 210 | if (auto e = transcode_if_necessary(SCN_MOVE(src), value); | 4749 | 210 | SCN_UNLIKELY(!e)) { | 4750 | 0 | return unexpected(e); | 4751 | 0 | } | 4752 | | | 4753 | 210 | return SCN_MOVE(result); | 4754 | 210 | } |
_ZN3scn2v34impl16read_string_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEEERNS1_27counted_width_iterator_impl22counted_width_iteratorIS9_S9_EEwEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_OT0_RNSH_12basic_stringIT1_NSH_11char_traitsISS_EENSH_9allocatorISS_EEEE Line | Count | Source | 4740 | 210 | { | 4741 | 210 | static_assert(ranges::forward_iterator<detail::remove_cvref_t<Iterator>>); | 4742 | | | 4743 | 210 | auto src = make_contiguous_buffer(ranges::subrange{range.begin(), result}); | 4744 | 210 | if (!validate_unicode(src.view())) { | 4745 | 60 | return unexpected_scan_error(scan_error::invalid_scanned_value, | 4746 | 60 | "Invalid encoding in scanned string"); | 4747 | 60 | } | 4748 | 150 | if (auto e = transcode_if_necessary(SCN_MOVE(src), value); | 4749 | 150 | SCN_UNLIKELY(!e)) { | 4750 | 0 | return unexpected(e); | 4751 | 0 | } | 4752 | | | 4753 | 150 | return SCN_MOVE(result); | 4754 | 150 | } |
_ZN3scn2v34impl16read_string_implINS0_6ranges6detail9subrange_8subrangeIPKcS8_EES8_wEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESD_OT0_RNSB_12basic_stringIT1_NSB_11char_traitsISM_EENSB_9allocatorISM_EEEE Line | Count | Source | 4740 | 1.00k | { | 4741 | 1.00k | static_assert(ranges::forward_iterator<detail::remove_cvref_t<Iterator>>); | 4742 | | | 4743 | 1.00k | auto src = make_contiguous_buffer(ranges::subrange{range.begin(), result}); | 4744 | 1.00k | if (!validate_unicode(src.view())) { | 4745 | 330 | return unexpected_scan_error(scan_error::invalid_scanned_value, | 4746 | 330 | "Invalid encoding in scanned string"); | 4747 | 330 | } | 4748 | 670 | if (auto e = transcode_if_necessary(SCN_MOVE(src), value); | 4749 | 670 | SCN_UNLIKELY(!e)) { | 4750 | 0 | return unexpected(e); | 4751 | 0 | } | 4752 | | | 4753 | 670 | return SCN_MOVE(result); | 4754 | 670 | } |
_ZN3scn2v34impl16read_string_implINS0_6ranges6detail9subrange_8subrangeIPKcS8_EERS8_wEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESE_OT0_RNSC_12basic_stringIT1_NSC_11char_traitsISN_EENSC_9allocatorISN_EEEE Line | Count | Source | 4740 | 1.09k | { | 4741 | 1.09k | static_assert(ranges::forward_iterator<detail::remove_cvref_t<Iterator>>); | 4742 | | | 4743 | 1.09k | auto src = make_contiguous_buffer(ranges::subrange{range.begin(), result}); | 4744 | 1.09k | if (!validate_unicode(src.view())) { | 4745 | 124 | return unexpected_scan_error(scan_error::invalid_scanned_value, | 4746 | 124 | "Invalid encoding in scanned string"); | 4747 | 124 | } | 4748 | 974 | if (auto e = transcode_if_necessary(SCN_MOVE(src), value); | 4749 | 974 | SCN_UNLIKELY(!e)) { | 4750 | 0 | return unexpected(e); | 4751 | 0 | } | 4752 | | | 4753 | 974 | return SCN_MOVE(result); | 4754 | 974 | } |
Unexecuted instantiation: _ZN3scn2v34impl16read_string_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS4_18default_sentinel_tEEEEENS1_27counted_width_iterator_impl22counted_width_iteratorISB_SC_EEcEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_OT0_RNSJ_12basic_stringIT1_NSJ_11char_traitsISU_EENSJ_9allocatorISU_EEEE Unexecuted instantiation: _ZN3scn2v34impl16read_string_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS4_18default_sentinel_tEEEEERNS1_27counted_width_iterator_impl22counted_width_iteratorISB_SC_EEcEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_OT0_RNSK_12basic_stringIT1_NSK_11char_traitsISV_EENSK_9allocatorISV_EEEE Unexecuted instantiation: _ZN3scn2v34impl16read_string_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEESA_cEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_OT0_RNSE_12basic_stringIT1_NSE_11char_traitsISP_EENSE_9allocatorISP_EEEE Unexecuted instantiation: _ZN3scn2v34impl16read_string_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEERSA_cEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_OT0_RNSF_12basic_stringIT1_NSF_11char_traitsISQ_EENSF_9allocatorISQ_EEEE _ZN3scn2v34impl16read_string_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEEENS1_27counted_width_iterator_impl22counted_width_iteratorIS9_S9_EEcEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_OT0_RNSG_12basic_stringIT1_NSG_11char_traitsISR_EENSG_9allocatorISR_EEEE Line | Count | Source | 4740 | 134 | { | 4741 | 134 | static_assert(ranges::forward_iterator<detail::remove_cvref_t<Iterator>>); | 4742 | | | 4743 | 134 | auto src = make_contiguous_buffer(ranges::subrange{range.begin(), result}); | 4744 | 134 | if (!validate_unicode(src.view())) { | 4745 | 64 | return unexpected_scan_error(scan_error::invalid_scanned_value, | 4746 | 64 | "Invalid encoding in scanned string"); | 4747 | 64 | } | 4748 | 70 | if (auto e = transcode_if_necessary(SCN_MOVE(src), value); | 4749 | 70 | SCN_UNLIKELY(!e)) { | 4750 | 0 | return unexpected(e); | 4751 | 0 | } | 4752 | | | 4753 | 70 | return SCN_MOVE(result); | 4754 | 70 | } |
_ZN3scn2v34impl16read_string_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEEERNS1_27counted_width_iterator_impl22counted_width_iteratorIS9_S9_EEcEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_OT0_RNSH_12basic_stringIT1_NSH_11char_traitsISS_EENSH_9allocatorISS_EEEE Line | Count | Source | 4740 | 78 | { | 4741 | 78 | static_assert(ranges::forward_iterator<detail::remove_cvref_t<Iterator>>); | 4742 | | | 4743 | 78 | auto src = make_contiguous_buffer(ranges::subrange{range.begin(), result}); | 4744 | 78 | if (!validate_unicode(src.view())) { | 4745 | 0 | return unexpected_scan_error(scan_error::invalid_scanned_value, | 4746 | 0 | "Invalid encoding in scanned string"); | 4747 | 0 | } | 4748 | 78 | if (auto e = transcode_if_necessary(SCN_MOVE(src), value); | 4749 | 78 | SCN_UNLIKELY(!e)) { | 4750 | 0 | return unexpected(e); | 4751 | 0 | } | 4752 | | | 4753 | 78 | return SCN_MOVE(result); | 4754 | 78 | } |
_ZN3scn2v34impl16read_string_implINS0_6ranges6detail9subrange_8subrangeIPKwS8_EES8_cEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESD_OT0_RNSB_12basic_stringIT1_NSB_11char_traitsISM_EENSB_9allocatorISM_EEEE Line | Count | Source | 4740 | 820 | { | 4741 | 820 | static_assert(ranges::forward_iterator<detail::remove_cvref_t<Iterator>>); | 4742 | | | 4743 | 820 | auto src = make_contiguous_buffer(ranges::subrange{range.begin(), result}); | 4744 | 820 | if (!validate_unicode(src.view())) { | 4745 | 260 | return unexpected_scan_error(scan_error::invalid_scanned_value, | 4746 | 260 | "Invalid encoding in scanned string"); | 4747 | 260 | } | 4748 | 560 | if (auto e = transcode_if_necessary(SCN_MOVE(src), value); | 4749 | 560 | SCN_UNLIKELY(!e)) { | 4750 | 0 | return unexpected(e); | 4751 | 0 | } | 4752 | | | 4753 | 560 | return SCN_MOVE(result); | 4754 | 560 | } |
_ZN3scn2v34impl16read_string_implINS0_6ranges6detail9subrange_8subrangeIPKwS8_EERS8_cEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESE_OT0_RNSC_12basic_stringIT1_NSC_11char_traitsISN_EENSC_9allocatorISN_EEEE Line | Count | Source | 4740 | 482 | { | 4741 | 482 | static_assert(ranges::forward_iterator<detail::remove_cvref_t<Iterator>>); | 4742 | | | 4743 | 482 | auto src = make_contiguous_buffer(ranges::subrange{range.begin(), result}); | 4744 | 482 | if (!validate_unicode(src.view())) { | 4745 | 114 | return unexpected_scan_error(scan_error::invalid_scanned_value, | 4746 | 114 | "Invalid encoding in scanned string"); | 4747 | 114 | } | 4748 | 368 | if (auto e = transcode_if_necessary(SCN_MOVE(src), value); | 4749 | 368 | SCN_UNLIKELY(!e)) { | 4750 | 0 | return unexpected(e); | 4751 | 0 | } | 4752 | | | 4753 | 368 | return SCN_MOVE(result); | 4754 | 368 | } |
Unexecuted instantiation: _ZN3scn2v34impl16read_string_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS4_18default_sentinel_tEEEEENS1_27counted_width_iterator_impl22counted_width_iteratorISB_SC_EEwEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_OT0_RNSJ_12basic_stringIT1_NSJ_11char_traitsISU_EENSJ_9allocatorISU_EEEE Unexecuted instantiation: _ZN3scn2v34impl16read_string_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS4_18default_sentinel_tEEEEERNS1_27counted_width_iterator_impl22counted_width_iteratorISB_SC_EEwEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_OT0_RNSK_12basic_stringIT1_NSK_11char_traitsISV_EENSK_9allocatorISV_EEEE Unexecuted instantiation: _ZN3scn2v34impl16read_string_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEESA_wEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_OT0_RNSE_12basic_stringIT1_NSE_11char_traitsISP_EENSE_9allocatorISP_EEEE Unexecuted instantiation: _ZN3scn2v34impl16read_string_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEERSA_wEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_OT0_RNSF_12basic_stringIT1_NSF_11char_traitsISQ_EENSF_9allocatorISQ_EEEE _ZN3scn2v34impl16read_string_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEEENS1_27counted_width_iterator_impl22counted_width_iteratorIS9_S9_EEwEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_OT0_RNSG_12basic_stringIT1_NSG_11char_traitsISR_EENSG_9allocatorISR_EEEE Line | Count | Source | 4740 | 134 | { | 4741 | 134 | static_assert(ranges::forward_iterator<detail::remove_cvref_t<Iterator>>); | 4742 | | | 4743 | 134 | auto src = make_contiguous_buffer(ranges::subrange{range.begin(), result}); | 4744 | 134 | if (!validate_unicode(src.view())) { | 4745 | 64 | return unexpected_scan_error(scan_error::invalid_scanned_value, | 4746 | 64 | "Invalid encoding in scanned string"); | 4747 | 64 | } | 4748 | 70 | if (auto e = transcode_if_necessary(SCN_MOVE(src), value); | 4749 | 70 | SCN_UNLIKELY(!e)) { | 4750 | 0 | return unexpected(e); | 4751 | 0 | } | 4752 | | | 4753 | 70 | return SCN_MOVE(result); | 4754 | 70 | } |
_ZN3scn2v34impl16read_string_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEEERNS1_27counted_width_iterator_impl22counted_width_iteratorIS9_S9_EEwEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_OT0_RNSH_12basic_stringIT1_NSH_11char_traitsISS_EENSH_9allocatorISS_EEEE Line | Count | Source | 4740 | 78 | { | 4741 | 78 | static_assert(ranges::forward_iterator<detail::remove_cvref_t<Iterator>>); | 4742 | | | 4743 | 78 | auto src = make_contiguous_buffer(ranges::subrange{range.begin(), result}); | 4744 | 78 | if (!validate_unicode(src.view())) { | 4745 | 0 | return unexpected_scan_error(scan_error::invalid_scanned_value, | 4746 | 0 | "Invalid encoding in scanned string"); | 4747 | 0 | } | 4748 | 78 | if (auto e = transcode_if_necessary(SCN_MOVE(src), value); | 4749 | 78 | SCN_UNLIKELY(!e)) { | 4750 | 0 | return unexpected(e); | 4751 | 0 | } | 4752 | | | 4753 | 78 | return SCN_MOVE(result); | 4754 | 78 | } |
_ZN3scn2v34impl16read_string_implINS0_6ranges6detail9subrange_8subrangeIPKwS8_EES8_wEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESD_OT0_RNSB_12basic_stringIT1_NSB_11char_traitsISM_EENSB_9allocatorISM_EEEE Line | Count | Source | 4740 | 820 | { | 4741 | 820 | static_assert(ranges::forward_iterator<detail::remove_cvref_t<Iterator>>); | 4742 | | | 4743 | 820 | auto src = make_contiguous_buffer(ranges::subrange{range.begin(), result}); | 4744 | 820 | if (!validate_unicode(src.view())) { | 4745 | 260 | return unexpected_scan_error(scan_error::invalid_scanned_value, | 4746 | 260 | "Invalid encoding in scanned string"); | 4747 | 260 | } | 4748 | 560 | if (auto e = transcode_if_necessary(SCN_MOVE(src), value); | 4749 | 560 | SCN_UNLIKELY(!e)) { | 4750 | 0 | return unexpected(e); | 4751 | 0 | } | 4752 | | | 4753 | 560 | return SCN_MOVE(result); | 4754 | 560 | } |
_ZN3scn2v34impl16read_string_implINS0_6ranges6detail9subrange_8subrangeIPKwS8_EERS8_wEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESE_OT0_RNSC_12basic_stringIT1_NSC_11char_traitsISN_EENSC_9allocatorISN_EEEE Line | Count | Source | 4740 | 482 | { | 4741 | 482 | static_assert(ranges::forward_iterator<detail::remove_cvref_t<Iterator>>); | 4742 | | | 4743 | 482 | auto src = make_contiguous_buffer(ranges::subrange{range.begin(), result}); | 4744 | 482 | if (!validate_unicode(src.view())) { | 4745 | 114 | return unexpected_scan_error(scan_error::invalid_scanned_value, | 4746 | 114 | "Invalid encoding in scanned string"); | 4747 | 114 | } | 4748 | 368 | if (auto e = transcode_if_necessary(SCN_MOVE(src), value); | 4749 | 368 | SCN_UNLIKELY(!e)) { | 4750 | 0 | return unexpected(e); | 4751 | 0 | } | 4752 | | | 4753 | 368 | return SCN_MOVE(result); | 4754 | 368 | } |
|
4755 | | |
4756 | | template <typename Range, typename Iterator, typename ValueCharT> |
4757 | | auto read_string_view_impl(Range range, |
4758 | | Iterator&& result, |
4759 | | std::basic_string_view<ValueCharT>& value) |
4760 | | -> scan_expected<ranges::const_iterator_t<Range>> |
4761 | 4.15k | { |
4762 | 4.15k | static_assert(ranges::forward_iterator<detail::remove_cvref_t<Iterator>>); |
4763 | | |
4764 | 4.15k | auto src = [&]() { |
4765 | 4.15k | if constexpr (detail::is_specialization_of_v<Range, take_width_view>) { |
4766 | 750 | return make_contiguous_buffer( |
4767 | 750 | ranges::subrange{range.begin().base(), result.base()}); |
4768 | | } |
4769 | 3.40k | else { |
4770 | 3.40k | return make_contiguous_buffer( |
4771 | 3.40k | ranges::subrange{range.begin(), result}); |
4772 | 3.40k | } |
4773 | 4.15k | }(); Unexecuted instantiation: _ZZN3scn2v34impl21read_string_view_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS4_18default_sentinel_tEEEEENS1_27counted_width_iterator_impl22counted_width_iteratorISB_SC_EEcEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_OT0_RNSJ_17basic_string_viewIT1_NSJ_11char_traitsISU_EEEEENKUlvE_clEv Unexecuted instantiation: _ZZN3scn2v34impl21read_string_view_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS4_18default_sentinel_tEEEEERNS1_27counted_width_iterator_impl22counted_width_iteratorISB_SC_EEcEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_OT0_RNSK_17basic_string_viewIT1_NSK_11char_traitsISV_EEEEENKUlvE_clEv Unexecuted instantiation: _ZZN3scn2v34impl21read_string_view_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEESA_cEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_OT0_RNSE_17basic_string_viewIT1_NSE_11char_traitsISP_EEEEENKUlvE_clEv Unexecuted instantiation: _ZZN3scn2v34impl21read_string_view_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEERSA_cEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_OT0_RNSF_17basic_string_viewIT1_NSF_11char_traitsISQ_EEEEENKUlvE_clEv _ZZN3scn2v34impl21read_string_view_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEEENS1_27counted_width_iterator_impl22counted_width_iteratorIS9_S9_EEcEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_OT0_RNSG_17basic_string_viewIT1_NSG_11char_traitsISR_EEEEENKUlvE_clEv Line | Count | Source | 4764 | 328 | auto src = [&]() { | 4765 | 328 | if constexpr (detail::is_specialization_of_v<Range, take_width_view>) { | 4766 | 328 | return make_contiguous_buffer( | 4767 | 328 | ranges::subrange{range.begin().base(), result.base()}); | 4768 | | } | 4769 | | else { | 4770 | | return make_contiguous_buffer( | 4771 | | ranges::subrange{range.begin(), result}); | 4772 | | } | 4773 | 328 | }(); |
_ZZN3scn2v34impl21read_string_view_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEEERNS1_27counted_width_iterator_impl22counted_width_iteratorIS9_S9_EEcEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_OT0_RNSH_17basic_string_viewIT1_NSH_11char_traitsISS_EEEEENKUlvE_clEv Line | Count | Source | 4764 | 210 | auto src = [&]() { | 4765 | 210 | if constexpr (detail::is_specialization_of_v<Range, take_width_view>) { | 4766 | 210 | return make_contiguous_buffer( | 4767 | 210 | ranges::subrange{range.begin().base(), result.base()}); | 4768 | | } | 4769 | | else { | 4770 | | return make_contiguous_buffer( | 4771 | | ranges::subrange{range.begin(), result}); | 4772 | | } | 4773 | 210 | }(); |
_ZZN3scn2v34impl21read_string_view_implINS0_6ranges6detail9subrange_8subrangeIPKcS8_EES8_cEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESD_OT0_RNSB_17basic_string_viewIT1_NSB_11char_traitsISM_EEEEENKUlvE_clEv Line | Count | Source | 4764 | 1.00k | auto src = [&]() { | 4765 | | if constexpr (detail::is_specialization_of_v<Range, take_width_view>) { | 4766 | | return make_contiguous_buffer( | 4767 | | ranges::subrange{range.begin().base(), result.base()}); | 4768 | | } | 4769 | 1.00k | else { | 4770 | 1.00k | return make_contiguous_buffer( | 4771 | 1.00k | ranges::subrange{range.begin(), result}); | 4772 | 1.00k | } | 4773 | 1.00k | }(); |
_ZZN3scn2v34impl21read_string_view_implINS0_6ranges6detail9subrange_8subrangeIPKcS8_EERS8_cEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESE_OT0_RNSC_17basic_string_viewIT1_NSC_11char_traitsISN_EEEEENKUlvE_clEv Line | Count | Source | 4764 | 1.09k | auto src = [&]() { | 4765 | | if constexpr (detail::is_specialization_of_v<Range, take_width_view>) { | 4766 | | return make_contiguous_buffer( | 4767 | | ranges::subrange{range.begin().base(), result.base()}); | 4768 | | } | 4769 | 1.09k | else { | 4770 | 1.09k | return make_contiguous_buffer( | 4771 | 1.09k | ranges::subrange{range.begin(), result}); | 4772 | 1.09k | } | 4773 | 1.09k | }(); |
Unexecuted instantiation: _ZZN3scn2v34impl21read_string_view_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS4_18default_sentinel_tEEEEENS1_27counted_width_iterator_impl22counted_width_iteratorISB_SC_EEwEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_OT0_RNSJ_17basic_string_viewIT1_NSJ_11char_traitsISU_EEEEENKUlvE_clEv Unexecuted instantiation: _ZZN3scn2v34impl21read_string_view_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS4_18default_sentinel_tEEEEERNS1_27counted_width_iterator_impl22counted_width_iteratorISB_SC_EEwEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_OT0_RNSK_17basic_string_viewIT1_NSK_11char_traitsISV_EEEEENKUlvE_clEv Unexecuted instantiation: _ZZN3scn2v34impl21read_string_view_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEESA_wEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_OT0_RNSE_17basic_string_viewIT1_NSE_11char_traitsISP_EEEEENKUlvE_clEv Unexecuted instantiation: _ZZN3scn2v34impl21read_string_view_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEERSA_wEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_OT0_RNSF_17basic_string_viewIT1_NSF_11char_traitsISQ_EEEEENKUlvE_clEv Unexecuted instantiation: _ZZN3scn2v34impl21read_string_view_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEEENS1_27counted_width_iterator_impl22counted_width_iteratorIS9_S9_EEwEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_OT0_RNSG_17basic_string_viewIT1_NSG_11char_traitsISR_EEEEENKUlvE_clEv Unexecuted instantiation: _ZZN3scn2v34impl21read_string_view_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEEERNS1_27counted_width_iterator_impl22counted_width_iteratorIS9_S9_EEwEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_OT0_RNSH_17basic_string_viewIT1_NSH_11char_traitsISS_EEEEENKUlvE_clEv Unexecuted instantiation: _ZZN3scn2v34impl21read_string_view_implINS0_6ranges6detail9subrange_8subrangeIPKcS8_EES8_wEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESD_OT0_RNSB_17basic_string_viewIT1_NSB_11char_traitsISM_EEEEENKUlvE_clEv Unexecuted instantiation: _ZZN3scn2v34impl21read_string_view_implINS0_6ranges6detail9subrange_8subrangeIPKcS8_EERS8_wEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESE_OT0_RNSC_17basic_string_viewIT1_NSC_11char_traitsISN_EEEEENKUlvE_clEv Unexecuted instantiation: _ZZN3scn2v34impl21read_string_view_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS4_18default_sentinel_tEEEEENS1_27counted_width_iterator_impl22counted_width_iteratorISB_SC_EEcEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_OT0_RNSJ_17basic_string_viewIT1_NSJ_11char_traitsISU_EEEEENKUlvE_clEv Unexecuted instantiation: _ZZN3scn2v34impl21read_string_view_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS4_18default_sentinel_tEEEEERNS1_27counted_width_iterator_impl22counted_width_iteratorISB_SC_EEcEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_OT0_RNSK_17basic_string_viewIT1_NSK_11char_traitsISV_EEEEENKUlvE_clEv Unexecuted instantiation: _ZZN3scn2v34impl21read_string_view_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEESA_cEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_OT0_RNSE_17basic_string_viewIT1_NSE_11char_traitsISP_EEEEENKUlvE_clEv Unexecuted instantiation: _ZZN3scn2v34impl21read_string_view_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEERSA_cEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_OT0_RNSF_17basic_string_viewIT1_NSF_11char_traitsISQ_EEEEENKUlvE_clEv Unexecuted instantiation: _ZZN3scn2v34impl21read_string_view_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEEENS1_27counted_width_iterator_impl22counted_width_iteratorIS9_S9_EEcEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_OT0_RNSG_17basic_string_viewIT1_NSG_11char_traitsISR_EEEEENKUlvE_clEv Unexecuted instantiation: _ZZN3scn2v34impl21read_string_view_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEEERNS1_27counted_width_iterator_impl22counted_width_iteratorIS9_S9_EEcEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_OT0_RNSH_17basic_string_viewIT1_NSH_11char_traitsISS_EEEEENKUlvE_clEv Unexecuted instantiation: _ZZN3scn2v34impl21read_string_view_implINS0_6ranges6detail9subrange_8subrangeIPKwS8_EES8_cEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESD_OT0_RNSB_17basic_string_viewIT1_NSB_11char_traitsISM_EEEEENKUlvE_clEv Unexecuted instantiation: _ZZN3scn2v34impl21read_string_view_implINS0_6ranges6detail9subrange_8subrangeIPKwS8_EERS8_cEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESE_OT0_RNSC_17basic_string_viewIT1_NSC_11char_traitsISN_EEEEENKUlvE_clEv Unexecuted instantiation: _ZZN3scn2v34impl21read_string_view_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS4_18default_sentinel_tEEEEENS1_27counted_width_iterator_impl22counted_width_iteratorISB_SC_EEwEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_OT0_RNSJ_17basic_string_viewIT1_NSJ_11char_traitsISU_EEEEENKUlvE_clEv Unexecuted instantiation: _ZZN3scn2v34impl21read_string_view_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS4_18default_sentinel_tEEEEERNS1_27counted_width_iterator_impl22counted_width_iteratorISB_SC_EEwEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_OT0_RNSK_17basic_string_viewIT1_NSK_11char_traitsISV_EEEEENKUlvE_clEv Unexecuted instantiation: _ZZN3scn2v34impl21read_string_view_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEESA_wEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_OT0_RNSE_17basic_string_viewIT1_NSE_11char_traitsISP_EEEEENKUlvE_clEv Unexecuted instantiation: _ZZN3scn2v34impl21read_string_view_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEERSA_wEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_OT0_RNSF_17basic_string_viewIT1_NSF_11char_traitsISQ_EEEEENKUlvE_clEv _ZZN3scn2v34impl21read_string_view_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEEENS1_27counted_width_iterator_impl22counted_width_iteratorIS9_S9_EEwEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_OT0_RNSG_17basic_string_viewIT1_NSG_11char_traitsISR_EEEEENKUlvE_clEv Line | Count | Source | 4764 | 134 | auto src = [&]() { | 4765 | 134 | if constexpr (detail::is_specialization_of_v<Range, take_width_view>) { | 4766 | 134 | return make_contiguous_buffer( | 4767 | 134 | ranges::subrange{range.begin().base(), result.base()}); | 4768 | | } | 4769 | | else { | 4770 | | return make_contiguous_buffer( | 4771 | | ranges::subrange{range.begin(), result}); | 4772 | | } | 4773 | 134 | }(); |
_ZZN3scn2v34impl21read_string_view_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEEERNS1_27counted_width_iterator_impl22counted_width_iteratorIS9_S9_EEwEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_OT0_RNSH_17basic_string_viewIT1_NSH_11char_traitsISS_EEEEENKUlvE_clEv Line | Count | Source | 4764 | 78 | auto src = [&]() { | 4765 | 78 | if constexpr (detail::is_specialization_of_v<Range, take_width_view>) { | 4766 | 78 | return make_contiguous_buffer( | 4767 | 78 | ranges::subrange{range.begin().base(), result.base()}); | 4768 | | } | 4769 | | else { | 4770 | | return make_contiguous_buffer( | 4771 | | ranges::subrange{range.begin(), result}); | 4772 | | } | 4773 | 78 | }(); |
_ZZN3scn2v34impl21read_string_view_implINS0_6ranges6detail9subrange_8subrangeIPKwS8_EES8_wEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESD_OT0_RNSB_17basic_string_viewIT1_NSB_11char_traitsISM_EEEEENKUlvE_clEv Line | Count | Source | 4764 | 820 | auto src = [&]() { | 4765 | | if constexpr (detail::is_specialization_of_v<Range, take_width_view>) { | 4766 | | return make_contiguous_buffer( | 4767 | | ranges::subrange{range.begin().base(), result.base()}); | 4768 | | } | 4769 | 820 | else { | 4770 | 820 | return make_contiguous_buffer( | 4771 | 820 | ranges::subrange{range.begin(), result}); | 4772 | 820 | } | 4773 | 820 | }(); |
_ZZN3scn2v34impl21read_string_view_implINS0_6ranges6detail9subrange_8subrangeIPKwS8_EERS8_wEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESE_OT0_RNSC_17basic_string_viewIT1_NSC_11char_traitsISN_EEEEENKUlvE_clEv Line | Count | Source | 4764 | 482 | auto src = [&]() { | 4765 | | if constexpr (detail::is_specialization_of_v<Range, take_width_view>) { | 4766 | | return make_contiguous_buffer( | 4767 | | ranges::subrange{range.begin().base(), result.base()}); | 4768 | | } | 4769 | 482 | else { | 4770 | 482 | return make_contiguous_buffer( | 4771 | 482 | ranges::subrange{range.begin(), result}); | 4772 | 482 | } | 4773 | 482 | }(); |
|
4774 | 4.15k | using src_type = decltype(src); |
4775 | | |
4776 | 4.15k | if (src.stores_allocated_string()) { |
4777 | 0 | return unexpected_scan_error( |
4778 | 0 | scan_error::invalid_scanned_value, |
4779 | 0 | "Cannot read a string_view from this source range (not " |
4780 | 0 | "contiguous)"); |
4781 | 0 | } |
4782 | 4.15k | if constexpr (!std::is_same_v<typename src_type::char_type, ValueCharT>) { |
4783 | 0 | return unexpected_scan_error(scan_error::invalid_scanned_value, |
4784 | 0 | "Cannot read a string_view from " |
4785 | 0 | "this source range (would require " |
4786 | 0 | "transcoding)"); |
4787 | | } |
4788 | 4.15k | else { |
4789 | 4.15k | const auto view = src.view(); |
4790 | 4.15k | value = std::basic_string_view<ValueCharT>(view.data(), view.size()); |
4791 | | |
4792 | 4.15k | if (!validate_unicode(value)) { |
4793 | 1.07k | return unexpected_scan_error( |
4794 | 1.07k | scan_error::invalid_scanned_value, |
4795 | 1.07k | "Invalid encoding in scanned string_view"); |
4796 | 1.07k | } |
4797 | | |
4798 | 3.08k | return SCN_MOVE(result); |
4799 | 4.15k | } |
4800 | 4.15k | } Unexecuted instantiation: _ZN3scn2v34impl21read_string_view_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS4_18default_sentinel_tEEEEENS1_27counted_width_iterator_impl22counted_width_iteratorISB_SC_EEcEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_OT0_RNSJ_17basic_string_viewIT1_NSJ_11char_traitsISU_EEEE Unexecuted instantiation: _ZN3scn2v34impl21read_string_view_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS4_18default_sentinel_tEEEEERNS1_27counted_width_iterator_impl22counted_width_iteratorISB_SC_EEcEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_OT0_RNSK_17basic_string_viewIT1_NSK_11char_traitsISV_EEEE Unexecuted instantiation: _ZN3scn2v34impl21read_string_view_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEESA_cEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_OT0_RNSE_17basic_string_viewIT1_NSE_11char_traitsISP_EEEE Unexecuted instantiation: _ZN3scn2v34impl21read_string_view_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEERSA_cEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_OT0_RNSF_17basic_string_viewIT1_NSF_11char_traitsISQ_EEEE _ZN3scn2v34impl21read_string_view_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEEENS1_27counted_width_iterator_impl22counted_width_iteratorIS9_S9_EEcEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_OT0_RNSG_17basic_string_viewIT1_NSG_11char_traitsISR_EEEE Line | Count | Source | 4761 | 328 | { | 4762 | 328 | static_assert(ranges::forward_iterator<detail::remove_cvref_t<Iterator>>); | 4763 | | | 4764 | 328 | auto src = [&]() { | 4765 | 328 | if constexpr (detail::is_specialization_of_v<Range, take_width_view>) { | 4766 | 328 | return make_contiguous_buffer( | 4767 | 328 | ranges::subrange{range.begin().base(), result.base()}); | 4768 | 328 | } | 4769 | 328 | else { | 4770 | 328 | return make_contiguous_buffer( | 4771 | 328 | ranges::subrange{range.begin(), result}); | 4772 | 328 | } | 4773 | 328 | }(); | 4774 | 328 | using src_type = decltype(src); | 4775 | | | 4776 | 328 | if (src.stores_allocated_string()) { | 4777 | 0 | return unexpected_scan_error( | 4778 | 0 | scan_error::invalid_scanned_value, | 4779 | 0 | "Cannot read a string_view from this source range (not " | 4780 | 0 | "contiguous)"); | 4781 | 0 | } | 4782 | | if constexpr (!std::is_same_v<typename src_type::char_type, ValueCharT>) { | 4783 | | return unexpected_scan_error(scan_error::invalid_scanned_value, | 4784 | | "Cannot read a string_view from " | 4785 | | "this source range (would require " | 4786 | | "transcoding)"); | 4787 | | } | 4788 | 328 | else { | 4789 | 328 | const auto view = src.view(); | 4790 | 328 | value = std::basic_string_view<ValueCharT>(view.data(), view.size()); | 4791 | | | 4792 | 328 | if (!validate_unicode(value)) { | 4793 | 118 | return unexpected_scan_error( | 4794 | 118 | scan_error::invalid_scanned_value, | 4795 | 118 | "Invalid encoding in scanned string_view"); | 4796 | 118 | } | 4797 | | | 4798 | 210 | return SCN_MOVE(result); | 4799 | 328 | } | 4800 | 328 | } |
_ZN3scn2v34impl21read_string_view_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEEERNS1_27counted_width_iterator_impl22counted_width_iteratorIS9_S9_EEcEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_OT0_RNSH_17basic_string_viewIT1_NSH_11char_traitsISS_EEEE Line | Count | Source | 4761 | 210 | { | 4762 | 210 | static_assert(ranges::forward_iterator<detail::remove_cvref_t<Iterator>>); | 4763 | | | 4764 | 210 | auto src = [&]() { | 4765 | 210 | if constexpr (detail::is_specialization_of_v<Range, take_width_view>) { | 4766 | 210 | return make_contiguous_buffer( | 4767 | 210 | ranges::subrange{range.begin().base(), result.base()}); | 4768 | 210 | } | 4769 | 210 | else { | 4770 | 210 | return make_contiguous_buffer( | 4771 | 210 | ranges::subrange{range.begin(), result}); | 4772 | 210 | } | 4773 | 210 | }(); | 4774 | 210 | using src_type = decltype(src); | 4775 | | | 4776 | 210 | if (src.stores_allocated_string()) { | 4777 | 0 | return unexpected_scan_error( | 4778 | 0 | scan_error::invalid_scanned_value, | 4779 | 0 | "Cannot read a string_view from this source range (not " | 4780 | 0 | "contiguous)"); | 4781 | 0 | } | 4782 | | if constexpr (!std::is_same_v<typename src_type::char_type, ValueCharT>) { | 4783 | | return unexpected_scan_error(scan_error::invalid_scanned_value, | 4784 | | "Cannot read a string_view from " | 4785 | | "this source range (would require " | 4786 | | "transcoding)"); | 4787 | | } | 4788 | 210 | else { | 4789 | 210 | const auto view = src.view(); | 4790 | 210 | value = std::basic_string_view<ValueCharT>(view.data(), view.size()); | 4791 | | | 4792 | 210 | if (!validate_unicode(value)) { | 4793 | 60 | return unexpected_scan_error( | 4794 | 60 | scan_error::invalid_scanned_value, | 4795 | 60 | "Invalid encoding in scanned string_view"); | 4796 | 60 | } | 4797 | | | 4798 | 150 | return SCN_MOVE(result); | 4799 | 210 | } | 4800 | 210 | } |
_ZN3scn2v34impl21read_string_view_implINS0_6ranges6detail9subrange_8subrangeIPKcS8_EES8_cEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESD_OT0_RNSB_17basic_string_viewIT1_NSB_11char_traitsISM_EEEE Line | Count | Source | 4761 | 1.00k | { | 4762 | 1.00k | static_assert(ranges::forward_iterator<detail::remove_cvref_t<Iterator>>); | 4763 | | | 4764 | 1.00k | auto src = [&]() { | 4765 | 1.00k | if constexpr (detail::is_specialization_of_v<Range, take_width_view>) { | 4766 | 1.00k | return make_contiguous_buffer( | 4767 | 1.00k | ranges::subrange{range.begin().base(), result.base()}); | 4768 | 1.00k | } | 4769 | 1.00k | else { | 4770 | 1.00k | return make_contiguous_buffer( | 4771 | 1.00k | ranges::subrange{range.begin(), result}); | 4772 | 1.00k | } | 4773 | 1.00k | }(); | 4774 | 1.00k | using src_type = decltype(src); | 4775 | | | 4776 | 1.00k | if (src.stores_allocated_string()) { | 4777 | 0 | return unexpected_scan_error( | 4778 | 0 | scan_error::invalid_scanned_value, | 4779 | 0 | "Cannot read a string_view from this source range (not " | 4780 | 0 | "contiguous)"); | 4781 | 0 | } | 4782 | | if constexpr (!std::is_same_v<typename src_type::char_type, ValueCharT>) { | 4783 | | return unexpected_scan_error(scan_error::invalid_scanned_value, | 4784 | | "Cannot read a string_view from " | 4785 | | "this source range (would require " | 4786 | | "transcoding)"); | 4787 | | } | 4788 | 1.00k | else { | 4789 | 1.00k | const auto view = src.view(); | 4790 | 1.00k | value = std::basic_string_view<ValueCharT>(view.data(), view.size()); | 4791 | | | 4792 | 1.00k | if (!validate_unicode(value)) { | 4793 | 330 | return unexpected_scan_error( | 4794 | 330 | scan_error::invalid_scanned_value, | 4795 | 330 | "Invalid encoding in scanned string_view"); | 4796 | 330 | } | 4797 | | | 4798 | 670 | return SCN_MOVE(result); | 4799 | 1.00k | } | 4800 | 1.00k | } |
_ZN3scn2v34impl21read_string_view_implINS0_6ranges6detail9subrange_8subrangeIPKcS8_EERS8_cEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESE_OT0_RNSC_17basic_string_viewIT1_NSC_11char_traitsISN_EEEE Line | Count | Source | 4761 | 1.09k | { | 4762 | 1.09k | static_assert(ranges::forward_iterator<detail::remove_cvref_t<Iterator>>); | 4763 | | | 4764 | 1.09k | auto src = [&]() { | 4765 | 1.09k | if constexpr (detail::is_specialization_of_v<Range, take_width_view>) { | 4766 | 1.09k | return make_contiguous_buffer( | 4767 | 1.09k | ranges::subrange{range.begin().base(), result.base()}); | 4768 | 1.09k | } | 4769 | 1.09k | else { | 4770 | 1.09k | return make_contiguous_buffer( | 4771 | 1.09k | ranges::subrange{range.begin(), result}); | 4772 | 1.09k | } | 4773 | 1.09k | }(); | 4774 | 1.09k | using src_type = decltype(src); | 4775 | | | 4776 | 1.09k | if (src.stores_allocated_string()) { | 4777 | 0 | return unexpected_scan_error( | 4778 | 0 | scan_error::invalid_scanned_value, | 4779 | 0 | "Cannot read a string_view from this source range (not " | 4780 | 0 | "contiguous)"); | 4781 | 0 | } | 4782 | | if constexpr (!std::is_same_v<typename src_type::char_type, ValueCharT>) { | 4783 | | return unexpected_scan_error(scan_error::invalid_scanned_value, | 4784 | | "Cannot read a string_view from " | 4785 | | "this source range (would require " | 4786 | | "transcoding)"); | 4787 | | } | 4788 | 1.09k | else { | 4789 | 1.09k | const auto view = src.view(); | 4790 | 1.09k | value = std::basic_string_view<ValueCharT>(view.data(), view.size()); | 4791 | | | 4792 | 1.09k | if (!validate_unicode(value)) { | 4793 | 124 | return unexpected_scan_error( | 4794 | 124 | scan_error::invalid_scanned_value, | 4795 | 124 | "Invalid encoding in scanned string_view"); | 4796 | 124 | } | 4797 | | | 4798 | 974 | return SCN_MOVE(result); | 4799 | 1.09k | } | 4800 | 1.09k | } |
Unexecuted instantiation: _ZN3scn2v34impl21read_string_view_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS4_18default_sentinel_tEEEEENS1_27counted_width_iterator_impl22counted_width_iteratorISB_SC_EEwEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_OT0_RNSJ_17basic_string_viewIT1_NSJ_11char_traitsISU_EEEE Unexecuted instantiation: _ZN3scn2v34impl21read_string_view_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS4_18default_sentinel_tEEEEERNS1_27counted_width_iterator_impl22counted_width_iteratorISB_SC_EEwEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_OT0_RNSK_17basic_string_viewIT1_NSK_11char_traitsISV_EEEE Unexecuted instantiation: _ZN3scn2v34impl21read_string_view_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEESA_wEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_OT0_RNSE_17basic_string_viewIT1_NSE_11char_traitsISP_EEEE Unexecuted instantiation: _ZN3scn2v34impl21read_string_view_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEERSA_wEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_OT0_RNSF_17basic_string_viewIT1_NSF_11char_traitsISQ_EEEE Unexecuted instantiation: _ZN3scn2v34impl21read_string_view_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEEENS1_27counted_width_iterator_impl22counted_width_iteratorIS9_S9_EEwEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_OT0_RNSG_17basic_string_viewIT1_NSG_11char_traitsISR_EEEE Unexecuted instantiation: _ZN3scn2v34impl21read_string_view_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEEERNS1_27counted_width_iterator_impl22counted_width_iteratorIS9_S9_EEwEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_OT0_RNSH_17basic_string_viewIT1_NSH_11char_traitsISS_EEEE Unexecuted instantiation: _ZN3scn2v34impl21read_string_view_implINS0_6ranges6detail9subrange_8subrangeIPKcS8_EES8_wEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESD_OT0_RNSB_17basic_string_viewIT1_NSB_11char_traitsISM_EEEE Unexecuted instantiation: _ZN3scn2v34impl21read_string_view_implINS0_6ranges6detail9subrange_8subrangeIPKcS8_EERS8_wEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESE_OT0_RNSC_17basic_string_viewIT1_NSC_11char_traitsISN_EEEE Unexecuted instantiation: _ZN3scn2v34impl21read_string_view_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS4_18default_sentinel_tEEEEENS1_27counted_width_iterator_impl22counted_width_iteratorISB_SC_EEcEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_OT0_RNSJ_17basic_string_viewIT1_NSJ_11char_traitsISU_EEEE Unexecuted instantiation: _ZN3scn2v34impl21read_string_view_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS4_18default_sentinel_tEEEEERNS1_27counted_width_iterator_impl22counted_width_iteratorISB_SC_EEcEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_OT0_RNSK_17basic_string_viewIT1_NSK_11char_traitsISV_EEEE Unexecuted instantiation: _ZN3scn2v34impl21read_string_view_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEESA_cEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_OT0_RNSE_17basic_string_viewIT1_NSE_11char_traitsISP_EEEE Unexecuted instantiation: _ZN3scn2v34impl21read_string_view_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEERSA_cEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_OT0_RNSF_17basic_string_viewIT1_NSF_11char_traitsISQ_EEEE Unexecuted instantiation: _ZN3scn2v34impl21read_string_view_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEEENS1_27counted_width_iterator_impl22counted_width_iteratorIS9_S9_EEcEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_OT0_RNSG_17basic_string_viewIT1_NSG_11char_traitsISR_EEEE Unexecuted instantiation: _ZN3scn2v34impl21read_string_view_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEEERNS1_27counted_width_iterator_impl22counted_width_iteratorIS9_S9_EEcEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_OT0_RNSH_17basic_string_viewIT1_NSH_11char_traitsISS_EEEE Unexecuted instantiation: _ZN3scn2v34impl21read_string_view_implINS0_6ranges6detail9subrange_8subrangeIPKwS8_EES8_cEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESD_OT0_RNSB_17basic_string_viewIT1_NSB_11char_traitsISM_EEEE Unexecuted instantiation: _ZN3scn2v34impl21read_string_view_implINS0_6ranges6detail9subrange_8subrangeIPKwS8_EERS8_cEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESE_OT0_RNSC_17basic_string_viewIT1_NSC_11char_traitsISN_EEEE Unexecuted instantiation: _ZN3scn2v34impl21read_string_view_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS4_18default_sentinel_tEEEEENS1_27counted_width_iterator_impl22counted_width_iteratorISB_SC_EEwEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_OT0_RNSJ_17basic_string_viewIT1_NSJ_11char_traitsISU_EEEE Unexecuted instantiation: _ZN3scn2v34impl21read_string_view_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS4_18default_sentinel_tEEEEERNS1_27counted_width_iterator_impl22counted_width_iteratorISB_SC_EEwEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_OT0_RNSK_17basic_string_viewIT1_NSK_11char_traitsISV_EEEE Unexecuted instantiation: _ZN3scn2v34impl21read_string_view_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEESA_wEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_OT0_RNSE_17basic_string_viewIT1_NSE_11char_traitsISP_EEEE Unexecuted instantiation: _ZN3scn2v34impl21read_string_view_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEERSA_wEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_OT0_RNSF_17basic_string_viewIT1_NSF_11char_traitsISQ_EEEE _ZN3scn2v34impl21read_string_view_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEEENS1_27counted_width_iterator_impl22counted_width_iteratorIS9_S9_EEwEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_OT0_RNSG_17basic_string_viewIT1_NSG_11char_traitsISR_EEEE Line | Count | Source | 4761 | 134 | { | 4762 | 134 | static_assert(ranges::forward_iterator<detail::remove_cvref_t<Iterator>>); | 4763 | | | 4764 | 134 | auto src = [&]() { | 4765 | 134 | if constexpr (detail::is_specialization_of_v<Range, take_width_view>) { | 4766 | 134 | return make_contiguous_buffer( | 4767 | 134 | ranges::subrange{range.begin().base(), result.base()}); | 4768 | 134 | } | 4769 | 134 | else { | 4770 | 134 | return make_contiguous_buffer( | 4771 | 134 | ranges::subrange{range.begin(), result}); | 4772 | 134 | } | 4773 | 134 | }(); | 4774 | 134 | using src_type = decltype(src); | 4775 | | | 4776 | 134 | if (src.stores_allocated_string()) { | 4777 | 0 | return unexpected_scan_error( | 4778 | 0 | scan_error::invalid_scanned_value, | 4779 | 0 | "Cannot read a string_view from this source range (not " | 4780 | 0 | "contiguous)"); | 4781 | 0 | } | 4782 | | if constexpr (!std::is_same_v<typename src_type::char_type, ValueCharT>) { | 4783 | | return unexpected_scan_error(scan_error::invalid_scanned_value, | 4784 | | "Cannot read a string_view from " | 4785 | | "this source range (would require " | 4786 | | "transcoding)"); | 4787 | | } | 4788 | 134 | else { | 4789 | 134 | const auto view = src.view(); | 4790 | 134 | value = std::basic_string_view<ValueCharT>(view.data(), view.size()); | 4791 | | | 4792 | 134 | if (!validate_unicode(value)) { | 4793 | 64 | return unexpected_scan_error( | 4794 | 64 | scan_error::invalid_scanned_value, | 4795 | 64 | "Invalid encoding in scanned string_view"); | 4796 | 64 | } | 4797 | | | 4798 | 70 | return SCN_MOVE(result); | 4799 | 134 | } | 4800 | 134 | } |
_ZN3scn2v34impl21read_string_view_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEEERNS1_27counted_width_iterator_impl22counted_width_iteratorIS9_S9_EEwEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_OT0_RNSH_17basic_string_viewIT1_NSH_11char_traitsISS_EEEE Line | Count | Source | 4761 | 78 | { | 4762 | 78 | static_assert(ranges::forward_iterator<detail::remove_cvref_t<Iterator>>); | 4763 | | | 4764 | 78 | auto src = [&]() { | 4765 | 78 | if constexpr (detail::is_specialization_of_v<Range, take_width_view>) { | 4766 | 78 | return make_contiguous_buffer( | 4767 | 78 | ranges::subrange{range.begin().base(), result.base()}); | 4768 | 78 | } | 4769 | 78 | else { | 4770 | 78 | return make_contiguous_buffer( | 4771 | 78 | ranges::subrange{range.begin(), result}); | 4772 | 78 | } | 4773 | 78 | }(); | 4774 | 78 | using src_type = decltype(src); | 4775 | | | 4776 | 78 | if (src.stores_allocated_string()) { | 4777 | 0 | return unexpected_scan_error( | 4778 | 0 | scan_error::invalid_scanned_value, | 4779 | 0 | "Cannot read a string_view from this source range (not " | 4780 | 0 | "contiguous)"); | 4781 | 0 | } | 4782 | | if constexpr (!std::is_same_v<typename src_type::char_type, ValueCharT>) { | 4783 | | return unexpected_scan_error(scan_error::invalid_scanned_value, | 4784 | | "Cannot read a string_view from " | 4785 | | "this source range (would require " | 4786 | | "transcoding)"); | 4787 | | } | 4788 | 78 | else { | 4789 | 78 | const auto view = src.view(); | 4790 | 78 | value = std::basic_string_view<ValueCharT>(view.data(), view.size()); | 4791 | | | 4792 | 78 | if (!validate_unicode(value)) { | 4793 | 0 | return unexpected_scan_error( | 4794 | 0 | scan_error::invalid_scanned_value, | 4795 | 0 | "Invalid encoding in scanned string_view"); | 4796 | 0 | } | 4797 | | | 4798 | 78 | return SCN_MOVE(result); | 4799 | 78 | } | 4800 | 78 | } |
_ZN3scn2v34impl21read_string_view_implINS0_6ranges6detail9subrange_8subrangeIPKwS8_EES8_wEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESD_OT0_RNSB_17basic_string_viewIT1_NSB_11char_traitsISM_EEEE Line | Count | Source | 4761 | 820 | { | 4762 | 820 | static_assert(ranges::forward_iterator<detail::remove_cvref_t<Iterator>>); | 4763 | | | 4764 | 820 | auto src = [&]() { | 4765 | 820 | if constexpr (detail::is_specialization_of_v<Range, take_width_view>) { | 4766 | 820 | return make_contiguous_buffer( | 4767 | 820 | ranges::subrange{range.begin().base(), result.base()}); | 4768 | 820 | } | 4769 | 820 | else { | 4770 | 820 | return make_contiguous_buffer( | 4771 | 820 | ranges::subrange{range.begin(), result}); | 4772 | 820 | } | 4773 | 820 | }(); | 4774 | 820 | using src_type = decltype(src); | 4775 | | | 4776 | 820 | if (src.stores_allocated_string()) { | 4777 | 0 | return unexpected_scan_error( | 4778 | 0 | scan_error::invalid_scanned_value, | 4779 | 0 | "Cannot read a string_view from this source range (not " | 4780 | 0 | "contiguous)"); | 4781 | 0 | } | 4782 | | if constexpr (!std::is_same_v<typename src_type::char_type, ValueCharT>) { | 4783 | | return unexpected_scan_error(scan_error::invalid_scanned_value, | 4784 | | "Cannot read a string_view from " | 4785 | | "this source range (would require " | 4786 | | "transcoding)"); | 4787 | | } | 4788 | 820 | else { | 4789 | 820 | const auto view = src.view(); | 4790 | 820 | value = std::basic_string_view<ValueCharT>(view.data(), view.size()); | 4791 | | | 4792 | 820 | if (!validate_unicode(value)) { | 4793 | 260 | return unexpected_scan_error( | 4794 | 260 | scan_error::invalid_scanned_value, | 4795 | 260 | "Invalid encoding in scanned string_view"); | 4796 | 260 | } | 4797 | | | 4798 | 560 | return SCN_MOVE(result); | 4799 | 820 | } | 4800 | 820 | } |
_ZN3scn2v34impl21read_string_view_implINS0_6ranges6detail9subrange_8subrangeIPKwS8_EERS8_wEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESE_OT0_RNSC_17basic_string_viewIT1_NSC_11char_traitsISN_EEEE Line | Count | Source | 4761 | 482 | { | 4762 | 482 | static_assert(ranges::forward_iterator<detail::remove_cvref_t<Iterator>>); | 4763 | | | 4764 | 482 | auto src = [&]() { | 4765 | 482 | if constexpr (detail::is_specialization_of_v<Range, take_width_view>) { | 4766 | 482 | return make_contiguous_buffer( | 4767 | 482 | ranges::subrange{range.begin().base(), result.base()}); | 4768 | 482 | } | 4769 | 482 | else { | 4770 | 482 | return make_contiguous_buffer( | 4771 | 482 | ranges::subrange{range.begin(), result}); | 4772 | 482 | } | 4773 | 482 | }(); | 4774 | 482 | using src_type = decltype(src); | 4775 | | | 4776 | 482 | if (src.stores_allocated_string()) { | 4777 | 0 | return unexpected_scan_error( | 4778 | 0 | scan_error::invalid_scanned_value, | 4779 | 0 | "Cannot read a string_view from this source range (not " | 4780 | 0 | "contiguous)"); | 4781 | 0 | } | 4782 | | if constexpr (!std::is_same_v<typename src_type::char_type, ValueCharT>) { | 4783 | | return unexpected_scan_error(scan_error::invalid_scanned_value, | 4784 | | "Cannot read a string_view from " | 4785 | | "this source range (would require " | 4786 | | "transcoding)"); | 4787 | | } | 4788 | 482 | else { | 4789 | 482 | const auto view = src.view(); | 4790 | 482 | value = std::basic_string_view<ValueCharT>(view.data(), view.size()); | 4791 | | | 4792 | 482 | if (!validate_unicode(value)) { | 4793 | 114 | return unexpected_scan_error( | 4794 | 114 | scan_error::invalid_scanned_value, | 4795 | 114 | "Invalid encoding in scanned string_view"); | 4796 | 114 | } | 4797 | | | 4798 | 368 | return SCN_MOVE(result); | 4799 | 482 | } | 4800 | 482 | } |
|
4801 | | |
4802 | | template <typename SourceCharT> |
4803 | | class word_reader_impl { |
4804 | | public: |
4805 | | template <typename Range, typename ValueCharT> |
4806 | | auto read(Range range, std::basic_string<ValueCharT>& value) |
4807 | | -> scan_expected<ranges::const_iterator_t<Range>> |
4808 | 4.11k | { |
4809 | 4.11k | return read_string_impl(range, read_until_classic_space(range), value); |
4810 | 4.11k | } Unexecuted instantiation: _ZN3scn2v34impl16word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RNSI_12basic_stringIT0_NSI_11char_traitsISR_EENSI_9allocatorISR_EEEE Unexecuted instantiation: _ZN3scn2v34impl16word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RNSG_12basic_stringIT0_NSG_11char_traitsISP_EENSG_9allocatorISP_EEEE _ZN3scn2v34impl16word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RNSF_12basic_stringIT0_NSF_11char_traitsISO_EENSF_9allocatorISO_EEEE Line | Count | Source | 4808 | 238 | { | 4809 | 238 | return read_string_impl(range, read_until_classic_space(range), value); | 4810 | 238 | } |
_ZN3scn2v34impl16word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RNSD_12basic_stringIT0_NSD_11char_traitsISM_EENSD_9allocatorISM_EEEE Line | Count | Source | 4808 | 944 | { | 4809 | 944 | return read_string_impl(range, read_until_classic_space(range), value); | 4810 | 944 | } |
Unexecuted instantiation: _ZN3scn2v34impl16word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RNSI_12basic_stringIT0_NSI_11char_traitsISR_EENSI_9allocatorISR_EEEE Unexecuted instantiation: _ZN3scn2v34impl16word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RNSG_12basic_stringIT0_NSG_11char_traitsISP_EENSG_9allocatorISP_EEEE _ZN3scn2v34impl16word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RNSF_12basic_stringIT0_NSF_11char_traitsISO_EENSF_9allocatorISO_EEEE Line | Count | Source | 4808 | 238 | { | 4809 | 238 | return read_string_impl(range, read_until_classic_space(range), value); | 4810 | 238 | } |
_ZN3scn2v34impl16word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RNSD_12basic_stringIT0_NSD_11char_traitsISM_EENSD_9allocatorISM_EEEE Line | Count | Source | 4808 | 944 | { | 4809 | 944 | return read_string_impl(range, read_until_classic_space(range), value); | 4810 | 944 | } |
Unexecuted instantiation: _ZN3scn2v34impl16word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RNSI_12basic_stringIT0_NSI_11char_traitsISR_EENSI_9allocatorISR_EEEE Unexecuted instantiation: _ZN3scn2v34impl16word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RNSG_12basic_stringIT0_NSG_11char_traitsISP_EENSG_9allocatorISP_EEEE _ZN3scn2v34impl16word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RNSF_12basic_stringIT0_NSF_11char_traitsISO_EENSF_9allocatorISO_EEEE Line | Count | Source | 4808 | 92 | { | 4809 | 92 | return read_string_impl(range, read_until_classic_space(range), value); | 4810 | 92 | } |
_ZN3scn2v34impl16word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RNSD_12basic_stringIT0_NSD_11char_traitsISM_EENSD_9allocatorISM_EEEE Line | Count | Source | 4808 | 784 | { | 4809 | 784 | return read_string_impl(range, read_until_classic_space(range), value); | 4810 | 784 | } |
Unexecuted instantiation: _ZN3scn2v34impl16word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RNSI_12basic_stringIT0_NSI_11char_traitsISR_EENSI_9allocatorISR_EEEE Unexecuted instantiation: _ZN3scn2v34impl16word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RNSG_12basic_stringIT0_NSG_11char_traitsISP_EENSG_9allocatorISP_EEEE _ZN3scn2v34impl16word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RNSF_12basic_stringIT0_NSF_11char_traitsISO_EENSF_9allocatorISO_EEEE Line | Count | Source | 4808 | 92 | { | 4809 | 92 | return read_string_impl(range, read_until_classic_space(range), value); | 4810 | 92 | } |
_ZN3scn2v34impl16word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RNSD_12basic_stringIT0_NSD_11char_traitsISM_EENSD_9allocatorISM_EEEE Line | Count | Source | 4808 | 784 | { | 4809 | 784 | return read_string_impl(range, read_until_classic_space(range), value); | 4810 | 784 | } |
|
4811 | | |
4812 | | template <typename Range, typename ValueCharT> |
4813 | | auto read(Range range, std::basic_string_view<ValueCharT>& value) |
4814 | | -> scan_expected<ranges::const_iterator_t<Range>> |
4815 | 2.05k | { |
4816 | 2.05k | return read_string_view_impl(range, read_until_classic_space(range), |
4817 | 2.05k | value); |
4818 | 2.05k | } Unexecuted instantiation: _ZN3scn2v34impl16word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RNSI_17basic_string_viewIT0_NSI_11char_traitsISR_EEEE Unexecuted instantiation: _ZN3scn2v34impl16word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RNSG_17basic_string_viewIT0_NSG_11char_traitsISP_EEEE _ZN3scn2v34impl16word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RNSF_17basic_string_viewIT0_NSF_11char_traitsISO_EEEE Line | Count | Source | 4815 | 238 | { | 4816 | 238 | return read_string_view_impl(range, read_until_classic_space(range), | 4817 | 238 | value); | 4818 | 238 | } |
_ZN3scn2v34impl16word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RNSD_17basic_string_viewIT0_NSD_11char_traitsISM_EEEE Line | Count | Source | 4815 | 944 | { | 4816 | 944 | return read_string_view_impl(range, read_until_classic_space(range), | 4817 | 944 | value); | 4818 | 944 | } |
Unexecuted instantiation: _ZN3scn2v34impl16word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RNSI_17basic_string_viewIT0_NSI_11char_traitsISR_EEEE Unexecuted instantiation: _ZN3scn2v34impl16word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RNSG_17basic_string_viewIT0_NSG_11char_traitsISP_EEEE Unexecuted instantiation: _ZN3scn2v34impl16word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RNSF_17basic_string_viewIT0_NSF_11char_traitsISO_EEEE Unexecuted instantiation: _ZN3scn2v34impl16word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RNSD_17basic_string_viewIT0_NSD_11char_traitsISM_EEEE Unexecuted instantiation: _ZN3scn2v34impl16word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RNSI_17basic_string_viewIT0_NSI_11char_traitsISR_EEEE Unexecuted instantiation: _ZN3scn2v34impl16word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RNSG_17basic_string_viewIT0_NSG_11char_traitsISP_EEEE Unexecuted instantiation: _ZN3scn2v34impl16word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RNSF_17basic_string_viewIT0_NSF_11char_traitsISO_EEEE Unexecuted instantiation: _ZN3scn2v34impl16word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RNSD_17basic_string_viewIT0_NSD_11char_traitsISM_EEEE Unexecuted instantiation: _ZN3scn2v34impl16word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RNSI_17basic_string_viewIT0_NSI_11char_traitsISR_EEEE Unexecuted instantiation: _ZN3scn2v34impl16word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RNSG_17basic_string_viewIT0_NSG_11char_traitsISP_EEEE _ZN3scn2v34impl16word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RNSF_17basic_string_viewIT0_NSF_11char_traitsISO_EEEE Line | Count | Source | 4815 | 92 | { | 4816 | 92 | return read_string_view_impl(range, read_until_classic_space(range), | 4817 | 92 | value); | 4818 | 92 | } |
_ZN3scn2v34impl16word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RNSD_17basic_string_viewIT0_NSD_11char_traitsISM_EEEE Line | Count | Source | 4815 | 784 | { | 4816 | 784 | return read_string_view_impl(range, read_until_classic_space(range), | 4817 | 784 | value); | 4818 | 784 | } |
|
4819 | | }; |
4820 | | |
4821 | | template <typename SourceCharT> |
4822 | | class custom_word_reader_impl { |
4823 | | public: |
4824 | | template <typename Range, typename ValueCharT> |
4825 | | auto read(Range range, |
4826 | | const detail::format_specs& specs, |
4827 | | std::basic_string<ValueCharT>& value) |
4828 | | -> scan_expected<ranges::const_iterator_t<Range>> |
4829 | 348 | { |
4830 | 348 | if (specs.fill.size() <= sizeof(SourceCharT)) { |
4831 | 236 | return read_string_impl( |
4832 | 236 | range, |
4833 | 236 | read_until_code_unit( |
4834 | 236 | range, |
4835 | 236 | [until = specs.fill.template get_code_unit<SourceCharT>()]( |
4836 | 4.28k | SourceCharT ch) { return ch == until; }),Unexecuted instantiation: _ZZN3scn2v34impl23custom_word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERNSI_12basic_stringIT0_NSI_11char_traitsISU_EENSI_9allocatorISU_EEEEENKUlcE_clEc Unexecuted instantiation: _ZZN3scn2v34impl23custom_word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERNSG_12basic_stringIT0_NSG_11char_traitsISS_EENSG_9allocatorISS_EEEEENKUlcE_clEc _ZZN3scn2v34impl23custom_word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERNSF_12basic_stringIT0_NSF_11char_traitsISS_EENSF_9allocatorISS_EEEEENKUlcE_clEc Line | Count | Source | 4836 | 620 | SourceCharT ch) { return ch == until; }), |
_ZZN3scn2v34impl23custom_word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERNSD_12basic_stringIT0_NSD_11char_traitsISQ_EENSD_9allocatorISQ_EEEEENKUlcE_clEc Line | Count | Source | 4836 | 698 | SourceCharT ch) { return ch == until; }), |
Unexecuted instantiation: _ZZN3scn2v34impl23custom_word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERNSI_12basic_stringIT0_NSI_11char_traitsISU_EENSI_9allocatorISU_EEEEENKUlcE_clEc Unexecuted instantiation: _ZZN3scn2v34impl23custom_word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERNSG_12basic_stringIT0_NSG_11char_traitsISS_EENSG_9allocatorISS_EEEEENKUlcE_clEc _ZZN3scn2v34impl23custom_word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERNSF_12basic_stringIT0_NSF_11char_traitsISS_EENSF_9allocatorISS_EEEEENKUlcE_clEc Line | Count | Source | 4836 | 620 | SourceCharT ch) { return ch == until; }), |
_ZZN3scn2v34impl23custom_word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERNSD_12basic_stringIT0_NSD_11char_traitsISQ_EENSD_9allocatorISQ_EEEEENKUlcE_clEc Line | Count | Source | 4836 | 698 | SourceCharT ch) { return ch == until; }), |
Unexecuted instantiation: _ZZN3scn2v34impl23custom_word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERNSI_12basic_stringIT0_NSI_11char_traitsISU_EENSI_9allocatorISU_EEEEENKUlwE_clEw Unexecuted instantiation: _ZZN3scn2v34impl23custom_word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERNSG_12basic_stringIT0_NSG_11char_traitsISS_EENSG_9allocatorISS_EEEEENKUlwE_clEw _ZZN3scn2v34impl23custom_word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERNSF_12basic_stringIT0_NSF_11char_traitsISS_EENSF_9allocatorISS_EEEEENKUlwE_clEw Line | Count | Source | 4836 | 338 | SourceCharT ch) { return ch == until; }), |
_ZZN3scn2v34impl23custom_word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERNSD_12basic_stringIT0_NSD_11char_traitsISQ_EENSD_9allocatorISQ_EEEEENKUlwE_clEw Line | Count | Source | 4836 | 486 | SourceCharT ch) { return ch == until; }), |
Unexecuted instantiation: _ZZN3scn2v34impl23custom_word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERNSI_12basic_stringIT0_NSI_11char_traitsISU_EENSI_9allocatorISU_EEEEENKUlwE_clEw Unexecuted instantiation: _ZZN3scn2v34impl23custom_word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERNSG_12basic_stringIT0_NSG_11char_traitsISS_EENSG_9allocatorISS_EEEEENKUlwE_clEw _ZZN3scn2v34impl23custom_word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERNSF_12basic_stringIT0_NSF_11char_traitsISS_EENSF_9allocatorISS_EEEEENKUlwE_clEw Line | Count | Source | 4836 | 338 | SourceCharT ch) { return ch == until; }), |
_ZZN3scn2v34impl23custom_word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERNSD_12basic_stringIT0_NSD_11char_traitsISQ_EENSD_9allocatorISQ_EEEEENKUlwE_clEw Line | Count | Source | 4836 | 486 | SourceCharT ch) { return ch == until; }), |
|
4837 | 236 | value); |
4838 | 236 | } |
4839 | 112 | return read_string_impl( |
4840 | 112 | range, |
4841 | 112 | read_until_code_units( |
4842 | 112 | range, specs.fill.template get_code_units<SourceCharT>()), |
4843 | 112 | value); |
4844 | 348 | } Unexecuted instantiation: _ZN3scn2v34impl23custom_word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERNSI_12basic_stringIT0_NSI_11char_traitsISU_EENSI_9allocatorISU_EEEE Unexecuted instantiation: _ZN3scn2v34impl23custom_word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERNSG_12basic_stringIT0_NSG_11char_traitsISS_EENSG_9allocatorISS_EEEE _ZN3scn2v34impl23custom_word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERNSF_12basic_stringIT0_NSF_11char_traitsISS_EENSF_9allocatorISS_EEEE Line | Count | Source | 4829 | 60 | { | 4830 | 60 | if (specs.fill.size() <= sizeof(SourceCharT)) { | 4831 | 30 | return read_string_impl( | 4832 | 30 | range, | 4833 | 30 | read_until_code_unit( | 4834 | 30 | range, | 4835 | 30 | [until = specs.fill.template get_code_unit<SourceCharT>()]( | 4836 | 30 | SourceCharT ch) { return ch == until; }), | 4837 | 30 | value); | 4838 | 30 | } | 4839 | 30 | return read_string_impl( | 4840 | 30 | range, | 4841 | 30 | read_until_code_units( | 4842 | 30 | range, specs.fill.template get_code_units<SourceCharT>()), | 4843 | 30 | value); | 4844 | 60 | } |
_ZN3scn2v34impl23custom_word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERNSD_12basic_stringIT0_NSD_11char_traitsISQ_EENSD_9allocatorISQ_EEEE Line | Count | Source | 4829 | 56 | { | 4830 | 56 | if (specs.fill.size() <= sizeof(SourceCharT)) { | 4831 | 30 | return read_string_impl( | 4832 | 30 | range, | 4833 | 30 | read_until_code_unit( | 4834 | 30 | range, | 4835 | 30 | [until = specs.fill.template get_code_unit<SourceCharT>()]( | 4836 | 30 | SourceCharT ch) { return ch == until; }), | 4837 | 30 | value); | 4838 | 30 | } | 4839 | 26 | return read_string_impl( | 4840 | 26 | range, | 4841 | 26 | read_until_code_units( | 4842 | 26 | range, specs.fill.template get_code_units<SourceCharT>()), | 4843 | 26 | value); | 4844 | 56 | } |
Unexecuted instantiation: _ZN3scn2v34impl23custom_word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERNSI_12basic_stringIT0_NSI_11char_traitsISU_EENSI_9allocatorISU_EEEE Unexecuted instantiation: _ZN3scn2v34impl23custom_word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERNSG_12basic_stringIT0_NSG_11char_traitsISS_EENSG_9allocatorISS_EEEE _ZN3scn2v34impl23custom_word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERNSF_12basic_stringIT0_NSF_11char_traitsISS_EENSF_9allocatorISS_EEEE Line | Count | Source | 4829 | 60 | { | 4830 | 60 | if (specs.fill.size() <= sizeof(SourceCharT)) { | 4831 | 30 | return read_string_impl( | 4832 | 30 | range, | 4833 | 30 | read_until_code_unit( | 4834 | 30 | range, | 4835 | 30 | [until = specs.fill.template get_code_unit<SourceCharT>()]( | 4836 | 30 | SourceCharT ch) { return ch == until; }), | 4837 | 30 | value); | 4838 | 30 | } | 4839 | 30 | return read_string_impl( | 4840 | 30 | range, | 4841 | 30 | read_until_code_units( | 4842 | 30 | range, specs.fill.template get_code_units<SourceCharT>()), | 4843 | 30 | value); | 4844 | 60 | } |
_ZN3scn2v34impl23custom_word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERNSD_12basic_stringIT0_NSD_11char_traitsISQ_EENSD_9allocatorISQ_EEEE Line | Count | Source | 4829 | 56 | { | 4830 | 56 | if (specs.fill.size() <= sizeof(SourceCharT)) { | 4831 | 30 | return read_string_impl( | 4832 | 30 | range, | 4833 | 30 | read_until_code_unit( | 4834 | 30 | range, | 4835 | 30 | [until = specs.fill.template get_code_unit<SourceCharT>()]( | 4836 | 30 | SourceCharT ch) { return ch == until; }), | 4837 | 30 | value); | 4838 | 30 | } | 4839 | 26 | return read_string_impl( | 4840 | 26 | range, | 4841 | 26 | read_until_code_units( | 4842 | 26 | range, specs.fill.template get_code_units<SourceCharT>()), | 4843 | 26 | value); | 4844 | 56 | } |
Unexecuted instantiation: _ZN3scn2v34impl23custom_word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERNSI_12basic_stringIT0_NSI_11char_traitsISU_EENSI_9allocatorISU_EEEE Unexecuted instantiation: _ZN3scn2v34impl23custom_word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERNSG_12basic_stringIT0_NSG_11char_traitsISS_EENSG_9allocatorISS_EEEE _ZN3scn2v34impl23custom_word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERNSF_12basic_stringIT0_NSF_11char_traitsISS_EENSF_9allocatorISS_EEEE Line | Count | Source | 4829 | 22 | { | 4830 | 22 | if (specs.fill.size() <= sizeof(SourceCharT)) { | 4831 | 22 | return read_string_impl( | 4832 | 22 | range, | 4833 | 22 | read_until_code_unit( | 4834 | 22 | range, | 4835 | 22 | [until = specs.fill.template get_code_unit<SourceCharT>()]( | 4836 | 22 | SourceCharT ch) { return ch == until; }), | 4837 | 22 | value); | 4838 | 22 | } | 4839 | 0 | return read_string_impl( | 4840 | 0 | range, | 4841 | 0 | read_until_code_units( | 4842 | 0 | range, specs.fill.template get_code_units<SourceCharT>()), | 4843 | 0 | value); | 4844 | 22 | } |
_ZN3scn2v34impl23custom_word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERNSD_12basic_stringIT0_NSD_11char_traitsISQ_EENSD_9allocatorISQ_EEEE Line | Count | Source | 4829 | 36 | { | 4830 | 36 | if (specs.fill.size() <= sizeof(SourceCharT)) { | 4831 | 36 | return read_string_impl( | 4832 | 36 | range, | 4833 | 36 | read_until_code_unit( | 4834 | 36 | range, | 4835 | 36 | [until = specs.fill.template get_code_unit<SourceCharT>()]( | 4836 | 36 | SourceCharT ch) { return ch == until; }), | 4837 | 36 | value); | 4838 | 36 | } | 4839 | 0 | return read_string_impl( | 4840 | 0 | range, | 4841 | 0 | read_until_code_units( | 4842 | 0 | range, specs.fill.template get_code_units<SourceCharT>()), | 4843 | 0 | value); | 4844 | 36 | } |
Unexecuted instantiation: _ZN3scn2v34impl23custom_word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERNSI_12basic_stringIT0_NSI_11char_traitsISU_EENSI_9allocatorISU_EEEE Unexecuted instantiation: _ZN3scn2v34impl23custom_word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERNSG_12basic_stringIT0_NSG_11char_traitsISS_EENSG_9allocatorISS_EEEE _ZN3scn2v34impl23custom_word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERNSF_12basic_stringIT0_NSF_11char_traitsISS_EENSF_9allocatorISS_EEEE Line | Count | Source | 4829 | 22 | { | 4830 | 22 | if (specs.fill.size() <= sizeof(SourceCharT)) { | 4831 | 22 | return read_string_impl( | 4832 | 22 | range, | 4833 | 22 | read_until_code_unit( | 4834 | 22 | range, | 4835 | 22 | [until = specs.fill.template get_code_unit<SourceCharT>()]( | 4836 | 22 | SourceCharT ch) { return ch == until; }), | 4837 | 22 | value); | 4838 | 22 | } | 4839 | 0 | return read_string_impl( | 4840 | 0 | range, | 4841 | 0 | read_until_code_units( | 4842 | 0 | range, specs.fill.template get_code_units<SourceCharT>()), | 4843 | 0 | value); | 4844 | 22 | } |
_ZN3scn2v34impl23custom_word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERNSD_12basic_stringIT0_NSD_11char_traitsISQ_EENSD_9allocatorISQ_EEEE Line | Count | Source | 4829 | 36 | { | 4830 | 36 | if (specs.fill.size() <= sizeof(SourceCharT)) { | 4831 | 36 | return read_string_impl( | 4832 | 36 | range, | 4833 | 36 | read_until_code_unit( | 4834 | 36 | range, | 4835 | 36 | [until = specs.fill.template get_code_unit<SourceCharT>()]( | 4836 | 36 | SourceCharT ch) { return ch == until; }), | 4837 | 36 | value); | 4838 | 36 | } | 4839 | 0 | return read_string_impl( | 4840 | 0 | range, | 4841 | 0 | read_until_code_units( | 4842 | 0 | range, specs.fill.template get_code_units<SourceCharT>()), | 4843 | 0 | value); | 4844 | 36 | } |
|
4845 | | |
4846 | | template <typename Range, typename ValueCharT> |
4847 | | auto read(Range range, |
4848 | | const detail::format_specs& specs, |
4849 | | std::basic_string_view<ValueCharT>& value) |
4850 | | -> scan_expected<ranges::const_iterator_t<Range>> |
4851 | 174 | { |
4852 | 174 | if (specs.fill.size() <= sizeof(SourceCharT)) { |
4853 | 118 | return read_string_view_impl( |
4854 | 118 | range, |
4855 | 118 | read_until_code_unit( |
4856 | 118 | range, |
4857 | 118 | [until = specs.fill.template get_code_unit<SourceCharT>()]( |
4858 | 2.14k | SourceCharT ch) { return ch == until; }),Unexecuted instantiation: _ZZN3scn2v34impl23custom_word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERNSI_17basic_string_viewIT0_NSI_11char_traitsISU_EEEEENKUlcE_clEc Unexecuted instantiation: _ZZN3scn2v34impl23custom_word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERNSG_17basic_string_viewIT0_NSG_11char_traitsISS_EEEEENKUlcE_clEc _ZZN3scn2v34impl23custom_word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERNSF_17basic_string_viewIT0_NSF_11char_traitsISS_EEEEENKUlcE_clEc Line | Count | Source | 4858 | 620 | SourceCharT ch) { return ch == until; }), |
_ZZN3scn2v34impl23custom_word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERNSD_17basic_string_viewIT0_NSD_11char_traitsISQ_EEEEENKUlcE_clEc Line | Count | Source | 4858 | 698 | SourceCharT ch) { return ch == until; }), |
Unexecuted instantiation: _ZZN3scn2v34impl23custom_word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERNSI_17basic_string_viewIT0_NSI_11char_traitsISU_EEEEENKUlcE_clEc Unexecuted instantiation: _ZZN3scn2v34impl23custom_word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERNSG_17basic_string_viewIT0_NSG_11char_traitsISS_EEEEENKUlcE_clEc Unexecuted instantiation: _ZZN3scn2v34impl23custom_word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERNSF_17basic_string_viewIT0_NSF_11char_traitsISS_EEEEENKUlcE_clEc Unexecuted instantiation: _ZZN3scn2v34impl23custom_word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERNSD_17basic_string_viewIT0_NSD_11char_traitsISQ_EEEEENKUlcE_clEc Unexecuted instantiation: _ZZN3scn2v34impl23custom_word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERNSI_17basic_string_viewIT0_NSI_11char_traitsISU_EEEEENKUlwE_clEw Unexecuted instantiation: _ZZN3scn2v34impl23custom_word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERNSG_17basic_string_viewIT0_NSG_11char_traitsISS_EEEEENKUlwE_clEw Unexecuted instantiation: _ZZN3scn2v34impl23custom_word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERNSF_17basic_string_viewIT0_NSF_11char_traitsISS_EEEEENKUlwE_clEw Unexecuted instantiation: _ZZN3scn2v34impl23custom_word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERNSD_17basic_string_viewIT0_NSD_11char_traitsISQ_EEEEENKUlwE_clEw Unexecuted instantiation: _ZZN3scn2v34impl23custom_word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERNSI_17basic_string_viewIT0_NSI_11char_traitsISU_EEEEENKUlwE_clEw Unexecuted instantiation: _ZZN3scn2v34impl23custom_word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERNSG_17basic_string_viewIT0_NSG_11char_traitsISS_EEEEENKUlwE_clEw _ZZN3scn2v34impl23custom_word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERNSF_17basic_string_viewIT0_NSF_11char_traitsISS_EEEEENKUlwE_clEw Line | Count | Source | 4858 | 338 | SourceCharT ch) { return ch == until; }), |
_ZZN3scn2v34impl23custom_word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERNSD_17basic_string_viewIT0_NSD_11char_traitsISQ_EEEEENKUlwE_clEw Line | Count | Source | 4858 | 486 | SourceCharT ch) { return ch == until; }), |
|
4859 | 118 | value); |
4860 | 118 | } |
4861 | 56 | return read_string_view_impl( |
4862 | 56 | range, |
4863 | 56 | read_until_code_units( |
4864 | 56 | range, specs.fill.template get_code_units<SourceCharT>()), |
4865 | 56 | value); |
4866 | 174 | } Unexecuted instantiation: _ZN3scn2v34impl23custom_word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERNSI_17basic_string_viewIT0_NSI_11char_traitsISU_EEEE Unexecuted instantiation: _ZN3scn2v34impl23custom_word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERNSG_17basic_string_viewIT0_NSG_11char_traitsISS_EEEE _ZN3scn2v34impl23custom_word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERNSF_17basic_string_viewIT0_NSF_11char_traitsISS_EEEE Line | Count | Source | 4851 | 60 | { | 4852 | 60 | if (specs.fill.size() <= sizeof(SourceCharT)) { | 4853 | 30 | return read_string_view_impl( | 4854 | 30 | range, | 4855 | 30 | read_until_code_unit( | 4856 | 30 | range, | 4857 | 30 | [until = specs.fill.template get_code_unit<SourceCharT>()]( | 4858 | 30 | SourceCharT ch) { return ch == until; }), | 4859 | 30 | value); | 4860 | 30 | } | 4861 | 30 | return read_string_view_impl( | 4862 | 30 | range, | 4863 | 30 | read_until_code_units( | 4864 | 30 | range, specs.fill.template get_code_units<SourceCharT>()), | 4865 | 30 | value); | 4866 | 60 | } |
_ZN3scn2v34impl23custom_word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERNSD_17basic_string_viewIT0_NSD_11char_traitsISQ_EEEE Line | Count | Source | 4851 | 56 | { | 4852 | 56 | if (specs.fill.size() <= sizeof(SourceCharT)) { | 4853 | 30 | return read_string_view_impl( | 4854 | 30 | range, | 4855 | 30 | read_until_code_unit( | 4856 | 30 | range, | 4857 | 30 | [until = specs.fill.template get_code_unit<SourceCharT>()]( | 4858 | 30 | SourceCharT ch) { return ch == until; }), | 4859 | 30 | value); | 4860 | 30 | } | 4861 | 26 | return read_string_view_impl( | 4862 | 26 | range, | 4863 | 26 | read_until_code_units( | 4864 | 26 | range, specs.fill.template get_code_units<SourceCharT>()), | 4865 | 26 | value); | 4866 | 56 | } |
Unexecuted instantiation: _ZN3scn2v34impl23custom_word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERNSI_17basic_string_viewIT0_NSI_11char_traitsISU_EEEE Unexecuted instantiation: _ZN3scn2v34impl23custom_word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERNSG_17basic_string_viewIT0_NSG_11char_traitsISS_EEEE Unexecuted instantiation: _ZN3scn2v34impl23custom_word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERNSF_17basic_string_viewIT0_NSF_11char_traitsISS_EEEE Unexecuted instantiation: _ZN3scn2v34impl23custom_word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERNSD_17basic_string_viewIT0_NSD_11char_traitsISQ_EEEE Unexecuted instantiation: _ZN3scn2v34impl23custom_word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERNSI_17basic_string_viewIT0_NSI_11char_traitsISU_EEEE Unexecuted instantiation: _ZN3scn2v34impl23custom_word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERNSG_17basic_string_viewIT0_NSG_11char_traitsISS_EEEE Unexecuted instantiation: _ZN3scn2v34impl23custom_word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERNSF_17basic_string_viewIT0_NSF_11char_traitsISS_EEEE Unexecuted instantiation: _ZN3scn2v34impl23custom_word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERNSD_17basic_string_viewIT0_NSD_11char_traitsISQ_EEEE Unexecuted instantiation: _ZN3scn2v34impl23custom_word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERNSI_17basic_string_viewIT0_NSI_11char_traitsISU_EEEE Unexecuted instantiation: _ZN3scn2v34impl23custom_word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERNSG_17basic_string_viewIT0_NSG_11char_traitsISS_EEEE _ZN3scn2v34impl23custom_word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERNSF_17basic_string_viewIT0_NSF_11char_traitsISS_EEEE Line | Count | Source | 4851 | 22 | { | 4852 | 22 | if (specs.fill.size() <= sizeof(SourceCharT)) { | 4853 | 22 | return read_string_view_impl( | 4854 | 22 | range, | 4855 | 22 | read_until_code_unit( | 4856 | 22 | range, | 4857 | 22 | [until = specs.fill.template get_code_unit<SourceCharT>()]( | 4858 | 22 | SourceCharT ch) { return ch == until; }), | 4859 | 22 | value); | 4860 | 22 | } | 4861 | 0 | return read_string_view_impl( | 4862 | 0 | range, | 4863 | 0 | read_until_code_units( | 4864 | 0 | range, specs.fill.template get_code_units<SourceCharT>()), | 4865 | 0 | value); | 4866 | 22 | } |
_ZN3scn2v34impl23custom_word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERNSD_17basic_string_viewIT0_NSD_11char_traitsISQ_EEEE Line | Count | Source | 4851 | 36 | { | 4852 | 36 | if (specs.fill.size() <= sizeof(SourceCharT)) { | 4853 | 36 | return read_string_view_impl( | 4854 | 36 | range, | 4855 | 36 | read_until_code_unit( | 4856 | 36 | range, | 4857 | 36 | [until = specs.fill.template get_code_unit<SourceCharT>()]( | 4858 | 36 | SourceCharT ch) { return ch == until; }), | 4859 | 36 | value); | 4860 | 36 | } | 4861 | 0 | return read_string_view_impl( | 4862 | 0 | range, | 4863 | 0 | read_until_code_units( | 4864 | 0 | range, specs.fill.template get_code_units<SourceCharT>()), | 4865 | 0 | value); | 4866 | 36 | } |
|
4867 | | }; |
4868 | | |
4869 | | #if !SCN_DISABLE_REGEX |
4870 | | template <typename SourceCharT> |
4871 | | class regex_string_reader_impl { |
4872 | | public: |
4873 | | template <typename Range, typename ValueCharT> |
4874 | | auto read(Range range, |
4875 | | std::basic_string_view<SourceCharT> pattern, |
4876 | | detail::regex_flags flags, |
4877 | | std::basic_string<ValueCharT>& value) |
4878 | | -> scan_expected<ranges::const_iterator_t<Range>> |
4879 | 10.2k | { |
4880 | 10.2k | SCN_TRY(it, impl(range, pattern, flags)); |
4881 | 1.83k | return read_string_impl(range, it, value); |
4882 | 10.2k | } Unexecuted instantiation: _ZN3scn2v34impl24regex_string_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_NSI_17basic_string_viewIcNSI_11char_traitsIcEEEENSA_11regex_flagsERNSI_12basic_stringIT0_NSR_ISW_EENSI_9allocatorISW_EEEE Unexecuted instantiation: _ZN3scn2v34impl24regex_string_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_NSG_17basic_string_viewIcNSG_11char_traitsIcEEEENS9_11regex_flagsERNSG_12basic_stringIT0_NSP_ISU_EENSG_9allocatorISU_EEEE _ZN3scn2v34impl24regex_string_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_NSF_17basic_string_viewIcNSF_11char_traitsIcEEEENS0_6detail11regex_flagsERNSF_12basic_stringIT0_NSO_ISU_EENSF_9allocatorISU_EEEE Line | Count | Source | 4879 | 56 | { | 4880 | 56 | SCN_TRY(it, impl(range, pattern, flags)); | 4881 | 0 | return read_string_impl(range, it, value); | 4882 | 56 | } |
_ZN3scn2v34impl24regex_string_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_NSD_17basic_string_viewIcNSD_11char_traitsIcEEEENS0_6detail11regex_flagsERNSD_12basic_stringIT0_NSM_ISS_EENSD_9allocatorISS_EEEE Line | Count | Source | 4879 | 3.17k | { | 4880 | 3.17k | SCN_TRY(it, impl(range, pattern, flags)); | 4881 | 564 | return read_string_impl(range, it, value); | 4882 | 3.17k | } |
Unexecuted instantiation: _ZN3scn2v34impl24regex_string_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_NSI_17basic_string_viewIcNSI_11char_traitsIcEEEENSA_11regex_flagsERNSI_12basic_stringIT0_NSR_ISW_EENSI_9allocatorISW_EEEE Unexecuted instantiation: _ZN3scn2v34impl24regex_string_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_NSG_17basic_string_viewIcNSG_11char_traitsIcEEEENS9_11regex_flagsERNSG_12basic_stringIT0_NSP_ISU_EENSG_9allocatorISU_EEEE _ZN3scn2v34impl24regex_string_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_NSF_17basic_string_viewIcNSF_11char_traitsIcEEEENS0_6detail11regex_flagsERNSF_12basic_stringIT0_NSO_ISU_EENSF_9allocatorISU_EEEE Line | Count | Source | 4879 | 56 | { | 4880 | 56 | SCN_TRY(it, impl(range, pattern, flags)); | 4881 | 0 | return read_string_impl(range, it, value); | 4882 | 56 | } |
_ZN3scn2v34impl24regex_string_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_NSD_17basic_string_viewIcNSD_11char_traitsIcEEEENS0_6detail11regex_flagsERNSD_12basic_stringIT0_NSM_ISS_EENSD_9allocatorISS_EEEE Line | Count | Source | 4879 | 3.17k | { | 4880 | 3.17k | SCN_TRY(it, impl(range, pattern, flags)); | 4881 | 564 | return read_string_impl(range, it, value); | 4882 | 3.17k | } |
Unexecuted instantiation: _ZN3scn2v34impl24regex_string_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_NSI_17basic_string_viewIwNSI_11char_traitsIwEEEENSA_11regex_flagsERNSI_12basic_stringIT0_NSR_ISW_EENSI_9allocatorISW_EEEE Unexecuted instantiation: _ZN3scn2v34impl24regex_string_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_NSG_17basic_string_viewIwNSG_11char_traitsIwEEEENS9_11regex_flagsERNSG_12basic_stringIT0_NSP_ISU_EENSG_9allocatorISU_EEEE _ZN3scn2v34impl24regex_string_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_NSF_17basic_string_viewIwNSF_11char_traitsIwEEEENS0_6detail11regex_flagsERNSF_12basic_stringIT0_NSO_ISU_EENSF_9allocatorISU_EEEE Line | Count | Source | 4879 | 4 | { | 4880 | 4 | SCN_TRY(it, impl(range, pattern, flags)); | 4881 | 0 | return read_string_impl(range, it, value); | 4882 | 4 | } |
_ZN3scn2v34impl24regex_string_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_NSD_17basic_string_viewIwNSD_11char_traitsIwEEEENS0_6detail11regex_flagsERNSD_12basic_stringIT0_NSM_ISS_EENSD_9allocatorISS_EEEE Line | Count | Source | 4879 | 1.88k | { | 4880 | 1.88k | SCN_TRY(it, impl(range, pattern, flags)); | 4881 | 354 | return read_string_impl(range, it, value); | 4882 | 1.88k | } |
Unexecuted instantiation: _ZN3scn2v34impl24regex_string_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_NSI_17basic_string_viewIwNSI_11char_traitsIwEEEENSA_11regex_flagsERNSI_12basic_stringIT0_NSR_ISW_EENSI_9allocatorISW_EEEE Unexecuted instantiation: _ZN3scn2v34impl24regex_string_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_NSG_17basic_string_viewIwNSG_11char_traitsIwEEEENS9_11regex_flagsERNSG_12basic_stringIT0_NSP_ISU_EENSG_9allocatorISU_EEEE _ZN3scn2v34impl24regex_string_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_NSF_17basic_string_viewIwNSF_11char_traitsIwEEEENS0_6detail11regex_flagsERNSF_12basic_stringIT0_NSO_ISU_EENSF_9allocatorISU_EEEE Line | Count | Source | 4879 | 4 | { | 4880 | 4 | SCN_TRY(it, impl(range, pattern, flags)); | 4881 | 0 | return read_string_impl(range, it, value); | 4882 | 4 | } |
_ZN3scn2v34impl24regex_string_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_NSD_17basic_string_viewIwNSD_11char_traitsIwEEEENS0_6detail11regex_flagsERNSD_12basic_stringIT0_NSM_ISS_EENSD_9allocatorISS_EEEE Line | Count | Source | 4879 | 1.88k | { | 4880 | 1.88k | SCN_TRY(it, impl(range, pattern, flags)); | 4881 | 354 | return read_string_impl(range, it, value); | 4882 | 1.88k | } |
|
4883 | | |
4884 | | template <typename Range, typename ValueCharT> |
4885 | | auto read(Range range, |
4886 | | std::basic_string_view<SourceCharT> pattern, |
4887 | | detail::regex_flags flags, |
4888 | | std::basic_string_view<ValueCharT>& value) |
4889 | | -> scan_expected<ranges::const_iterator_t<Range>> |
4890 | 5.12k | { |
4891 | 5.12k | SCN_TRY(it, impl(range, pattern, flags)); |
4892 | 918 | return read_string_view_impl(range, it, value); |
4893 | 5.12k | } Unexecuted instantiation: _ZN3scn2v34impl24regex_string_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_NSI_17basic_string_viewIcNSI_11char_traitsIcEEEENSA_11regex_flagsERNSQ_IT0_NSR_ISV_EEEE Unexecuted instantiation: _ZN3scn2v34impl24regex_string_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_NSG_17basic_string_viewIcNSG_11char_traitsIcEEEENS9_11regex_flagsERNSO_IT0_NSP_IST_EEEE _ZN3scn2v34impl24regex_string_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_NSF_17basic_string_viewIcNSF_11char_traitsIcEEEENS0_6detail11regex_flagsERNSN_IT0_NSO_IST_EEEE Line | Count | Source | 4890 | 56 | { | 4891 | 56 | SCN_TRY(it, impl(range, pattern, flags)); | 4892 | 0 | return read_string_view_impl(range, it, value); | 4893 | 56 | } |
_ZN3scn2v34impl24regex_string_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_NSD_17basic_string_viewIcNSD_11char_traitsIcEEEENS0_6detail11regex_flagsERNSL_IT0_NSM_ISR_EEEE Line | Count | Source | 4890 | 3.17k | { | 4891 | 3.17k | SCN_TRY(it, impl(range, pattern, flags)); | 4892 | 564 | return read_string_view_impl(range, it, value); | 4893 | 3.17k | } |
Unexecuted instantiation: _ZN3scn2v34impl24regex_string_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_NSI_17basic_string_viewIcNSI_11char_traitsIcEEEENSA_11regex_flagsERNSQ_IT0_NSR_ISV_EEEE Unexecuted instantiation: _ZN3scn2v34impl24regex_string_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_NSG_17basic_string_viewIcNSG_11char_traitsIcEEEENS9_11regex_flagsERNSO_IT0_NSP_IST_EEEE Unexecuted instantiation: _ZN3scn2v34impl24regex_string_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_NSF_17basic_string_viewIcNSF_11char_traitsIcEEEENS0_6detail11regex_flagsERNSN_IT0_NSO_IST_EEEE Unexecuted instantiation: _ZN3scn2v34impl24regex_string_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_NSD_17basic_string_viewIcNSD_11char_traitsIcEEEENS0_6detail11regex_flagsERNSL_IT0_NSM_ISR_EEEE Unexecuted instantiation: _ZN3scn2v34impl24regex_string_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_NSI_17basic_string_viewIwNSI_11char_traitsIwEEEENSA_11regex_flagsERNSQ_IT0_NSR_ISV_EEEE Unexecuted instantiation: _ZN3scn2v34impl24regex_string_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_NSG_17basic_string_viewIwNSG_11char_traitsIwEEEENS9_11regex_flagsERNSO_IT0_NSP_IST_EEEE Unexecuted instantiation: _ZN3scn2v34impl24regex_string_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_NSF_17basic_string_viewIwNSF_11char_traitsIwEEEENS0_6detail11regex_flagsERNSN_IT0_NSO_IST_EEEE Unexecuted instantiation: _ZN3scn2v34impl24regex_string_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_NSD_17basic_string_viewIwNSD_11char_traitsIwEEEENS0_6detail11regex_flagsERNSL_IT0_NSM_ISR_EEEE Unexecuted instantiation: _ZN3scn2v34impl24regex_string_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_NSI_17basic_string_viewIwNSI_11char_traitsIwEEEENSA_11regex_flagsERNSQ_IT0_NSR_ISV_EEEE Unexecuted instantiation: _ZN3scn2v34impl24regex_string_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_NSG_17basic_string_viewIwNSG_11char_traitsIwEEEENS9_11regex_flagsERNSO_IT0_NSP_IST_EEEE _ZN3scn2v34impl24regex_string_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_NSF_17basic_string_viewIwNSF_11char_traitsIwEEEENS0_6detail11regex_flagsERNSN_IT0_NSO_IST_EEEE Line | Count | Source | 4890 | 4 | { | 4891 | 4 | SCN_TRY(it, impl(range, pattern, flags)); | 4892 | 0 | return read_string_view_impl(range, it, value); | 4893 | 4 | } |
_ZN3scn2v34impl24regex_string_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_NSD_17basic_string_viewIwNSD_11char_traitsIwEEEENS0_6detail11regex_flagsERNSL_IT0_NSM_ISR_EEEE Line | Count | Source | 4890 | 1.88k | { | 4891 | 1.88k | SCN_TRY(it, impl(range, pattern, flags)); | 4892 | 354 | return read_string_view_impl(range, it, value); | 4893 | 1.88k | } |
|
4894 | | |
4895 | | private: |
4896 | | template <typename Range> |
4897 | | auto impl(Range range, |
4898 | | std::basic_string_view<SourceCharT> pattern, |
4899 | | detail::regex_flags flags) |
4900 | | -> scan_expected<ranges::const_iterator_t<Range>> |
4901 | 15.3k | { |
4902 | | if constexpr (!SCN_REGEX_SUPPORTS_WIDE_STRINGS && |
4903 | | !std::is_same_v<SourceCharT, char>) { |
4904 | | return unexpected_scan_error( |
4905 | | scan_error::invalid_scanned_value, |
4906 | | "Regex backend doesn't support wide strings as input"); |
4907 | | } |
4908 | 15.3k | else { |
4909 | 15.3k | if (!is_entire_source_contiguous(range)) { |
4910 | 180 | return unexpected_scan_error( |
4911 | 180 | scan_error::invalid_scanned_value, |
4912 | 180 | "Cannot use regex with a non-contiguous source " |
4913 | 180 | "range"); |
4914 | 180 | } |
4915 | | |
4916 | 15.1k | auto input = get_as_contiguous(range); |
4917 | 15.1k | SCN_TRY(it, |
4918 | 2.75k | read_regex_string_impl<SourceCharT>(pattern, flags, input)); |
4919 | 2.75k | return ranges::next(range.begin(), |
4920 | 2.75k | ranges::distance(input.begin(), it)); |
4921 | 15.1k | } |
4922 | 15.3k | } Unexecuted instantiation: _ZN3scn2v34impl24regex_string_reader_implIcE4implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_NSI_17basic_string_viewIcNSI_11char_traitsIcEEEENSA_11regex_flagsE Unexecuted instantiation: _ZN3scn2v34impl24regex_string_reader_implIcE4implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_NSG_17basic_string_viewIcNSG_11char_traitsIcEEEENS9_11regex_flagsE _ZN3scn2v34impl24regex_string_reader_implIcE4implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_NSF_17basic_string_viewIcNSF_11char_traitsIcEEEENS0_6detail11regex_flagsE Line | Count | Source | 4901 | 168 | { | 4902 | | if constexpr (!SCN_REGEX_SUPPORTS_WIDE_STRINGS && | 4903 | | !std::is_same_v<SourceCharT, char>) { | 4904 | | return unexpected_scan_error( | 4905 | | scan_error::invalid_scanned_value, | 4906 | | "Regex backend doesn't support wide strings as input"); | 4907 | | } | 4908 | 168 | else { | 4909 | 168 | if (!is_entire_source_contiguous(range)) { | 4910 | 168 | return unexpected_scan_error( | 4911 | 168 | scan_error::invalid_scanned_value, | 4912 | 168 | "Cannot use regex with a non-contiguous source " | 4913 | 168 | "range"); | 4914 | 168 | } | 4915 | | | 4916 | 0 | auto input = get_as_contiguous(range); | 4917 | 0 | SCN_TRY(it, | 4918 | 0 | read_regex_string_impl<SourceCharT>(pattern, flags, input)); | 4919 | 0 | return ranges::next(range.begin(), | 4920 | 0 | ranges::distance(input.begin(), it)); | 4921 | 0 | } | 4922 | 168 | } |
_ZN3scn2v34impl24regex_string_reader_implIcE4implINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_NSD_17basic_string_viewIcNSD_11char_traitsIcEEEENS0_6detail11regex_flagsE Line | Count | Source | 4901 | 9.52k | { | 4902 | | if constexpr (!SCN_REGEX_SUPPORTS_WIDE_STRINGS && | 4903 | | !std::is_same_v<SourceCharT, char>) { | 4904 | | return unexpected_scan_error( | 4905 | | scan_error::invalid_scanned_value, | 4906 | | "Regex backend doesn't support wide strings as input"); | 4907 | | } | 4908 | 9.52k | else { | 4909 | 9.52k | if (!is_entire_source_contiguous(range)) { | 4910 | 0 | return unexpected_scan_error( | 4911 | 0 | scan_error::invalid_scanned_value, | 4912 | 0 | "Cannot use regex with a non-contiguous source " | 4913 | 0 | "range"); | 4914 | 0 | } | 4915 | | | 4916 | 9.52k | auto input = get_as_contiguous(range); | 4917 | 9.52k | SCN_TRY(it, | 4918 | 1.69k | read_regex_string_impl<SourceCharT>(pattern, flags, input)); | 4919 | 1.69k | return ranges::next(range.begin(), | 4920 | 1.69k | ranges::distance(input.begin(), it)); | 4921 | 9.52k | } | 4922 | 9.52k | } |
Unexecuted instantiation: _ZN3scn2v34impl24regex_string_reader_implIwE4implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_NSI_17basic_string_viewIwNSI_11char_traitsIwEEEENSA_11regex_flagsE Unexecuted instantiation: _ZN3scn2v34impl24regex_string_reader_implIwE4implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_NSG_17basic_string_viewIwNSG_11char_traitsIwEEEENS9_11regex_flagsE _ZN3scn2v34impl24regex_string_reader_implIwE4implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_NSF_17basic_string_viewIwNSF_11char_traitsIwEEEENS0_6detail11regex_flagsE Line | Count | Source | 4901 | 12 | { | 4902 | | if constexpr (!SCN_REGEX_SUPPORTS_WIDE_STRINGS && | 4903 | | !std::is_same_v<SourceCharT, char>) { | 4904 | | return unexpected_scan_error( | 4905 | | scan_error::invalid_scanned_value, | 4906 | | "Regex backend doesn't support wide strings as input"); | 4907 | | } | 4908 | 12 | else { | 4909 | 12 | if (!is_entire_source_contiguous(range)) { | 4910 | 12 | return unexpected_scan_error( | 4911 | 12 | scan_error::invalid_scanned_value, | 4912 | 12 | "Cannot use regex with a non-contiguous source " | 4913 | 12 | "range"); | 4914 | 12 | } | 4915 | | | 4916 | 0 | auto input = get_as_contiguous(range); | 4917 | 0 | SCN_TRY(it, | 4918 | 0 | read_regex_string_impl<SourceCharT>(pattern, flags, input)); | 4919 | 0 | return ranges::next(range.begin(), | 4920 | 0 | ranges::distance(input.begin(), it)); | 4921 | 0 | } | 4922 | 12 | } |
_ZN3scn2v34impl24regex_string_reader_implIwE4implINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_NSD_17basic_string_viewIwNSD_11char_traitsIwEEEENS0_6detail11regex_flagsE Line | Count | Source | 4901 | 5.66k | { | 4902 | | if constexpr (!SCN_REGEX_SUPPORTS_WIDE_STRINGS && | 4903 | | !std::is_same_v<SourceCharT, char>) { | 4904 | | return unexpected_scan_error( | 4905 | | scan_error::invalid_scanned_value, | 4906 | | "Regex backend doesn't support wide strings as input"); | 4907 | | } | 4908 | 5.66k | else { | 4909 | 5.66k | if (!is_entire_source_contiguous(range)) { | 4910 | 0 | return unexpected_scan_error( | 4911 | 0 | scan_error::invalid_scanned_value, | 4912 | 0 | "Cannot use regex with a non-contiguous source " | 4913 | 0 | "range"); | 4914 | 0 | } | 4915 | | | 4916 | 5.66k | auto input = get_as_contiguous(range); | 4917 | 5.66k | SCN_TRY(it, | 4918 | 1.06k | read_regex_string_impl<SourceCharT>(pattern, flags, input)); | 4919 | 1.06k | return ranges::next(range.begin(), | 4920 | 1.06k | ranges::distance(input.begin(), it)); | 4921 | 5.66k | } | 4922 | 5.66k | } |
|
4923 | | }; |
4924 | | #endif |
4925 | | |
4926 | | template <typename SourceCharT> |
4927 | | class character_reader_impl { |
4928 | | public: |
4929 | | // Note: no localized version, |
4930 | | // since it's equivalent in behavior |
4931 | | |
4932 | | template <typename Range, typename ValueCharT> |
4933 | | auto read(Range range, std::basic_string<ValueCharT>& value) |
4934 | | -> scan_expected<ranges::const_iterator_t<Range>> |
4935 | 100 | { |
4936 | 100 | return read_impl( |
4937 | 100 | range, |
4938 | 100 | [&](const auto& rng) { |
4939 | 100 | return read_string_impl(rng, read_all(rng), value); |
4940 | 100 | }, Unexecuted instantiation: _ZZN3scn2v34impl21character_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RNSI_12basic_stringIT0_NSI_11char_traitsISR_EENSI_9allocatorISR_EEEEENKUlRKSK_E_clISG_EEDaSZ_ _ZZN3scn2v34impl21character_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RNSF_12basic_stringIT0_NSF_11char_traitsISO_EENSF_9allocatorISO_EEEEENKUlRKSH_E_clISD_EEDaSW_ Line | Count | Source | 4938 | 30 | [&](const auto& rng) { | 4939 | 30 | return read_string_impl(rng, read_all(rng), value); | 4940 | 30 | }, |
Unexecuted instantiation: _ZZN3scn2v34impl21character_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RNSI_12basic_stringIT0_NSI_11char_traitsISR_EENSI_9allocatorISR_EEEEENKUlRKSK_E_clISG_EEDaSZ_ _ZZN3scn2v34impl21character_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RNSF_12basic_stringIT0_NSF_11char_traitsISO_EENSF_9allocatorISO_EEEEENKUlRKSH_E_clISD_EEDaSW_ Line | Count | Source | 4938 | 30 | [&](const auto& rng) { | 4939 | 30 | return read_string_impl(rng, read_all(rng), value); | 4940 | 30 | }, |
Unexecuted instantiation: _ZZN3scn2v34impl21character_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RNSI_12basic_stringIT0_NSI_11char_traitsISR_EENSI_9allocatorISR_EEEEENKUlRKSK_E_clISG_EEDaSZ_ _ZZN3scn2v34impl21character_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RNSF_12basic_stringIT0_NSF_11char_traitsISO_EENSF_9allocatorISO_EEEEENKUlRKSH_E_clISD_EEDaSW_ Line | Count | Source | 4938 | 20 | [&](const auto& rng) { | 4939 | 20 | return read_string_impl(rng, read_all(rng), value); | 4940 | 20 | }, |
Unexecuted instantiation: _ZZN3scn2v34impl21character_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RNSI_12basic_stringIT0_NSI_11char_traitsISR_EENSI_9allocatorISR_EEEEENKUlRKSK_E_clISG_EEDaSZ_ _ZZN3scn2v34impl21character_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RNSF_12basic_stringIT0_NSF_11char_traitsISO_EENSF_9allocatorISO_EEEEENKUlRKSH_E_clISD_EEDaSW_ Line | Count | Source | 4938 | 20 | [&](const auto& rng) { | 4939 | 20 | return read_string_impl(rng, read_all(rng), value); | 4940 | 20 | }, |
|
4941 | 100 | detail::priority_tag<1>{}); |
4942 | 100 | } Unexecuted instantiation: _ZN3scn2v34impl21character_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RNSI_12basic_stringIT0_NSI_11char_traitsISR_EENSI_9allocatorISR_EEEE Unexecuted instantiation: _ZN3scn2v34impl21character_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RNSG_12basic_stringIT0_NSG_11char_traitsISP_EENSG_9allocatorISP_EEEE _ZN3scn2v34impl21character_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RNSF_12basic_stringIT0_NSF_11char_traitsISO_EENSF_9allocatorISO_EEEE Line | Count | Source | 4935 | 30 | { | 4936 | 30 | return read_impl( | 4937 | 30 | range, | 4938 | 30 | [&](const auto& rng) { | 4939 | 30 | return read_string_impl(rng, read_all(rng), value); | 4940 | 30 | }, | 4941 | 30 | detail::priority_tag<1>{}); | 4942 | 30 | } |
Unexecuted instantiation: _ZN3scn2v34impl21character_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RNSD_12basic_stringIT0_NSD_11char_traitsISM_EENSD_9allocatorISM_EEEE Unexecuted instantiation: _ZN3scn2v34impl21character_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RNSI_12basic_stringIT0_NSI_11char_traitsISR_EENSI_9allocatorISR_EEEE Unexecuted instantiation: _ZN3scn2v34impl21character_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RNSG_12basic_stringIT0_NSG_11char_traitsISP_EENSG_9allocatorISP_EEEE _ZN3scn2v34impl21character_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RNSF_12basic_stringIT0_NSF_11char_traitsISO_EENSF_9allocatorISO_EEEE Line | Count | Source | 4935 | 30 | { | 4936 | 30 | return read_impl( | 4937 | 30 | range, | 4938 | 30 | [&](const auto& rng) { | 4939 | 30 | return read_string_impl(rng, read_all(rng), value); | 4940 | 30 | }, | 4941 | 30 | detail::priority_tag<1>{}); | 4942 | 30 | } |
Unexecuted instantiation: _ZN3scn2v34impl21character_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RNSD_12basic_stringIT0_NSD_11char_traitsISM_EENSD_9allocatorISM_EEEE Unexecuted instantiation: _ZN3scn2v34impl21character_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RNSI_12basic_stringIT0_NSI_11char_traitsISR_EENSI_9allocatorISR_EEEE Unexecuted instantiation: _ZN3scn2v34impl21character_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RNSG_12basic_stringIT0_NSG_11char_traitsISP_EENSG_9allocatorISP_EEEE _ZN3scn2v34impl21character_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RNSF_12basic_stringIT0_NSF_11char_traitsISO_EENSF_9allocatorISO_EEEE Line | Count | Source | 4935 | 20 | { | 4936 | 20 | return read_impl( | 4937 | 20 | range, | 4938 | 20 | [&](const auto& rng) { | 4939 | 20 | return read_string_impl(rng, read_all(rng), value); | 4940 | 20 | }, | 4941 | 20 | detail::priority_tag<1>{}); | 4942 | 20 | } |
Unexecuted instantiation: _ZN3scn2v34impl21character_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RNSD_12basic_stringIT0_NSD_11char_traitsISM_EENSD_9allocatorISM_EEEE Unexecuted instantiation: _ZN3scn2v34impl21character_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RNSI_12basic_stringIT0_NSI_11char_traitsISR_EENSI_9allocatorISR_EEEE Unexecuted instantiation: _ZN3scn2v34impl21character_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RNSG_12basic_stringIT0_NSG_11char_traitsISP_EENSG_9allocatorISP_EEEE _ZN3scn2v34impl21character_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RNSF_12basic_stringIT0_NSF_11char_traitsISO_EENSF_9allocatorISO_EEEE Line | Count | Source | 4935 | 20 | { | 4936 | 20 | return read_impl( | 4937 | 20 | range, | 4938 | 20 | [&](const auto& rng) { | 4939 | 20 | return read_string_impl(rng, read_all(rng), value); | 4940 | 20 | }, | 4941 | 20 | detail::priority_tag<1>{}); | 4942 | 20 | } |
Unexecuted instantiation: _ZN3scn2v34impl21character_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RNSD_12basic_stringIT0_NSD_11char_traitsISM_EENSD_9allocatorISM_EEEE |
4943 | | |
4944 | | template <typename Range, typename ValueCharT> |
4945 | | auto read(Range range, std::basic_string_view<ValueCharT>& value) |
4946 | | -> scan_expected<ranges::const_iterator_t<Range>> |
4947 | 50 | { |
4948 | 50 | return read_impl( |
4949 | 50 | range, |
4950 | 50 | [&](const auto& rng) { |
4951 | 50 | return read_string_view_impl(rng, read_all(rng), value); |
4952 | 50 | }, Unexecuted instantiation: _ZZN3scn2v34impl21character_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RNSI_17basic_string_viewIT0_NSI_11char_traitsISR_EEEEENKUlRKSK_E_clISG_EEDaSX_ _ZZN3scn2v34impl21character_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RNSF_17basic_string_viewIT0_NSF_11char_traitsISO_EEEEENKUlRKSH_E_clISD_EEDaSU_ Line | Count | Source | 4950 | 30 | [&](const auto& rng) { | 4951 | 30 | return read_string_view_impl(rng, read_all(rng), value); | 4952 | 30 | }, |
Unexecuted instantiation: _ZZN3scn2v34impl21character_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RNSI_17basic_string_viewIT0_NSI_11char_traitsISR_EEEEENKUlRKSK_E_clISG_EEDaSX_ Unexecuted instantiation: _ZZN3scn2v34impl21character_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RNSF_17basic_string_viewIT0_NSF_11char_traitsISO_EEEEENKUlRKSH_E_clISD_EEDaSU_ Unexecuted instantiation: _ZZN3scn2v34impl21character_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RNSI_17basic_string_viewIT0_NSI_11char_traitsISR_EEEEENKUlRKSK_E_clISG_EEDaSX_ Unexecuted instantiation: _ZZN3scn2v34impl21character_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RNSF_17basic_string_viewIT0_NSF_11char_traitsISO_EEEEENKUlRKSH_E_clISD_EEDaSU_ Unexecuted instantiation: _ZZN3scn2v34impl21character_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RNSI_17basic_string_viewIT0_NSI_11char_traitsISR_EEEEENKUlRKSK_E_clISG_EEDaSX_ _ZZN3scn2v34impl21character_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RNSF_17basic_string_viewIT0_NSF_11char_traitsISO_EEEEENKUlRKSH_E_clISD_EEDaSU_ Line | Count | Source | 4950 | 20 | [&](const auto& rng) { | 4951 | 20 | return read_string_view_impl(rng, read_all(rng), value); | 4952 | 20 | }, |
|
4953 | 50 | detail::priority_tag<1>{}); |
4954 | 50 | } Unexecuted instantiation: _ZN3scn2v34impl21character_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RNSI_17basic_string_viewIT0_NSI_11char_traitsISR_EEEE Unexecuted instantiation: _ZN3scn2v34impl21character_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RNSG_17basic_string_viewIT0_NSG_11char_traitsISP_EEEE _ZN3scn2v34impl21character_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RNSF_17basic_string_viewIT0_NSF_11char_traitsISO_EEEE Line | Count | Source | 4947 | 30 | { | 4948 | 30 | return read_impl( | 4949 | 30 | range, | 4950 | 30 | [&](const auto& rng) { | 4951 | 30 | return read_string_view_impl(rng, read_all(rng), value); | 4952 | 30 | }, | 4953 | 30 | detail::priority_tag<1>{}); | 4954 | 30 | } |
Unexecuted instantiation: _ZN3scn2v34impl21character_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RNSD_17basic_string_viewIT0_NSD_11char_traitsISM_EEEE Unexecuted instantiation: _ZN3scn2v34impl21character_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RNSI_17basic_string_viewIT0_NSI_11char_traitsISR_EEEE Unexecuted instantiation: _ZN3scn2v34impl21character_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RNSG_17basic_string_viewIT0_NSG_11char_traitsISP_EEEE Unexecuted instantiation: _ZN3scn2v34impl21character_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RNSF_17basic_string_viewIT0_NSF_11char_traitsISO_EEEE Unexecuted instantiation: _ZN3scn2v34impl21character_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RNSD_17basic_string_viewIT0_NSD_11char_traitsISM_EEEE Unexecuted instantiation: _ZN3scn2v34impl21character_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RNSI_17basic_string_viewIT0_NSI_11char_traitsISR_EEEE Unexecuted instantiation: _ZN3scn2v34impl21character_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RNSG_17basic_string_viewIT0_NSG_11char_traitsISP_EEEE Unexecuted instantiation: _ZN3scn2v34impl21character_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RNSF_17basic_string_viewIT0_NSF_11char_traitsISO_EEEE Unexecuted instantiation: _ZN3scn2v34impl21character_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RNSD_17basic_string_viewIT0_NSD_11char_traitsISM_EEEE Unexecuted instantiation: _ZN3scn2v34impl21character_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RNSI_17basic_string_viewIT0_NSI_11char_traitsISR_EEEE Unexecuted instantiation: _ZN3scn2v34impl21character_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RNSG_17basic_string_viewIT0_NSG_11char_traitsISP_EEEE _ZN3scn2v34impl21character_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RNSF_17basic_string_viewIT0_NSF_11char_traitsISO_EEEE Line | Count | Source | 4947 | 20 | { | 4948 | 20 | return read_impl( | 4949 | 20 | range, | 4950 | 20 | [&](const auto& rng) { | 4951 | 20 | return read_string_view_impl(rng, read_all(rng), value); | 4952 | 20 | }, | 4953 | 20 | detail::priority_tag<1>{}); | 4954 | 20 | } |
Unexecuted instantiation: _ZN3scn2v34impl21character_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RNSD_17basic_string_viewIT0_NSD_11char_traitsISM_EEEE |
4955 | | |
4956 | | private: |
4957 | | template <typename View, typename ReadCb> |
4958 | | static auto read_impl(const take_width_view<View>& range, |
4959 | | ReadCb&& read_cb, |
4960 | | detail::priority_tag<1>) |
4961 | | -> scan_expected<ranges::const_iterator_t<take_width_view<View>&>> |
4962 | 150 | { |
4963 | 150 | return read_cb(range); |
4964 | 150 | } Unexecuted instantiation: _ZN3scn2v34impl21character_reader_implIcE9read_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEZNS3_4readINS1_15take_width_viewISE_EEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RNSJ_12basic_stringIT0_NSJ_11char_traitsISS_EENSJ_9allocatorISS_EEEEEUlRKSL_E_EENSI_IDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSK_IRNSG_ISL_EEE4typeEEEEEEERKS12_OSS_NS9_12priority_tagILm1EEE _ZN3scn2v34impl21character_reader_implIcE9read_implINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEZNS3_4readINS1_15take_width_viewISB_EEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RNSG_12basic_stringIT0_NSG_11char_traitsISP_EENSG_9allocatorISP_EEEEEUlRKSI_E_EENSF_IDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSH_IRNSD_ISI_EEE4typeEEEEEEERKSZ_OSP_NS0_6detail12priority_tagILm1EEE Line | Count | Source | 4962 | 30 | { | 4963 | 30 | return read_cb(range); | 4964 | 30 | } |
Unexecuted instantiation: _ZN3scn2v34impl21character_reader_implIcE9read_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEZNS3_4readINS1_15take_width_viewISE_EEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RNSJ_12basic_stringIT0_NSJ_11char_traitsISS_EENSJ_9allocatorISS_EEEEEUlRKSL_E_EENSI_IDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSK_IRNSG_ISL_EEE4typeEEEEEEERKS12_OSS_NS9_12priority_tagILm1EEE _ZN3scn2v34impl21character_reader_implIcE9read_implINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEZNS3_4readINS1_15take_width_viewISB_EEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RNSG_12basic_stringIT0_NSG_11char_traitsISP_EENSG_9allocatorISP_EEEEEUlRKSI_E_EENSF_IDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSH_IRNSD_ISI_EEE4typeEEEEEEERKSZ_OSP_NS0_6detail12priority_tagILm1EEE Line | Count | Source | 4962 | 30 | { | 4963 | 30 | return read_cb(range); | 4964 | 30 | } |
Unexecuted instantiation: _ZN3scn2v34impl21character_reader_implIcE9read_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEZNS3_4readINS1_15take_width_viewISE_EEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RNSJ_17basic_string_viewIT0_NSJ_11char_traitsISS_EEEEEUlRKSL_E_EENSI_IDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSK_IRNSG_ISL_EEE4typeEEEEEEERKS10_OSS_NS9_12priority_tagILm1EEE _ZN3scn2v34impl21character_reader_implIcE9read_implINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEZNS3_4readINS1_15take_width_viewISB_EEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RNSG_17basic_string_viewIT0_NSG_11char_traitsISP_EEEEEUlRKSI_E_EENSF_IDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSH_IRNSD_ISI_EEE4typeEEEEEEERKSX_OSP_NS0_6detail12priority_tagILm1EEE Line | Count | Source | 4962 | 30 | { | 4963 | 30 | return read_cb(range); | 4964 | 30 | } |
Unexecuted instantiation: _ZN3scn2v34impl21character_reader_implIcE9read_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEZNS3_4readINS1_15take_width_viewISE_EEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RNSJ_17basic_string_viewIT0_NSJ_11char_traitsISS_EEEEEUlRKSL_E_EENSI_IDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSK_IRNSG_ISL_EEE4typeEEEEEEERKS10_OSS_NS9_12priority_tagILm1EEE Unexecuted instantiation: _ZN3scn2v34impl21character_reader_implIcE9read_implINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEZNS3_4readINS1_15take_width_viewISB_EEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RNSG_17basic_string_viewIT0_NSG_11char_traitsISP_EEEEEUlRKSI_E_EENSF_IDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSH_IRNSD_ISI_EEE4typeEEEEEEERKSX_OSP_NS0_6detail12priority_tagILm1EEE Unexecuted instantiation: _ZN3scn2v34impl21character_reader_implIwE9read_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEZNS3_4readINS1_15take_width_viewISE_EEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RNSJ_12basic_stringIT0_NSJ_11char_traitsISS_EENSJ_9allocatorISS_EEEEEUlRKSL_E_EENSI_IDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSK_IRNSG_ISL_EEE4typeEEEEEEERKS12_OSS_NS9_12priority_tagILm1EEE _ZN3scn2v34impl21character_reader_implIwE9read_implINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEZNS3_4readINS1_15take_width_viewISB_EEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RNSG_12basic_stringIT0_NSG_11char_traitsISP_EENSG_9allocatorISP_EEEEEUlRKSI_E_EENSF_IDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSH_IRNSD_ISI_EEE4typeEEEEEEERKSZ_OSP_NS0_6detail12priority_tagILm1EEE Line | Count | Source | 4962 | 20 | { | 4963 | 20 | return read_cb(range); | 4964 | 20 | } |
Unexecuted instantiation: _ZN3scn2v34impl21character_reader_implIwE9read_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEZNS3_4readINS1_15take_width_viewISE_EEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RNSJ_12basic_stringIT0_NSJ_11char_traitsISS_EENSJ_9allocatorISS_EEEEEUlRKSL_E_EENSI_IDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSK_IRNSG_ISL_EEE4typeEEEEEEERKS12_OSS_NS9_12priority_tagILm1EEE _ZN3scn2v34impl21character_reader_implIwE9read_implINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEZNS3_4readINS1_15take_width_viewISB_EEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RNSG_12basic_stringIT0_NSG_11char_traitsISP_EENSG_9allocatorISP_EEEEEUlRKSI_E_EENSF_IDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSH_IRNSD_ISI_EEE4typeEEEEEEERKSZ_OSP_NS0_6detail12priority_tagILm1EEE Line | Count | Source | 4962 | 20 | { | 4963 | 20 | return read_cb(range); | 4964 | 20 | } |
Unexecuted instantiation: _ZN3scn2v34impl21character_reader_implIwE9read_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEZNS3_4readINS1_15take_width_viewISE_EEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RNSJ_17basic_string_viewIT0_NSJ_11char_traitsISS_EEEEEUlRKSL_E_EENSI_IDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSK_IRNSG_ISL_EEE4typeEEEEEEERKS10_OSS_NS9_12priority_tagILm1EEE Unexecuted instantiation: _ZN3scn2v34impl21character_reader_implIwE9read_implINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEZNS3_4readINS1_15take_width_viewISB_EEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RNSG_17basic_string_viewIT0_NSG_11char_traitsISP_EEEEEUlRKSI_E_EENSF_IDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSH_IRNSD_ISI_EEE4typeEEEEEEERKSX_OSP_NS0_6detail12priority_tagILm1EEE Unexecuted instantiation: _ZN3scn2v34impl21character_reader_implIwE9read_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEZNS3_4readINS1_15take_width_viewISE_EEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RNSJ_17basic_string_viewIT0_NSJ_11char_traitsISS_EEEEEUlRKSL_E_EENSI_IDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSK_IRNSG_ISL_EEE4typeEEEEEEERKS10_OSS_NS9_12priority_tagILm1EEE _ZN3scn2v34impl21character_reader_implIwE9read_implINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEZNS3_4readINS1_15take_width_viewISB_EEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RNSG_17basic_string_viewIT0_NSG_11char_traitsISP_EEEEEUlRKSI_E_EENSF_IDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSH_IRNSD_ISI_EEE4typeEEEEEEERKSX_OSP_NS0_6detail12priority_tagILm1EEE Line | Count | Source | 4962 | 20 | { | 4963 | 20 | return read_cb(range); | 4964 | 20 | } |
|
4965 | | |
4966 | | template <typename Range, typename ReadCb> |
4967 | | static auto read_impl(Range, ReadCb&&, detail::priority_tag<0>) |
4968 | | -> scan_expected<ranges::const_iterator_t<Range>> |
4969 | 0 | { |
4970 | 0 | return unexpected_scan_error( |
4971 | 0 | scan_error::invalid_scanned_value, |
4972 | 0 | "character_reader requires take_width_view"); |
4973 | 0 | } Unexecuted instantiation: _ZN3scn2v34impl21character_reader_implIcE9read_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEZNS3_4readISE_cEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_RNSH_12basic_stringIT0_NSH_11char_traitsISQ_EENSH_9allocatorISQ_EEEEEUlRKSJ_E_EESO_SJ_OSQ_NS9_12priority_tagILm0EEE Unexecuted instantiation: _ZN3scn2v34impl21character_reader_implIcE9read_implINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEZNS3_4readISB_cEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_RNSE_12basic_stringIT0_NSE_11char_traitsISN_EENSE_9allocatorISN_EEEEEUlRKSG_E_EESL_SG_OSN_NS0_6detail12priority_tagILm0EEE Unexecuted instantiation: _ZN3scn2v34impl21character_reader_implIcE9read_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEZNS3_4readISE_wEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_RNSH_12basic_stringIT0_NSH_11char_traitsISQ_EENSH_9allocatorISQ_EEEEEUlRKSJ_E_EESO_SJ_OSQ_NS9_12priority_tagILm0EEE Unexecuted instantiation: _ZN3scn2v34impl21character_reader_implIcE9read_implINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEZNS3_4readISB_wEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_RNSE_12basic_stringIT0_NSE_11char_traitsISN_EENSE_9allocatorISN_EEEEEUlRKSG_E_EESL_SG_OSN_NS0_6detail12priority_tagILm0EEE Unexecuted instantiation: _ZN3scn2v34impl21character_reader_implIcE9read_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEZNS3_4readISE_cEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_RNSH_17basic_string_viewIT0_NSH_11char_traitsISQ_EEEEEUlRKSJ_E_EESO_SJ_OSQ_NS9_12priority_tagILm0EEE Unexecuted instantiation: _ZN3scn2v34impl21character_reader_implIcE9read_implINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEZNS3_4readISB_cEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_RNSE_17basic_string_viewIT0_NSE_11char_traitsISN_EEEEEUlRKSG_E_EESL_SG_OSN_NS0_6detail12priority_tagILm0EEE Unexecuted instantiation: _ZN3scn2v34impl21character_reader_implIcE9read_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEZNS3_4readISE_wEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_RNSH_17basic_string_viewIT0_NSH_11char_traitsISQ_EEEEEUlRKSJ_E_EESO_SJ_OSQ_NS9_12priority_tagILm0EEE Unexecuted instantiation: _ZN3scn2v34impl21character_reader_implIcE9read_implINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEZNS3_4readISB_wEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_RNSE_17basic_string_viewIT0_NSE_11char_traitsISN_EEEEEUlRKSG_E_EESL_SG_OSN_NS0_6detail12priority_tagILm0EEE Unexecuted instantiation: _ZN3scn2v34impl21character_reader_implIwE9read_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEZNS3_4readISE_cEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_RNSH_12basic_stringIT0_NSH_11char_traitsISQ_EENSH_9allocatorISQ_EEEEEUlRKSJ_E_EESO_SJ_OSQ_NS9_12priority_tagILm0EEE Unexecuted instantiation: _ZN3scn2v34impl21character_reader_implIwE9read_implINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEZNS3_4readISB_cEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_RNSE_12basic_stringIT0_NSE_11char_traitsISN_EENSE_9allocatorISN_EEEEEUlRKSG_E_EESL_SG_OSN_NS0_6detail12priority_tagILm0EEE Unexecuted instantiation: _ZN3scn2v34impl21character_reader_implIwE9read_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEZNS3_4readISE_wEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_RNSH_12basic_stringIT0_NSH_11char_traitsISQ_EENSH_9allocatorISQ_EEEEEUlRKSJ_E_EESO_SJ_OSQ_NS9_12priority_tagILm0EEE Unexecuted instantiation: _ZN3scn2v34impl21character_reader_implIwE9read_implINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEZNS3_4readISB_wEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_RNSE_12basic_stringIT0_NSE_11char_traitsISN_EENSE_9allocatorISN_EEEEEUlRKSG_E_EESL_SG_OSN_NS0_6detail12priority_tagILm0EEE Unexecuted instantiation: _ZN3scn2v34impl21character_reader_implIwE9read_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEZNS3_4readISE_cEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_RNSH_17basic_string_viewIT0_NSH_11char_traitsISQ_EEEEEUlRKSJ_E_EESO_SJ_OSQ_NS9_12priority_tagILm0EEE Unexecuted instantiation: _ZN3scn2v34impl21character_reader_implIwE9read_implINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEZNS3_4readISB_cEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_RNSE_17basic_string_viewIT0_NSE_11char_traitsISN_EEEEEUlRKSG_E_EESL_SG_OSN_NS0_6detail12priority_tagILm0EEE Unexecuted instantiation: _ZN3scn2v34impl21character_reader_implIwE9read_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEZNS3_4readISE_wEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_RNSH_17basic_string_viewIT0_NSH_11char_traitsISQ_EEEEEUlRKSJ_E_EESO_SJ_OSQ_NS9_12priority_tagILm0EEE Unexecuted instantiation: _ZN3scn2v34impl21character_reader_implIwE9read_implINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEZNS3_4readISB_wEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_RNSE_17basic_string_viewIT0_NSE_11char_traitsISN_EEEEEUlRKSG_E_EESL_SG_OSN_NS0_6detail12priority_tagILm0EEE |
4974 | | }; |
4975 | | |
4976 | | struct nonascii_specs_handler { |
4977 | | void on_charset_single(char32_t cp) |
4978 | 380k | { |
4979 | 380k | on_charset_range(cp, cp + 1); |
4980 | 380k | } |
4981 | | |
4982 | | void on_charset_range(char32_t begin, char32_t end) |
4983 | 383k | { |
4984 | 383k | if (end <= 127) { |
4985 | 195k | return; |
4986 | 195k | } |
4987 | | |
4988 | 33.0M | for (auto& elem : extra_ranges) { |
4989 | | // TODO: check for overlap |
4990 | 33.0M | if (elem.first == end) { |
4991 | 516 | elem.first = begin; |
4992 | 516 | return; |
4993 | 516 | } |
4994 | | |
4995 | 33.0M | if (elem.second == begin) { |
4996 | 1.00k | elem.second = end; |
4997 | 1.00k | return; |
4998 | 1.00k | } |
4999 | 33.0M | } |
5000 | | |
5001 | 186k | extra_ranges.push_back(std::make_pair(begin, end)); |
5002 | 186k | } |
5003 | | |
5004 | | constexpr void on_charset_inverted() const |
5005 | 624 | { |
5006 | | // no-op |
5007 | 624 | } |
5008 | | |
5009 | | constexpr void on_error(const char* msg) |
5010 | 0 | { |
5011 | 0 | on_error(scan_error{scan_error::invalid_format_string, msg}); |
5012 | 0 | } |
5013 | | constexpr void on_error(scan_error e) |
5014 | 0 | { |
5015 | 0 | SCN_UNLIKELY_ATTR |
5016 | 0 | err = e; |
5017 | 0 | } |
5018 | | |
5019 | | constexpr explicit operator bool() const |
5020 | 389k | { |
5021 | 389k | return static_cast<bool>(err); |
5022 | 389k | } |
5023 | | |
5024 | | std::vector<std::pair<char32_t, char32_t>> extra_ranges; |
5025 | | scan_error err; |
5026 | | }; |
5027 | | |
5028 | | template <typename SourceCharT> |
5029 | | class character_set_reader_impl { |
5030 | | public: |
5031 | | template <typename Range, typename ValueCharT> |
5032 | | auto read(Range range, |
5033 | | const detail::format_specs& specs, |
5034 | | std::basic_string<ValueCharT>& value) |
5035 | | -> scan_expected<ranges::const_iterator_t<Range>> |
5036 | 2.64k | { |
5037 | 2.64k | auto it = read_source_impl(range, {specs}); |
5038 | 2.64k | if (SCN_UNLIKELY(!it)) { |
5039 | 740 | return unexpected(it.error()); |
5040 | 740 | } |
5041 | | |
5042 | 1.90k | return read_string_impl(range, *it, value); |
5043 | 2.64k | } Unexecuted instantiation: _ZN3scn2v34impl25character_set_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERNSI_12basic_stringIT0_NSI_11char_traitsISU_EENSI_9allocatorISU_EEEE Unexecuted instantiation: _ZN3scn2v34impl25character_set_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERNSG_12basic_stringIT0_NSG_11char_traitsISS_EENSG_9allocatorISS_EEEE _ZN3scn2v34impl25character_set_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERNSF_12basic_stringIT0_NSF_11char_traitsISS_EENSF_9allocatorISS_EEEE Line | Count | Source | 5036 | 222 | { | 5037 | 222 | auto it = read_source_impl(range, {specs}); | 5038 | 222 | if (SCN_UNLIKELY(!it)) { | 5039 | 12 | return unexpected(it.error()); | 5040 | 12 | } | 5041 | | | 5042 | 210 | return read_string_impl(range, *it, value); | 5043 | 222 | } |
_ZN3scn2v34impl25character_set_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERNSD_12basic_stringIT0_NSD_11char_traitsISQ_EENSD_9allocatorISQ_EEEE Line | Count | Source | 5036 | 866 | { | 5037 | 866 | auto it = read_source_impl(range, {specs}); | 5038 | 866 | if (SCN_UNLIKELY(!it)) { | 5039 | 332 | return unexpected(it.error()); | 5040 | 332 | } | 5041 | | | 5042 | 534 | return read_string_impl(range, *it, value); | 5043 | 866 | } |
Unexecuted instantiation: _ZN3scn2v34impl25character_set_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERNSI_12basic_stringIT0_NSI_11char_traitsISU_EENSI_9allocatorISU_EEEE Unexecuted instantiation: _ZN3scn2v34impl25character_set_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERNSG_12basic_stringIT0_NSG_11char_traitsISS_EENSG_9allocatorISS_EEEE _ZN3scn2v34impl25character_set_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERNSF_12basic_stringIT0_NSF_11char_traitsISS_EENSF_9allocatorISS_EEEE Line | Count | Source | 5036 | 222 | { | 5037 | 222 | auto it = read_source_impl(range, {specs}); | 5038 | 222 | if (SCN_UNLIKELY(!it)) { | 5039 | 12 | return unexpected(it.error()); | 5040 | 12 | } | 5041 | | | 5042 | 210 | return read_string_impl(range, *it, value); | 5043 | 222 | } |
_ZN3scn2v34impl25character_set_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERNSD_12basic_stringIT0_NSD_11char_traitsISQ_EENSD_9allocatorISQ_EEEE Line | Count | Source | 5036 | 866 | { | 5037 | 866 | auto it = read_source_impl(range, {specs}); | 5038 | 866 | if (SCN_UNLIKELY(!it)) { | 5039 | 332 | return unexpected(it.error()); | 5040 | 332 | } | 5041 | | | 5042 | 534 | return read_string_impl(range, *it, value); | 5043 | 866 | } |
Unexecuted instantiation: _ZN3scn2v34impl25character_set_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERNSI_12basic_stringIT0_NSI_11char_traitsISU_EENSI_9allocatorISU_EEEE Unexecuted instantiation: _ZN3scn2v34impl25character_set_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERNSG_12basic_stringIT0_NSG_11char_traitsISS_EENSG_9allocatorISS_EEEE _ZN3scn2v34impl25character_set_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERNSF_12basic_stringIT0_NSF_11char_traitsISS_EENSF_9allocatorISS_EEEE Line | Count | Source | 5036 | 86 | { | 5037 | 86 | auto it = read_source_impl(range, {specs}); | 5038 | 86 | if (SCN_UNLIKELY(!it)) { | 5039 | 8 | return unexpected(it.error()); | 5040 | 8 | } | 5041 | | | 5042 | 78 | return read_string_impl(range, *it, value); | 5043 | 86 | } |
_ZN3scn2v34impl25character_set_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERNSD_12basic_stringIT0_NSD_11char_traitsISQ_EENSD_9allocatorISQ_EEEE Line | Count | Source | 5036 | 146 | { | 5037 | 146 | auto it = read_source_impl(range, {specs}); | 5038 | 146 | if (SCN_UNLIKELY(!it)) { | 5039 | 18 | return unexpected(it.error()); | 5040 | 18 | } | 5041 | | | 5042 | 128 | return read_string_impl(range, *it, value); | 5043 | 146 | } |
Unexecuted instantiation: _ZN3scn2v34impl25character_set_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERNSI_12basic_stringIT0_NSI_11char_traitsISU_EENSI_9allocatorISU_EEEE Unexecuted instantiation: _ZN3scn2v34impl25character_set_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERNSG_12basic_stringIT0_NSG_11char_traitsISS_EENSG_9allocatorISS_EEEE _ZN3scn2v34impl25character_set_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERNSF_12basic_stringIT0_NSF_11char_traitsISS_EENSF_9allocatorISS_EEEE Line | Count | Source | 5036 | 86 | { | 5037 | 86 | auto it = read_source_impl(range, {specs}); | 5038 | 86 | if (SCN_UNLIKELY(!it)) { | 5039 | 8 | return unexpected(it.error()); | 5040 | 8 | } | 5041 | | | 5042 | 78 | return read_string_impl(range, *it, value); | 5043 | 86 | } |
_ZN3scn2v34impl25character_set_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERNSD_12basic_stringIT0_NSD_11char_traitsISQ_EENSD_9allocatorISQ_EEEE Line | Count | Source | 5036 | 146 | { | 5037 | 146 | auto it = read_source_impl(range, {specs}); | 5038 | 146 | if (SCN_UNLIKELY(!it)) { | 5039 | 18 | return unexpected(it.error()); | 5040 | 18 | } | 5041 | | | 5042 | 128 | return read_string_impl(range, *it, value); | 5043 | 146 | } |
|
5044 | | |
5045 | | template <typename Range, typename ValueCharT> |
5046 | | auto read(Range range, |
5047 | | const detail::format_specs& specs, |
5048 | | std::basic_string_view<ValueCharT>& value) |
5049 | | -> scan_expected<ranges::const_iterator_t<Range>> |
5050 | 1.32k | { |
5051 | 1.32k | auto it = read_source_impl(range, {specs}); |
5052 | 1.32k | if (SCN_UNLIKELY(!it)) { |
5053 | 370 | return unexpected(it.error()); |
5054 | 370 | } |
5055 | | |
5056 | 950 | return read_string_view_impl(range, *it, value); |
5057 | 1.32k | } Unexecuted instantiation: _ZN3scn2v34impl25character_set_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERNSI_17basic_string_viewIT0_NSI_11char_traitsISU_EEEE Unexecuted instantiation: _ZN3scn2v34impl25character_set_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERNSG_17basic_string_viewIT0_NSG_11char_traitsISS_EEEE _ZN3scn2v34impl25character_set_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERNSF_17basic_string_viewIT0_NSF_11char_traitsISS_EEEE Line | Count | Source | 5050 | 222 | { | 5051 | 222 | auto it = read_source_impl(range, {specs}); | 5052 | 222 | if (SCN_UNLIKELY(!it)) { | 5053 | 12 | return unexpected(it.error()); | 5054 | 12 | } | 5055 | | | 5056 | 210 | return read_string_view_impl(range, *it, value); | 5057 | 222 | } |
_ZN3scn2v34impl25character_set_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERNSD_17basic_string_viewIT0_NSD_11char_traitsISQ_EEEE Line | Count | Source | 5050 | 866 | { | 5051 | 866 | auto it = read_source_impl(range, {specs}); | 5052 | 866 | if (SCN_UNLIKELY(!it)) { | 5053 | 332 | return unexpected(it.error()); | 5054 | 332 | } | 5055 | | | 5056 | 534 | return read_string_view_impl(range, *it, value); | 5057 | 866 | } |
Unexecuted instantiation: _ZN3scn2v34impl25character_set_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERNSI_17basic_string_viewIT0_NSI_11char_traitsISU_EEEE Unexecuted instantiation: _ZN3scn2v34impl25character_set_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERNSG_17basic_string_viewIT0_NSG_11char_traitsISS_EEEE Unexecuted instantiation: _ZN3scn2v34impl25character_set_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERNSF_17basic_string_viewIT0_NSF_11char_traitsISS_EEEE Unexecuted instantiation: _ZN3scn2v34impl25character_set_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERNSD_17basic_string_viewIT0_NSD_11char_traitsISQ_EEEE Unexecuted instantiation: _ZN3scn2v34impl25character_set_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERNSI_17basic_string_viewIT0_NSI_11char_traitsISU_EEEE Unexecuted instantiation: _ZN3scn2v34impl25character_set_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERNSG_17basic_string_viewIT0_NSG_11char_traitsISS_EEEE Unexecuted instantiation: _ZN3scn2v34impl25character_set_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERNSF_17basic_string_viewIT0_NSF_11char_traitsISS_EEEE Unexecuted instantiation: _ZN3scn2v34impl25character_set_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERNSD_17basic_string_viewIT0_NSD_11char_traitsISQ_EEEE Unexecuted instantiation: _ZN3scn2v34impl25character_set_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERNSI_17basic_string_viewIT0_NSI_11char_traitsISU_EEEE Unexecuted instantiation: _ZN3scn2v34impl25character_set_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERNSG_17basic_string_viewIT0_NSG_11char_traitsISS_EEEE _ZN3scn2v34impl25character_set_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERNSF_17basic_string_viewIT0_NSF_11char_traitsISS_EEEE Line | Count | Source | 5050 | 86 | { | 5051 | 86 | auto it = read_source_impl(range, {specs}); | 5052 | 86 | if (SCN_UNLIKELY(!it)) { | 5053 | 8 | return unexpected(it.error()); | 5054 | 8 | } | 5055 | | | 5056 | 78 | return read_string_view_impl(range, *it, value); | 5057 | 86 | } |
_ZN3scn2v34impl25character_set_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERNSD_17basic_string_viewIT0_NSD_11char_traitsISQ_EEEE Line | Count | Source | 5050 | 146 | { | 5051 | 146 | auto it = read_source_impl(range, {specs}); | 5052 | 146 | if (SCN_UNLIKELY(!it)) { | 5053 | 18 | return unexpected(it.error()); | 5054 | 18 | } | 5055 | | | 5056 | 128 | return read_string_view_impl(range, *it, value); | 5057 | 146 | } |
|
5058 | | |
5059 | | private: |
5060 | | struct specs_helper { |
5061 | 3.96k | constexpr specs_helper(const detail::format_specs& s) : specs(s) {}scn::v3::impl::character_set_reader_impl<char>::specs_helper::specs_helper(scn::v3::detail::format_specs const&) Line | Count | Source | 5061 | 3.26k | constexpr specs_helper(const detail::format_specs& s) : specs(s) {} |
scn::v3::impl::character_set_reader_impl<wchar_t>::specs_helper::specs_helper(scn::v3::detail::format_specs const&) Line | Count | Source | 5061 | 696 | constexpr specs_helper(const detail::format_specs& s) : specs(s) {} |
|
5062 | | |
5063 | | constexpr bool is_char_set_in_literals(char ch) const |
5064 | 258k | { |
5065 | 258k | SCN_EXPECT(is_ascii_char(ch)); |
5066 | 258k | const auto val = |
5067 | 258k | static_cast<unsigned>(static_cast<unsigned char>(ch)); |
5068 | 258k | return (static_cast<unsigned>(specs.charset_literals[val / 8]) >> |
5069 | 258k | (val % 8)) & |
5070 | 258k | 1u; |
5071 | 258k | } scn::v3::impl::character_set_reader_impl<char>::specs_helper::is_char_set_in_literals(char) const Line | Count | Source | 5064 | 252k | { | 5065 | 252k | SCN_EXPECT(is_ascii_char(ch)); | 5066 | 252k | const auto val = | 5067 | 252k | static_cast<unsigned>(static_cast<unsigned char>(ch)); | 5068 | 252k | return (static_cast<unsigned>(specs.charset_literals[val / 8]) >> | 5069 | 252k | (val % 8)) & | 5070 | 252k | 1u; | 5071 | 252k | } |
scn::v3::impl::character_set_reader_impl<wchar_t>::specs_helper::is_char_set_in_literals(char) const Line | Count | Source | 5064 | 6.12k | { | 5065 | 6.12k | SCN_EXPECT(is_ascii_char(ch)); | 5066 | 6.12k | const auto val = | 5067 | 6.12k | static_cast<unsigned>(static_cast<unsigned char>(ch)); | 5068 | 6.12k | return (static_cast<unsigned>(specs.charset_literals[val / 8]) >> | 5069 | 6.12k | (val % 8)) & | 5070 | 6.12k | 1u; | 5071 | 6.12k | } |
|
5072 | | |
5073 | | bool is_char_set_in_extra_literals(char32_t cp) const |
5074 | 40.5k | { |
5075 | | // TODO: binary search? |
5076 | 40.5k | if (nonascii.extra_ranges.empty()) { |
5077 | 0 | return false; |
5078 | 0 | } |
5079 | | |
5080 | 40.5k | const auto cp_val = static_cast<uint32_t>(cp); |
5081 | 40.5k | return std::find_if( |
5082 | 40.5k | nonascii.extra_ranges.begin(), |
5083 | 40.5k | nonascii.extra_ranges.end(), |
5084 | 7.63M | [cp_val](const auto& pair) noexcept { |
5085 | 7.63M | return static_cast<uint32_t>(pair.first) <= cp_val && |
5086 | 7.63M | static_cast<uint32_t>(pair.second) > cp_val; |
5087 | 7.63M | }) != nonascii.extra_ranges.end(); auto scn::v3::impl::character_set_reader_impl<char>::specs_helper::is_char_set_in_extra_literals(char32_t) const::{lambda(auto:1 const&)#1}::operator()<std::__1::pair<char32_t, char32_t> >(std::__1::pair<char32_t, char32_t> const&) constLine | Count | Source | 5084 | 7.62M | [cp_val](const auto& pair) noexcept { | 5085 | 7.62M | return static_cast<uint32_t>(pair.first) <= cp_val && | 5086 | 7.62M | static_cast<uint32_t>(pair.second) > cp_val; | 5087 | 7.62M | }) != nonascii.extra_ranges.end(); |
auto scn::v3::impl::character_set_reader_impl<wchar_t>::specs_helper::is_char_set_in_extra_literals(char32_t) const::{lambda(auto:1 const&)#1}::operator()<std::__1::pair<char32_t, char32_t> >(std::__1::pair<char32_t, char32_t> const&) constLine | Count | Source | 5084 | 10.6k | [cp_val](const auto& pair) noexcept { | 5085 | 10.6k | return static_cast<uint32_t>(pair.first) <= cp_val && | 5086 | 10.6k | static_cast<uint32_t>(pair.second) > cp_val; | 5087 | 10.6k | }) != nonascii.extra_ranges.end(); |
|
5088 | 40.5k | } scn::v3::impl::character_set_reader_impl<char>::specs_helper::is_char_set_in_extra_literals(char32_t) const Line | Count | Source | 5074 | 39.1k | { | 5075 | | // TODO: binary search? | 5076 | 39.1k | if (nonascii.extra_ranges.empty()) { | 5077 | 0 | return false; | 5078 | 0 | } | 5079 | | | 5080 | 39.1k | const auto cp_val = static_cast<uint32_t>(cp); | 5081 | 39.1k | return std::find_if( | 5082 | 39.1k | nonascii.extra_ranges.begin(), | 5083 | 39.1k | nonascii.extra_ranges.end(), | 5084 | 39.1k | [cp_val](const auto& pair) noexcept { | 5085 | 39.1k | return static_cast<uint32_t>(pair.first) <= cp_val && | 5086 | 39.1k | static_cast<uint32_t>(pair.second) > cp_val; | 5087 | 39.1k | }) != nonascii.extra_ranges.end(); | 5088 | 39.1k | } |
scn::v3::impl::character_set_reader_impl<wchar_t>::specs_helper::is_char_set_in_extra_literals(char32_t) const Line | Count | Source | 5074 | 1.42k | { | 5075 | | // TODO: binary search? | 5076 | 1.42k | if (nonascii.extra_ranges.empty()) { | 5077 | 0 | return false; | 5078 | 0 | } | 5079 | | | 5080 | 1.42k | const auto cp_val = static_cast<uint32_t>(cp); | 5081 | 1.42k | return std::find_if( | 5082 | 1.42k | nonascii.extra_ranges.begin(), | 5083 | 1.42k | nonascii.extra_ranges.end(), | 5084 | 1.42k | [cp_val](const auto& pair) noexcept { | 5085 | 1.42k | return static_cast<uint32_t>(pair.first) <= cp_val && | 5086 | 1.42k | static_cast<uint32_t>(pair.second) > cp_val; | 5087 | 1.42k | }) != nonascii.extra_ranges.end(); | 5088 | 1.42k | } |
|
5089 | | |
5090 | | scan_error handle_nonascii() |
5091 | 3.96k | { |
5092 | 3.96k | if (!specs.charset_has_nonascii) { |
5093 | 732 | return {}; |
5094 | 732 | } |
5095 | | |
5096 | 3.22k | auto charset_string = specs.charset_string<SourceCharT>(); |
5097 | 3.22k | auto it = detail::to_address(charset_string.begin()); |
5098 | 3.22k | auto set = detail::parse_presentation_set( |
5099 | 3.22k | it, detail::to_address(charset_string.end()), nonascii); |
5100 | 3.22k | if (SCN_UNLIKELY(!nonascii)) { |
5101 | 0 | return nonascii.err; |
5102 | 0 | } |
5103 | 3.22k | SCN_ENSURE(it == detail::to_address(charset_string.end())); |
5104 | 3.22k | SCN_ENSURE(set == charset_string); |
5105 | | |
5106 | 3.22k | std::sort(nonascii.extra_ranges.begin(), |
5107 | 3.22k | nonascii.extra_ranges.end()); |
5108 | 3.22k | return {}; |
5109 | 3.22k | } scn::v3::impl::character_set_reader_impl<char>::specs_helper::handle_nonascii() Line | Count | Source | 5091 | 3.26k | { | 5092 | 3.26k | if (!specs.charset_has_nonascii) { | 5093 | 558 | return {}; | 5094 | 558 | } | 5095 | | | 5096 | 2.70k | auto charset_string = specs.charset_string<SourceCharT>(); | 5097 | 2.70k | auto it = detail::to_address(charset_string.begin()); | 5098 | 2.70k | auto set = detail::parse_presentation_set( | 5099 | 2.70k | it, detail::to_address(charset_string.end()), nonascii); | 5100 | 2.70k | if (SCN_UNLIKELY(!nonascii)) { | 5101 | 0 | return nonascii.err; | 5102 | 0 | } | 5103 | 2.70k | SCN_ENSURE(it == detail::to_address(charset_string.end())); | 5104 | 2.70k | SCN_ENSURE(set == charset_string); | 5105 | | | 5106 | 2.70k | std::sort(nonascii.extra_ranges.begin(), | 5107 | 2.70k | nonascii.extra_ranges.end()); | 5108 | 2.70k | return {}; | 5109 | 2.70k | } |
scn::v3::impl::character_set_reader_impl<wchar_t>::specs_helper::handle_nonascii() Line | Count | Source | 5091 | 696 | { | 5092 | 696 | if (!specs.charset_has_nonascii) { | 5093 | 174 | return {}; | 5094 | 174 | } | 5095 | | | 5096 | 522 | auto charset_string = specs.charset_string<SourceCharT>(); | 5097 | 522 | auto it = detail::to_address(charset_string.begin()); | 5098 | 522 | auto set = detail::parse_presentation_set( | 5099 | 522 | it, detail::to_address(charset_string.end()), nonascii); | 5100 | 522 | if (SCN_UNLIKELY(!nonascii)) { | 5101 | 0 | return nonascii.err; | 5102 | 0 | } | 5103 | 522 | SCN_ENSURE(it == detail::to_address(charset_string.end())); | 5104 | 522 | SCN_ENSURE(set == charset_string); | 5105 | | | 5106 | 522 | std::sort(nonascii.extra_ranges.begin(), | 5107 | 522 | nonascii.extra_ranges.end()); | 5108 | 522 | return {}; | 5109 | 522 | } |
|
5110 | | |
5111 | | const detail::format_specs& specs; |
5112 | | nonascii_specs_handler nonascii; |
5113 | | }; |
5114 | | |
5115 | | struct read_source_callback { |
5116 | | SCN_NODISCARD bool on_ascii_only(SourceCharT ch) const |
5117 | 10.2k | { |
5118 | 10.2k | if (!is_ascii_char(ch)) { |
5119 | 1.63k | return false; |
5120 | 1.63k | } |
5121 | | |
5122 | 8.56k | return helper.is_char_set_in_literals(static_cast<char>(ch)); |
5123 | 10.2k | } scn::v3::impl::character_set_reader_impl<char>::read_source_callback::on_ascii_only(char) const Line | Count | Source | 5117 | 8.66k | { | 5118 | 8.66k | if (!is_ascii_char(ch)) { | 5119 | 1.62k | return false; | 5120 | 1.62k | } | 5121 | | | 5122 | 7.03k | return helper.is_char_set_in_literals(static_cast<char>(ch)); | 5123 | 8.66k | } |
scn::v3::impl::character_set_reader_impl<wchar_t>::read_source_callback::on_ascii_only(wchar_t) const Line | Count | Source | 5117 | 1.53k | { | 5118 | 1.53k | if (!is_ascii_char(ch)) { | 5119 | 12 | return false; | 5120 | 12 | } | 5121 | | | 5122 | 1.52k | return helper.is_char_set_in_literals(static_cast<char>(ch)); | 5123 | 1.53k | } |
|
5124 | | |
5125 | | SCN_NODISCARD bool on_classic_with_extra_ranges(char32_t cp) const |
5126 | 290k | { |
5127 | 290k | if (!is_ascii_char(cp)) { |
5128 | 40.5k | return helper.is_char_set_in_extra_literals(cp); |
5129 | 40.5k | } |
5130 | | |
5131 | 250k | return helper.is_char_set_in_literals(static_cast<char>(cp)); |
5132 | 290k | } scn::v3::impl::character_set_reader_impl<char>::read_source_callback::on_classic_with_extra_ranges(char32_t) const Line | Count | Source | 5126 | 284k | { | 5127 | 284k | if (!is_ascii_char(cp)) { | 5128 | 39.1k | return helper.is_char_set_in_extra_literals(cp); | 5129 | 39.1k | } | 5130 | | | 5131 | 245k | return helper.is_char_set_in_literals(static_cast<char>(cp)); | 5132 | 284k | } |
scn::v3::impl::character_set_reader_impl<wchar_t>::read_source_callback::on_classic_with_extra_ranges(char32_t) const Line | Count | Source | 5126 | 6.03k | { | 5127 | 6.03k | if (!is_ascii_char(cp)) { | 5128 | 1.42k | return helper.is_char_set_in_extra_literals(cp); | 5129 | 1.42k | } | 5130 | | | 5131 | 4.60k | return helper.is_char_set_in_literals(static_cast<char>(cp)); | 5132 | 6.03k | } |
|
5133 | | |
5134 | | const specs_helper& helper; |
5135 | | detail::locale_ref loc{}; |
5136 | | }; |
5137 | | |
5138 | | template <typename Range> |
5139 | | auto read_source_impl(Range range, specs_helper helper) const |
5140 | | -> scan_expected<ranges::const_iterator_t<Range>> |
5141 | 3.96k | { |
5142 | 3.96k | const bool is_inverted = helper.specs.charset_is_inverted; |
5143 | 3.96k | const bool accepts_nonascii = helper.specs.charset_has_nonascii; |
5144 | | |
5145 | 3.96k | if (auto e = helper.handle_nonascii(); SCN_UNLIKELY(!e)) { |
5146 | 0 | return unexpected(e); |
5147 | 0 | } |
5148 | | |
5149 | 3.96k | read_source_callback cb_wrapper{helper}; |
5150 | | |
5151 | 3.96k | if (accepts_nonascii) { |
5152 | 290k | const auto cb = [&](char32_t cp) { |
5153 | 290k | return cb_wrapper.on_classic_with_extra_ranges(cp); |
5154 | 290k | }; Unexecuted instantiation: _ZZNK3scn2v34impl25character_set_reader_implIcE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_NS3_12specs_helperEENKUlDiE_clEDi Unexecuted instantiation: _ZZNK3scn2v34impl25character_set_reader_implIcE16read_source_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_NS3_12specs_helperEENKUlDiE_clEDi _ZZNK3scn2v34impl25character_set_reader_implIcE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_NS3_12specs_helperEENKUlDiE_clEDi Line | Count | Source | 5152 | 10.0k | const auto cb = [&](char32_t cp) { | 5153 | 10.0k | return cb_wrapper.on_classic_with_extra_ranges(cp); | 5154 | 10.0k | }; |
_ZZNK3scn2v34impl25character_set_reader_implIcE16read_source_implINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_NS3_12specs_helperEENKUlDiE_clEDi Line | Count | Source | 5152 | 274k | const auto cb = [&](char32_t cp) { | 5153 | 274k | return cb_wrapper.on_classic_with_extra_ranges(cp); | 5154 | 274k | }; |
Unexecuted instantiation: _ZZNK3scn2v34impl25character_set_reader_implIwE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_NS3_12specs_helperEENKUlDiE_clEDi Unexecuted instantiation: _ZZNK3scn2v34impl25character_set_reader_implIwE16read_source_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_NS3_12specs_helperEENKUlDiE_clEDi _ZZNK3scn2v34impl25character_set_reader_implIwE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_NS3_12specs_helperEENKUlDiE_clEDi Line | Count | Source | 5152 | 1.69k | const auto cb = [&](char32_t cp) { | 5153 | 1.69k | return cb_wrapper.on_classic_with_extra_ranges(cp); | 5154 | 1.69k | }; |
_ZZNK3scn2v34impl25character_set_reader_implIwE16read_source_implINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_NS3_12specs_helperEENKUlDiE_clEDi Line | Count | Source | 5152 | 4.33k | const auto cb = [&](char32_t cp) { | 5153 | 4.33k | return cb_wrapper.on_classic_with_extra_ranges(cp); | 5154 | 4.33k | }; |
|
5155 | | |
5156 | 3.22k | if (is_inverted) { |
5157 | 624 | auto it = read_until_code_point(range, cb); |
5158 | 624 | return check_nonempty(it, range); |
5159 | 624 | } |
5160 | 2.60k | auto it = read_while_code_point(range, cb); |
5161 | 2.60k | return check_nonempty(it, range); |
5162 | 3.22k | } |
5163 | | |
5164 | 10.2k | const auto cb = [&](SourceCharT ch) { |
5165 | 10.2k | return cb_wrapper.on_ascii_only(ch); |
5166 | 10.2k | }; Unexecuted instantiation: _ZZNK3scn2v34impl25character_set_reader_implIcE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_NS3_12specs_helperEENKUlcE_clEc Unexecuted instantiation: _ZZNK3scn2v34impl25character_set_reader_implIcE16read_source_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_NS3_12specs_helperEENKUlcE_clEc _ZZNK3scn2v34impl25character_set_reader_implIcE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_NS3_12specs_helperEENKUlcE_clEc Line | Count | Source | 5164 | 5.28k | const auto cb = [&](SourceCharT ch) { | 5165 | 5.28k | return cb_wrapper.on_ascii_only(ch); | 5166 | 5.28k | }; |
_ZZNK3scn2v34impl25character_set_reader_implIcE16read_source_implINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_NS3_12specs_helperEENKUlcE_clEc Line | Count | Source | 5164 | 3.38k | const auto cb = [&](SourceCharT ch) { | 5165 | 3.38k | return cb_wrapper.on_ascii_only(ch); | 5166 | 3.38k | }; |
Unexecuted instantiation: _ZZNK3scn2v34impl25character_set_reader_implIwE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_NS3_12specs_helperEENKUlwE_clEw Unexecuted instantiation: _ZZNK3scn2v34impl25character_set_reader_implIwE16read_source_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_NS3_12specs_helperEENKUlwE_clEw _ZZNK3scn2v34impl25character_set_reader_implIwE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_NS3_12specs_helperEENKUlwE_clEw Line | Count | Source | 5164 | 264 | const auto cb = [&](SourceCharT ch) { | 5165 | 264 | return cb_wrapper.on_ascii_only(ch); | 5166 | 264 | }; |
_ZZNK3scn2v34impl25character_set_reader_implIwE16read_source_implINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_NS3_12specs_helperEENKUlwE_clEw Line | Count | Source | 5164 | 1.27k | const auto cb = [&](SourceCharT ch) { | 5165 | 1.27k | return cb_wrapper.on_ascii_only(ch); | 5166 | 1.27k | }; |
|
5167 | | |
5168 | 732 | if (is_inverted) { |
5169 | 342 | auto it = read_until_code_unit(range, cb); |
5170 | 342 | return check_nonempty(it, range); |
5171 | 342 | } |
5172 | 390 | auto it = read_while_code_unit(range, cb); |
5173 | 390 | return check_nonempty(it, range); |
5174 | 732 | } Unexecuted instantiation: _ZNK3scn2v34impl25character_set_reader_implIcE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_NS3_12specs_helperE Unexecuted instantiation: _ZNK3scn2v34impl25character_set_reader_implIcE16read_source_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_NS3_12specs_helperE _ZNK3scn2v34impl25character_set_reader_implIcE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_NS3_12specs_helperE Line | Count | Source | 5141 | 666 | { | 5142 | 666 | const bool is_inverted = helper.specs.charset_is_inverted; | 5143 | 666 | const bool accepts_nonascii = helper.specs.charset_has_nonascii; | 5144 | | | 5145 | 666 | if (auto e = helper.handle_nonascii(); SCN_UNLIKELY(!e)) { | 5146 | 0 | return unexpected(e); | 5147 | 0 | } | 5148 | | | 5149 | 666 | read_source_callback cb_wrapper{helper}; | 5150 | | | 5151 | 666 | if (accepts_nonascii) { | 5152 | 372 | const auto cb = [&](char32_t cp) { | 5153 | 372 | return cb_wrapper.on_classic_with_extra_ranges(cp); | 5154 | 372 | }; | 5155 | | | 5156 | 372 | if (is_inverted) { | 5157 | 186 | auto it = read_until_code_point(range, cb); | 5158 | 186 | return check_nonempty(it, range); | 5159 | 186 | } | 5160 | 186 | auto it = read_while_code_point(range, cb); | 5161 | 186 | return check_nonempty(it, range); | 5162 | 372 | } | 5163 | | | 5164 | 294 | const auto cb = [&](SourceCharT ch) { | 5165 | 294 | return cb_wrapper.on_ascii_only(ch); | 5166 | 294 | }; | 5167 | | | 5168 | 294 | if (is_inverted) { | 5169 | 138 | auto it = read_until_code_unit(range, cb); | 5170 | 138 | return check_nonempty(it, range); | 5171 | 138 | } | 5172 | 156 | auto it = read_while_code_unit(range, cb); | 5173 | 156 | return check_nonempty(it, range); | 5174 | 294 | } |
_ZNK3scn2v34impl25character_set_reader_implIcE16read_source_implINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_NS3_12specs_helperE Line | Count | Source | 5141 | 2.59k | { | 5142 | 2.59k | const bool is_inverted = helper.specs.charset_is_inverted; | 5143 | 2.59k | const bool accepts_nonascii = helper.specs.charset_has_nonascii; | 5144 | | | 5145 | 2.59k | if (auto e = helper.handle_nonascii(); SCN_UNLIKELY(!e)) { | 5146 | 0 | return unexpected(e); | 5147 | 0 | } | 5148 | | | 5149 | 2.59k | read_source_callback cb_wrapper{helper}; | 5150 | | | 5151 | 2.59k | if (accepts_nonascii) { | 5152 | 2.33k | const auto cb = [&](char32_t cp) { | 5153 | 2.33k | return cb_wrapper.on_classic_with_extra_ranges(cp); | 5154 | 2.33k | }; | 5155 | | | 5156 | 2.33k | if (is_inverted) { | 5157 | 192 | auto it = read_until_code_point(range, cb); | 5158 | 192 | return check_nonempty(it, range); | 5159 | 192 | } | 5160 | 2.14k | auto it = read_while_code_point(range, cb); | 5161 | 2.14k | return check_nonempty(it, range); | 5162 | 2.33k | } | 5163 | | | 5164 | 264 | const auto cb = [&](SourceCharT ch) { | 5165 | 264 | return cb_wrapper.on_ascii_only(ch); | 5166 | 264 | }; | 5167 | | | 5168 | 264 | if (is_inverted) { | 5169 | 114 | auto it = read_until_code_unit(range, cb); | 5170 | 114 | return check_nonempty(it, range); | 5171 | 114 | } | 5172 | 150 | auto it = read_while_code_unit(range, cb); | 5173 | 150 | return check_nonempty(it, range); | 5174 | 264 | } |
Unexecuted instantiation: _ZNK3scn2v34impl25character_set_reader_implIwE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_NS3_12specs_helperE Unexecuted instantiation: _ZNK3scn2v34impl25character_set_reader_implIwE16read_source_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_NS3_12specs_helperE _ZNK3scn2v34impl25character_set_reader_implIwE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_NS3_12specs_helperE Line | Count | Source | 5141 | 258 | { | 5142 | 258 | const bool is_inverted = helper.specs.charset_is_inverted; | 5143 | 258 | const bool accepts_nonascii = helper.specs.charset_has_nonascii; | 5144 | | | 5145 | 258 | if (auto e = helper.handle_nonascii(); SCN_UNLIKELY(!e)) { | 5146 | 0 | return unexpected(e); | 5147 | 0 | } | 5148 | | | 5149 | 258 | read_source_callback cb_wrapper{helper}; | 5150 | | | 5151 | 258 | if (accepts_nonascii) { | 5152 | 180 | const auto cb = [&](char32_t cp) { | 5153 | 180 | return cb_wrapper.on_classic_with_extra_ranges(cp); | 5154 | 180 | }; | 5155 | | | 5156 | 180 | if (is_inverted) { | 5157 | 90 | auto it = read_until_code_point(range, cb); | 5158 | 90 | return check_nonempty(it, range); | 5159 | 90 | } | 5160 | 90 | auto it = read_while_code_point(range, cb); | 5161 | 90 | return check_nonempty(it, range); | 5162 | 180 | } | 5163 | | | 5164 | 78 | const auto cb = [&](SourceCharT ch) { | 5165 | 78 | return cb_wrapper.on_ascii_only(ch); | 5166 | 78 | }; | 5167 | | | 5168 | 78 | if (is_inverted) { | 5169 | 48 | auto it = read_until_code_unit(range, cb); | 5170 | 48 | return check_nonempty(it, range); | 5171 | 48 | } | 5172 | 30 | auto it = read_while_code_unit(range, cb); | 5173 | 30 | return check_nonempty(it, range); | 5174 | 78 | } |
_ZNK3scn2v34impl25character_set_reader_implIwE16read_source_implINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_NS3_12specs_helperE Line | Count | Source | 5141 | 438 | { | 5142 | 438 | const bool is_inverted = helper.specs.charset_is_inverted; | 5143 | 438 | const bool accepts_nonascii = helper.specs.charset_has_nonascii; | 5144 | | | 5145 | 438 | if (auto e = helper.handle_nonascii(); SCN_UNLIKELY(!e)) { | 5146 | 0 | return unexpected(e); | 5147 | 0 | } | 5148 | | | 5149 | 438 | read_source_callback cb_wrapper{helper}; | 5150 | | | 5151 | 438 | if (accepts_nonascii) { | 5152 | 342 | const auto cb = [&](char32_t cp) { | 5153 | 342 | return cb_wrapper.on_classic_with_extra_ranges(cp); | 5154 | 342 | }; | 5155 | | | 5156 | 342 | if (is_inverted) { | 5157 | 156 | auto it = read_until_code_point(range, cb); | 5158 | 156 | return check_nonempty(it, range); | 5159 | 156 | } | 5160 | 186 | auto it = read_while_code_point(range, cb); | 5161 | 186 | return check_nonempty(it, range); | 5162 | 342 | } | 5163 | | | 5164 | 96 | const auto cb = [&](SourceCharT ch) { | 5165 | 96 | return cb_wrapper.on_ascii_only(ch); | 5166 | 96 | }; | 5167 | | | 5168 | 96 | if (is_inverted) { | 5169 | 42 | auto it = read_until_code_unit(range, cb); | 5170 | 42 | return check_nonempty(it, range); | 5171 | 42 | } | 5172 | 54 | auto it = read_while_code_unit(range, cb); | 5173 | 54 | return check_nonempty(it, range); | 5174 | 96 | } |
|
5175 | | |
5176 | | template <typename Iterator, typename Range> |
5177 | | static scan_expected<Iterator> check_nonempty(const Iterator& it, |
5178 | | Range range) |
5179 | 3.96k | { |
5180 | 3.96k | if (it == range.begin()) { |
5181 | 1.11k | return unexpected_scan_error( |
5182 | 1.11k | scan_error::invalid_scanned_value, |
5183 | 1.11k | "No characters matched in [character set]"); |
5184 | 1.11k | } |
5185 | | |
5186 | 2.85k | return it; |
5187 | 3.96k | } Unexecuted instantiation: scn::v3::scan_expected<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> > scn::v3::impl::character_set_reader_impl<char>::check_nonempty<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> > >(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> const&, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >) Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<char>::forward_iterator> scn::v3::impl::character_set_reader_impl<char>::check_nonempty<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t> >(scn::v3::detail::basic_scan_buffer<char>::forward_iterator const&, scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<char>::forward_iterator, scn::v3::ranges::default_sentinel_t>) scn::v3::scan_expected<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> > scn::v3::impl::character_set_reader_impl<char>::check_nonempty<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> > >(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> const&, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> >) Line | Count | Source | 5179 | 666 | { | 5180 | 666 | if (it == range.begin()) { | 5181 | 36 | return unexpected_scan_error( | 5182 | 36 | scan_error::invalid_scanned_value, | 5183 | 36 | "No characters matched in [character set]"); | 5184 | 36 | } | 5185 | | | 5186 | 630 | return it; | 5187 | 666 | } |
scn::v3::scan_expected<char const*> scn::v3::impl::character_set_reader_impl<char>::check_nonempty<char const*, scn::v3::ranges::detail::subrange_::subrange<char const*, char const*> >(char const* const&, scn::v3::ranges::detail::subrange_::subrange<char const*, char const*>) Line | Count | Source | 5179 | 2.59k | { | 5180 | 2.59k | if (it == range.begin()) { | 5181 | 996 | return unexpected_scan_error( | 5182 | 996 | scan_error::invalid_scanned_value, | 5183 | 996 | "No characters matched in [character set]"); | 5184 | 996 | } | 5185 | | | 5186 | 1.60k | return it; | 5187 | 2.59k | } |
Unexecuted instantiation: scn::v3::scan_expected<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> > scn::v3::impl::character_set_reader_impl<wchar_t>::check_nonempty<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> > >(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> const&, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >) Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v3::impl::character_set_reader_impl<wchar_t>::check_nonempty<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t> >(scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator const&, scn::v3::ranges::detail::subrange_::subrange<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v3::ranges::default_sentinel_t>) scn::v3::scan_expected<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> > scn::v3::impl::character_set_reader_impl<wchar_t>::check_nonempty<scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> > >(scn::v3::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> const&, scn::v3::impl::take_width_view<scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >) Line | Count | Source | 5179 | 258 | { | 5180 | 258 | if (it == range.begin()) { | 5181 | 24 | return unexpected_scan_error( | 5182 | 24 | scan_error::invalid_scanned_value, | 5183 | 24 | "No characters matched in [character set]"); | 5184 | 24 | } | 5185 | | | 5186 | 234 | return it; | 5187 | 258 | } |
scn::v3::scan_expected<wchar_t const*> scn::v3::impl::character_set_reader_impl<wchar_t>::check_nonempty<wchar_t const*, scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >(wchar_t const* const&, scn::v3::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>) Line | Count | Source | 5179 | 438 | { | 5180 | 438 | if (it == range.begin()) { | 5181 | 54 | return unexpected_scan_error( | 5182 | 54 | scan_error::invalid_scanned_value, | 5183 | 54 | "No characters matched in [character set]"); | 5184 | 54 | } | 5185 | | | 5186 | 384 | return it; | 5187 | 438 | } |
|
5188 | | }; |
5189 | | |
5190 | | template <typename SourceCharT> |
5191 | | class string_reader |
5192 | | : public reader_base<string_reader<SourceCharT>, SourceCharT> { |
5193 | | public: |
5194 | 26.8k | constexpr string_reader() = default; scn::v3::impl::string_reader<char>::string_reader() Line | Count | Source | 5194 | 17.3k | constexpr string_reader() = default; |
scn::v3::impl::string_reader<wchar_t>::string_reader() Line | Count | Source | 5194 | 9.49k | constexpr string_reader() = default; |
|
5195 | | |
5196 | | void check_specs_impl(const detail::format_specs& specs, |
5197 | | reader_error_handler& eh) |
5198 | 23.5k | { |
5199 | 23.5k | detail::check_string_type_specs(specs, eh); |
5200 | | |
5201 | 23.5k | SCN_GCC_PUSH |
5202 | 23.5k | SCN_GCC_IGNORE("-Wswitch") |
5203 | 23.5k | SCN_GCC_IGNORE("-Wswitch-default") |
5204 | | |
5205 | 23.5k | SCN_CLANG_PUSH |
5206 | 23.5k | SCN_CLANG_IGNORE("-Wswitch") |
5207 | 23.5k | SCN_CLANG_IGNORE("-Wcovered-switch-default") |
5208 | | |
5209 | 23.5k | switch (specs.type) { |
5210 | 2.64k | case detail::presentation_type::none: |
5211 | 2.64k | m_type = reader_type::word; |
5212 | 2.64k | break; |
5213 | | |
5214 | 810 | case detail::presentation_type::string: { |
5215 | 810 | if (specs.align == detail::align_type::left || |
5216 | 810 | specs.align == detail::align_type::center) { |
5217 | 528 | m_type = reader_type::custom_word; |
5218 | 528 | } |
5219 | 282 | else { |
5220 | 282 | m_type = reader_type::word; |
5221 | 282 | } |
5222 | 810 | break; |
5223 | 0 | } |
5224 | | |
5225 | 162 | case detail::presentation_type::character: |
5226 | 162 | m_type = reader_type::character; |
5227 | 162 | break; |
5228 | | |
5229 | 3.96k | case detail::presentation_type::string_set: |
5230 | 3.96k | m_type = reader_type::character_set; |
5231 | 3.96k | break; |
5232 | | |
5233 | 14.4k | case detail::presentation_type::regex: |
5234 | 14.4k | m_type = reader_type::regex; |
5235 | 14.4k | break; |
5236 | | |
5237 | 960 | case detail::presentation_type::regex_escaped: |
5238 | 960 | m_type = reader_type::regex_escaped; |
5239 | 960 | break; |
5240 | 23.5k | } |
5241 | | |
5242 | | SCN_CLANG_POP // -Wswitch-enum, -Wcovered-switch-default |
5243 | | SCN_GCC_POP // -Wswitch-enum, -Wswitch-default |
5244 | 23.5k | } scn::v3::impl::string_reader<char>::check_specs_impl(scn::v3::detail::format_specs const&, scn::v3::impl::reader_error_handler&) Line | Count | Source | 5198 | 15.4k | { | 5199 | 15.4k | detail::check_string_type_specs(specs, eh); | 5200 | | | 5201 | 15.4k | SCN_GCC_PUSH | 5202 | 15.4k | SCN_GCC_IGNORE("-Wswitch") | 5203 | 15.4k | SCN_GCC_IGNORE("-Wswitch-default") | 5204 | | | 5205 | 15.4k | SCN_CLANG_PUSH | 5206 | 15.4k | SCN_CLANG_IGNORE("-Wswitch") | 5207 | 15.4k | SCN_CLANG_IGNORE("-Wcovered-switch-default") | 5208 | | | 5209 | 15.4k | switch (specs.type) { | 5210 | 1.47k | case detail::presentation_type::none: | 5211 | 1.47k | m_type = reader_type::word; | 5212 | 1.47k | break; | 5213 | | | 5214 | 582 | case detail::presentation_type::string: { | 5215 | 582 | if (specs.align == detail::align_type::left || | 5216 | 582 | specs.align == detail::align_type::center) { | 5217 | 348 | m_type = reader_type::custom_word; | 5218 | 348 | } | 5219 | 234 | else { | 5220 | 234 | m_type = reader_type::word; | 5221 | 234 | } | 5222 | 582 | break; | 5223 | 0 | } | 5224 | | | 5225 | 96 | case detail::presentation_type::character: | 5226 | 96 | m_type = reader_type::character; | 5227 | 96 | break; | 5228 | | | 5229 | 3.27k | case detail::presentation_type::string_set: | 5230 | 3.27k | m_type = reader_type::character_set; | 5231 | 3.27k | break; | 5232 | | | 5233 | 8.91k | case detail::presentation_type::regex: | 5234 | 8.91k | m_type = reader_type::regex; | 5235 | 8.91k | break; | 5236 | | | 5237 | 780 | case detail::presentation_type::regex_escaped: | 5238 | 780 | m_type = reader_type::regex_escaped; | 5239 | 780 | break; | 5240 | 15.4k | } | 5241 | | | 5242 | | SCN_CLANG_POP // -Wswitch-enum, -Wcovered-switch-default | 5243 | | SCN_GCC_POP // -Wswitch-enum, -Wswitch-default | 5244 | 15.4k | } |
scn::v3::impl::string_reader<wchar_t>::check_specs_impl(scn::v3::detail::format_specs const&, scn::v3::impl::reader_error_handler&) Line | Count | Source | 5198 | 8.07k | { | 5199 | 8.07k | detail::check_string_type_specs(specs, eh); | 5200 | | | 5201 | 8.07k | SCN_GCC_PUSH | 5202 | 8.07k | SCN_GCC_IGNORE("-Wswitch") | 5203 | 8.07k | SCN_GCC_IGNORE("-Wswitch-default") | 5204 | | | 5205 | 8.07k | SCN_CLANG_PUSH | 5206 | 8.07k | SCN_CLANG_IGNORE("-Wswitch") | 5207 | 8.07k | SCN_CLANG_IGNORE("-Wcovered-switch-default") | 5208 | | | 5209 | 8.07k | switch (specs.type) { | 5210 | 1.16k | case detail::presentation_type::none: | 5211 | 1.16k | m_type = reader_type::word; | 5212 | 1.16k | break; | 5213 | | | 5214 | 228 | case detail::presentation_type::string: { | 5215 | 228 | if (specs.align == detail::align_type::left || | 5216 | 228 | specs.align == detail::align_type::center) { | 5217 | 180 | m_type = reader_type::custom_word; | 5218 | 180 | } | 5219 | 48 | else { | 5220 | 48 | m_type = reader_type::word; | 5221 | 48 | } | 5222 | 228 | break; | 5223 | 0 | } | 5224 | | | 5225 | 66 | case detail::presentation_type::character: | 5226 | 66 | m_type = reader_type::character; | 5227 | 66 | break; | 5228 | | | 5229 | 696 | case detail::presentation_type::string_set: | 5230 | 696 | m_type = reader_type::character_set; | 5231 | 696 | break; | 5232 | | | 5233 | 5.50k | case detail::presentation_type::regex: | 5234 | 5.50k | m_type = reader_type::regex; | 5235 | 5.50k | break; | 5236 | | | 5237 | 180 | case detail::presentation_type::regex_escaped: | 5238 | 180 | m_type = reader_type::regex_escaped; | 5239 | 180 | break; | 5240 | 8.07k | } | 5241 | | | 5242 | | SCN_CLANG_POP // -Wswitch-enum, -Wcovered-switch-default | 5243 | | SCN_GCC_POP // -Wswitch-enum, -Wswitch-default | 5244 | 8.07k | } |
|
5245 | | |
5246 | | bool skip_ws_before_read() const |
5247 | 31.6k | { |
5248 | 31.6k | return m_type == reader_type::word; |
5249 | 31.6k | } scn::v3::impl::string_reader<char>::skip_ws_before_read() const Line | Count | Source | 5247 | 20.7k | { | 5248 | 20.7k | return m_type == reader_type::word; | 5249 | 20.7k | } |
scn::v3::impl::string_reader<wchar_t>::skip_ws_before_read() const Line | Count | Source | 5247 | 10.8k | { | 5248 | 10.8k | return m_type == reader_type::word; | 5249 | 10.8k | } |
|
5250 | | |
5251 | | template <typename Range, typename Value> |
5252 | | auto read_default(Range range, Value& value, detail::locale_ref loc) |
5253 | | -> scan_expected<ranges::const_iterator_t<Range>> |
5254 | 3.33k | { |
5255 | 3.33k | SCN_UNUSED(loc); |
5256 | 3.33k | return word_reader_impl<SourceCharT>{}.read(range, value); |
5257 | 3.33k | } _ZN3scn2v34impl13string_readerIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKcSA_EENSt3__117basic_string_viewIcNSC_11char_traitsIcEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSC_9add_constIT_E4typeEEEEEEESJ_RT0_NS0_6detail10locale_refE Line | Count | Source | 5254 | 636 | { | 5255 | 636 | SCN_UNUSED(loc); | 5256 | 636 | return word_reader_impl<SourceCharT>{}.read(range, value); | 5257 | 636 | } |
_ZN3scn2v34impl13string_readerIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKcSA_EENSt3__112basic_stringIcNSC_11char_traitsIcEENSC_9allocatorIcEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSC_9add_constIT_E4typeEEEEEEESL_RT0_NS0_6detail10locale_refE Line | Count | Source | 5254 | 636 | { | 5255 | 636 | SCN_UNUSED(loc); | 5256 | 636 | return word_reader_impl<SourceCharT>{}.read(range, value); | 5257 | 636 | } |
Unexecuted instantiation: _ZN3scn2v34impl13string_readerIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKcSA_EENSt3__117basic_string_viewIwNSC_11char_traitsIwEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSC_9add_constIT_E4typeEEEEEEESJ_RT0_NS0_6detail10locale_refE _ZN3scn2v34impl13string_readerIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKcSA_EENSt3__112basic_stringIwNSC_11char_traitsIwEENSC_9allocatorIwEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSC_9add_constIT_E4typeEEEEEEESL_RT0_NS0_6detail10locale_refE Line | Count | Source | 5254 | 636 | { | 5255 | 636 | SCN_UNUSED(loc); | 5256 | 636 | return word_reader_impl<SourceCharT>{}.read(range, value); | 5257 | 636 | } |
Unexecuted instantiation: _ZN3scn2v34impl13string_readerIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEENSt3__117basic_string_viewIcNSF_11char_traitsIcEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSF_9add_constIT_E4typeEEEEEEESM_RT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl13string_readerIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEENSt3__112basic_stringIcNSF_11char_traitsIcEENSF_9allocatorIcEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSF_9add_constIT_E4typeEEEEEEESO_RT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl13string_readerIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEENSt3__117basic_string_viewIwNSF_11char_traitsIwEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSF_9add_constIT_E4typeEEEEEEESM_RT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl13string_readerIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEENSt3__112basic_stringIwNSF_11char_traitsIwEENSF_9allocatorIwEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSF_9add_constIT_E4typeEEEEEEESO_RT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl13string_readerIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKwSA_EENSt3__117basic_string_viewIcNSC_11char_traitsIcEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSC_9add_constIT_E4typeEEEEEEESJ_RT0_NS0_6detail10locale_refE _ZN3scn2v34impl13string_readerIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKwSA_EENSt3__112basic_stringIcNSC_11char_traitsIcEENSC_9allocatorIcEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSC_9add_constIT_E4typeEEEEEEESL_RT0_NS0_6detail10locale_refE Line | Count | Source | 5254 | 474 | { | 5255 | 474 | SCN_UNUSED(loc); | 5256 | 474 | return word_reader_impl<SourceCharT>{}.read(range, value); | 5257 | 474 | } |
_ZN3scn2v34impl13string_readerIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKwSA_EENSt3__117basic_string_viewIwNSC_11char_traitsIwEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSC_9add_constIT_E4typeEEEEEEESJ_RT0_NS0_6detail10locale_refE Line | Count | Source | 5254 | 474 | { | 5255 | 474 | SCN_UNUSED(loc); | 5256 | 474 | return word_reader_impl<SourceCharT>{}.read(range, value); | 5257 | 474 | } |
_ZN3scn2v34impl13string_readerIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKwSA_EENSt3__112basic_stringIwNSC_11char_traitsIwEENSC_9allocatorIwEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSC_9add_constIT_E4typeEEEEEEESL_RT0_NS0_6detail10locale_refE Line | Count | Source | 5254 | 474 | { | 5255 | 474 | SCN_UNUSED(loc); | 5256 | 474 | return word_reader_impl<SourceCharT>{}.read(range, value); | 5257 | 474 | } |
Unexecuted instantiation: _ZN3scn2v34impl13string_readerIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEENSt3__117basic_string_viewIcNSF_11char_traitsIcEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSF_9add_constIT_E4typeEEEEEEESM_RT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl13string_readerIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEENSt3__112basic_stringIcNSF_11char_traitsIcEENSF_9allocatorIcEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSF_9add_constIT_E4typeEEEEEEESO_RT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl13string_readerIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEENSt3__117basic_string_viewIwNSF_11char_traitsIwEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSF_9add_constIT_E4typeEEEEEEESM_RT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl13string_readerIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEENSt3__112basic_stringIwNSF_11char_traitsIwEENSF_9allocatorIwEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSF_9add_constIT_E4typeEEEEEEESO_RT0_NS9_10locale_refE |
5258 | | |
5259 | | template <typename Range, typename Value> |
5260 | | auto read_specs(Range range, |
5261 | | const detail::format_specs& specs, |
5262 | | Value& value, |
5263 | | detail::locale_ref loc) |
5264 | | -> scan_expected<ranges::const_iterator_t<Range>> |
5265 | 22.8k | { |
5266 | 22.8k | SCN_UNUSED(loc); |
5267 | 22.8k | return read_impl(range, specs, value); |
5268 | 22.8k | } Unexecuted instantiation: _ZN3scn2v34impl13string_readerIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEENSt3__112basic_stringIcNSH_11char_traitsIcEENSH_9allocatorIcEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSH_9add_constIT_E4typeEEEEEEESQ_RKNSA_12format_specsERT0_NSA_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl13string_readerIcE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEENSt3__112basic_stringIcNSF_11char_traitsIcEENSF_9allocatorIcEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSF_9add_constIT_E4typeEEEEEEESO_RKNS9_12format_specsERT0_NS9_10locale_refE _ZN3scn2v34impl13string_readerIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEENSt3__112basic_stringIcNSE_11char_traitsIcEENSE_9allocatorIcEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSE_9add_constIT_E4typeEEEEEEESN_RKNS0_6detail12format_specsERT0_NST_10locale_refE Line | Count | Source | 5265 | 606 | { | 5266 | 606 | SCN_UNUSED(loc); | 5267 | 606 | return read_impl(range, specs, value); | 5268 | 606 | } |
_ZN3scn2v34impl13string_readerIcE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKcSA_EENSt3__112basic_stringIcNSC_11char_traitsIcEENSC_9allocatorIcEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSC_9add_constIT_E4typeEEEEEEESL_RKNS0_6detail12format_specsERT0_NSR_10locale_refE Line | Count | Source | 5265 | 4.40k | { | 5266 | 4.40k | SCN_UNUSED(loc); | 5267 | 4.40k | return read_impl(range, specs, value); | 5268 | 4.40k | } |
Unexecuted instantiation: _ZN3scn2v34impl13string_readerIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEENSt3__112basic_stringIwNSH_11char_traitsIwEENSH_9allocatorIwEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSH_9add_constIT_E4typeEEEEEEESQ_RKNSA_12format_specsERT0_NSA_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl13string_readerIcE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEENSt3__112basic_stringIwNSF_11char_traitsIwEENSF_9allocatorIwEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSF_9add_constIT_E4typeEEEEEEESO_RKNS9_12format_specsERT0_NS9_10locale_refE _ZN3scn2v34impl13string_readerIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEENSt3__112basic_stringIwNSE_11char_traitsIwEENSE_9allocatorIwEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSE_9add_constIT_E4typeEEEEEEESN_RKNS0_6detail12format_specsERT0_NST_10locale_refE Line | Count | Source | 5265 | 606 | { | 5266 | 606 | SCN_UNUSED(loc); | 5267 | 606 | return read_impl(range, specs, value); | 5268 | 606 | } |
_ZN3scn2v34impl13string_readerIcE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKcSA_EENSt3__112basic_stringIwNSC_11char_traitsIwEENSC_9allocatorIwEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSC_9add_constIT_E4typeEEEEEEESL_RKNS0_6detail12format_specsERT0_NSR_10locale_refE Line | Count | Source | 5265 | 4.40k | { | 5266 | 4.40k | SCN_UNUSED(loc); | 5267 | 4.40k | return read_impl(range, specs, value); | 5268 | 4.40k | } |
Unexecuted instantiation: _ZN3scn2v34impl13string_readerIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEENSt3__117basic_string_viewIcNSH_11char_traitsIcEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSH_9add_constIT_E4typeEEEEEEESO_RKNSA_12format_specsERT0_NSA_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl13string_readerIcE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEENSt3__117basic_string_viewIcNSF_11char_traitsIcEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSF_9add_constIT_E4typeEEEEEEESM_RKNS9_12format_specsERT0_NS9_10locale_refE _ZN3scn2v34impl13string_readerIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEENSt3__117basic_string_viewIcNSE_11char_traitsIcEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSE_9add_constIT_E4typeEEEEEEESL_RKNS0_6detail12format_specsERT0_NSR_10locale_refE Line | Count | Source | 5265 | 606 | { | 5266 | 606 | SCN_UNUSED(loc); | 5267 | 606 | return read_impl(range, specs, value); | 5268 | 606 | } |
_ZN3scn2v34impl13string_readerIcE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKcSA_EENSt3__117basic_string_viewIcNSC_11char_traitsIcEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSC_9add_constIT_E4typeEEEEEEESJ_RKNS0_6detail12format_specsERT0_NSP_10locale_refE Line | Count | Source | 5265 | 4.40k | { | 5266 | 4.40k | SCN_UNUSED(loc); | 5267 | 4.40k | return read_impl(range, specs, value); | 5268 | 4.40k | } |
Unexecuted instantiation: _ZN3scn2v34impl13string_readerIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEENSt3__117basic_string_viewIwNSH_11char_traitsIwEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSH_9add_constIT_E4typeEEEEEEESO_RKNSA_12format_specsERT0_NSA_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl13string_readerIcE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEENSt3__117basic_string_viewIwNSF_11char_traitsIwEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSF_9add_constIT_E4typeEEEEEEESM_RKNS9_12format_specsERT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl13string_readerIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEENSt3__117basic_string_viewIwNSE_11char_traitsIwEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSE_9add_constIT_E4typeEEEEEEESL_RKNS0_6detail12format_specsERT0_NSR_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl13string_readerIcE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKcSA_EENSt3__117basic_string_viewIwNSC_11char_traitsIwEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSC_9add_constIT_E4typeEEEEEEESJ_RKNS0_6detail12format_specsERT0_NSP_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl13string_readerIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEENSt3__112basic_stringIcNSH_11char_traitsIcEENSH_9allocatorIcEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSH_9add_constIT_E4typeEEEEEEESQ_RKNSA_12format_specsERT0_NSA_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl13string_readerIwE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEENSt3__112basic_stringIcNSF_11char_traitsIcEENSF_9allocatorIcEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSF_9add_constIT_E4typeEEEEEEESO_RKNS9_12format_specsERT0_NS9_10locale_refE _ZN3scn2v34impl13string_readerIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEENSt3__112basic_stringIcNSE_11char_traitsIcEENSE_9allocatorIcEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSE_9add_constIT_E4typeEEEEEEESN_RKNS0_6detail12format_specsERT0_NST_10locale_refE Line | Count | Source | 5265 | 224 | { | 5266 | 224 | SCN_UNUSED(loc); | 5267 | 224 | return read_impl(range, specs, value); | 5268 | 224 | } |
_ZN3scn2v34impl13string_readerIwE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKwSA_EENSt3__112basic_stringIcNSC_11char_traitsIcEENSC_9allocatorIcEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSC_9add_constIT_E4typeEEEEEEESL_RKNS0_6detail12format_specsERT0_NSR_10locale_refE Line | Count | Source | 5265 | 2.38k | { | 5266 | 2.38k | SCN_UNUSED(loc); | 5267 | 2.38k | return read_impl(range, specs, value); | 5268 | 2.38k | } |
Unexecuted instantiation: _ZN3scn2v34impl13string_readerIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEENSt3__112basic_stringIwNSH_11char_traitsIwEENSH_9allocatorIwEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSH_9add_constIT_E4typeEEEEEEESQ_RKNSA_12format_specsERT0_NSA_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl13string_readerIwE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEENSt3__112basic_stringIwNSF_11char_traitsIwEENSF_9allocatorIwEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSF_9add_constIT_E4typeEEEEEEESO_RKNS9_12format_specsERT0_NS9_10locale_refE _ZN3scn2v34impl13string_readerIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEENSt3__112basic_stringIwNSE_11char_traitsIwEENSE_9allocatorIwEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSE_9add_constIT_E4typeEEEEEEESN_RKNS0_6detail12format_specsERT0_NST_10locale_refE Line | Count | Source | 5265 | 224 | { | 5266 | 224 | SCN_UNUSED(loc); | 5267 | 224 | return read_impl(range, specs, value); | 5268 | 224 | } |
_ZN3scn2v34impl13string_readerIwE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKwSA_EENSt3__112basic_stringIwNSC_11char_traitsIwEENSC_9allocatorIwEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSC_9add_constIT_E4typeEEEEEEESL_RKNS0_6detail12format_specsERT0_NSR_10locale_refE Line | Count | Source | 5265 | 2.38k | { | 5266 | 2.38k | SCN_UNUSED(loc); | 5267 | 2.38k | return read_impl(range, specs, value); | 5268 | 2.38k | } |
Unexecuted instantiation: _ZN3scn2v34impl13string_readerIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEENSt3__117basic_string_viewIcNSH_11char_traitsIcEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSH_9add_constIT_E4typeEEEEEEESO_RKNSA_12format_specsERT0_NSA_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl13string_readerIwE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEENSt3__117basic_string_viewIcNSF_11char_traitsIcEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSF_9add_constIT_E4typeEEEEEEESM_RKNS9_12format_specsERT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl13string_readerIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEENSt3__117basic_string_viewIcNSE_11char_traitsIcEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSE_9add_constIT_E4typeEEEEEEESL_RKNS0_6detail12format_specsERT0_NSR_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl13string_readerIwE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKwSA_EENSt3__117basic_string_viewIcNSC_11char_traitsIcEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSC_9add_constIT_E4typeEEEEEEESJ_RKNS0_6detail12format_specsERT0_NSP_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl13string_readerIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEENSt3__117basic_string_viewIwNSH_11char_traitsIwEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSH_9add_constIT_E4typeEEEEEEESO_RKNSA_12format_specsERT0_NSA_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl13string_readerIwE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEENSt3__117basic_string_viewIwNSF_11char_traitsIwEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSF_9add_constIT_E4typeEEEEEEESM_RKNS9_12format_specsERT0_NS9_10locale_refE _ZN3scn2v34impl13string_readerIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEENSt3__117basic_string_viewIwNSE_11char_traitsIwEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSE_9add_constIT_E4typeEEEEEEESL_RKNS0_6detail12format_specsERT0_NSR_10locale_refE Line | Count | Source | 5265 | 224 | { | 5266 | 224 | SCN_UNUSED(loc); | 5267 | 224 | return read_impl(range, specs, value); | 5268 | 224 | } |
_ZN3scn2v34impl13string_readerIwE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKwSA_EENSt3__117basic_string_viewIwNSC_11char_traitsIwEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSC_9add_constIT_E4typeEEEEEEESJ_RKNS0_6detail12format_specsERT0_NSP_10locale_refE Line | Count | Source | 5265 | 2.38k | { | 5266 | 2.38k | SCN_UNUSED(loc); | 5267 | 2.38k | return read_impl(range, specs, value); | 5268 | 2.38k | } |
|
5269 | | |
5270 | | protected: |
5271 | | enum class reader_type { |
5272 | | word, |
5273 | | custom_word, |
5274 | | character, |
5275 | | character_set, |
5276 | | regex, |
5277 | | regex_escaped, |
5278 | | }; |
5279 | | |
5280 | | template <typename Range, typename Value> |
5281 | | auto read_impl(Range range, const detail::format_specs& specs, Value& value) |
5282 | | -> scan_expected<ranges::const_iterator_t<Range>> |
5283 | 22.8k | { |
5284 | 22.8k | SCN_CLANG_PUSH |
5285 | 22.8k | SCN_CLANG_IGNORE("-Wcovered-switch-default") |
5286 | | |
5287 | 22.8k | switch (m_type) { |
5288 | 2.84k | case reader_type::word: |
5289 | 2.84k | return word_reader_impl<SourceCharT>{}.read(range, value); |
5290 | | |
5291 | 522 | case reader_type::custom_word: |
5292 | 522 | return custom_word_reader_impl<SourceCharT>{}.read(range, specs, |
5293 | 522 | value); |
5294 | | |
5295 | 150 | case reader_type::character: |
5296 | 150 | return character_reader_impl<SourceCharT>{}.read(range, value); |
5297 | | |
5298 | 3.96k | case reader_type::character_set: |
5299 | 3.96k | return character_set_reader_impl<SourceCharT>{}.read( |
5300 | 3.96k | range, specs, value); |
5301 | | |
5302 | 0 | #if !SCN_DISABLE_REGEX |
5303 | 14.4k | case reader_type::regex: |
5304 | 14.4k | return regex_string_reader_impl<SourceCharT>{}.read( |
5305 | 14.4k | range, specs.charset_string<SourceCharT>(), |
5306 | 14.4k | specs.regexp_flags, value); |
5307 | | |
5308 | 960 | case reader_type::regex_escaped: |
5309 | 960 | return regex_string_reader_impl<SourceCharT>{}.read( |
5310 | 960 | range, |
5311 | 960 | get_unescaped_regex_pattern( |
5312 | 960 | specs.charset_string<SourceCharT>()), |
5313 | 960 | specs.regexp_flags, value); |
5314 | 0 | #endif |
5315 | | |
5316 | 0 | default: |
5317 | 0 | SCN_EXPECT(false); |
5318 | 22.8k | SCN_UNREACHABLE; |
5319 | 22.8k | } |
5320 | | |
5321 | 22.8k | SCN_CLANG_POP |
5322 | 22.8k | } Unexecuted instantiation: _ZN3scn2v34impl13string_readerIcE9read_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEENSt3__112basic_stringIcNSH_11char_traitsIcEENSH_9allocatorIcEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSH_9add_constIT_E4typeEEEEEEESQ_RKNSA_12format_specsERT0_ Unexecuted instantiation: _ZN3scn2v34impl13string_readerIcE9read_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEENSt3__112basic_stringIcNSF_11char_traitsIcEENSF_9allocatorIcEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSF_9add_constIT_E4typeEEEEEEESO_RKNS9_12format_specsERT0_ _ZN3scn2v34impl13string_readerIcE9read_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEENSt3__112basic_stringIcNSE_11char_traitsIcEENSE_9allocatorIcEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSE_9add_constIT_E4typeEEEEEEESN_RKNS0_6detail12format_specsERT0_ Line | Count | Source | 5283 | 606 | { | 5284 | 606 | SCN_CLANG_PUSH | 5285 | 606 | SCN_CLANG_IGNORE("-Wcovered-switch-default") | 5286 | | | 5287 | 606 | switch (m_type) { | 5288 | 238 | case reader_type::word: | 5289 | 238 | return word_reader_impl<SourceCharT>{}.read(range, value); | 5290 | | | 5291 | 60 | case reader_type::custom_word: | 5292 | 60 | return custom_word_reader_impl<SourceCharT>{}.read(range, specs, | 5293 | 60 | value); | 5294 | | | 5295 | 30 | case reader_type::character: | 5296 | 30 | return character_reader_impl<SourceCharT>{}.read(range, value); | 5297 | | | 5298 | 222 | case reader_type::character_set: | 5299 | 222 | return character_set_reader_impl<SourceCharT>{}.read( | 5300 | 222 | range, specs, value); | 5301 | | | 5302 | 0 | #if !SCN_DISABLE_REGEX | 5303 | 2 | case reader_type::regex: | 5304 | 2 | return regex_string_reader_impl<SourceCharT>{}.read( | 5305 | 2 | range, specs.charset_string<SourceCharT>(), | 5306 | 2 | specs.regexp_flags, value); | 5307 | | | 5308 | 54 | case reader_type::regex_escaped: | 5309 | 54 | return regex_string_reader_impl<SourceCharT>{}.read( | 5310 | 54 | range, | 5311 | 54 | get_unescaped_regex_pattern( | 5312 | 54 | specs.charset_string<SourceCharT>()), | 5313 | 54 | specs.regexp_flags, value); | 5314 | 0 | #endif | 5315 | | | 5316 | 0 | default: | 5317 | 0 | SCN_EXPECT(false); | 5318 | 606 | SCN_UNREACHABLE; | 5319 | 606 | } | 5320 | | | 5321 | 606 | SCN_CLANG_POP | 5322 | 606 | } |
_ZN3scn2v34impl13string_readerIcE9read_implINS0_6ranges6detail9subrange_8subrangeIPKcSA_EENSt3__112basic_stringIcNSC_11char_traitsIcEENSC_9allocatorIcEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSC_9add_constIT_E4typeEEEEEEESL_RKNS0_6detail12format_specsERT0_ Line | Count | Source | 5283 | 4.40k | { | 5284 | 4.40k | SCN_CLANG_PUSH | 5285 | 4.40k | SCN_CLANG_IGNORE("-Wcovered-switch-default") | 5286 | | | 5287 | 4.40k | switch (m_type) { | 5288 | 308 | case reader_type::word: | 5289 | 308 | return word_reader_impl<SourceCharT>{}.read(range, value); | 5290 | | | 5291 | 56 | case reader_type::custom_word: | 5292 | 56 | return custom_word_reader_impl<SourceCharT>{}.read(range, specs, | 5293 | 56 | value); | 5294 | | | 5295 | 0 | case reader_type::character: | 5296 | 0 | return character_reader_impl<SourceCharT>{}.read(range, value); | 5297 | | | 5298 | 866 | case reader_type::character_set: | 5299 | 866 | return character_set_reader_impl<SourceCharT>{}.read( | 5300 | 866 | range, specs, value); | 5301 | | | 5302 | 0 | #if !SCN_DISABLE_REGEX | 5303 | 2.97k | case reader_type::regex: | 5304 | 2.97k | return regex_string_reader_impl<SourceCharT>{}.read( | 5305 | 2.97k | range, specs.charset_string<SourceCharT>(), | 5306 | 2.97k | specs.regexp_flags, value); | 5307 | | | 5308 | 206 | case reader_type::regex_escaped: | 5309 | 206 | return regex_string_reader_impl<SourceCharT>{}.read( | 5310 | 206 | range, | 5311 | 206 | get_unescaped_regex_pattern( | 5312 | 206 | specs.charset_string<SourceCharT>()), | 5313 | 206 | specs.regexp_flags, value); | 5314 | 0 | #endif | 5315 | | | 5316 | 0 | default: | 5317 | 0 | SCN_EXPECT(false); | 5318 | 4.40k | SCN_UNREACHABLE; | 5319 | 4.40k | } | 5320 | | | 5321 | 4.40k | SCN_CLANG_POP | 5322 | 4.40k | } |
Unexecuted instantiation: _ZN3scn2v34impl13string_readerIcE9read_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEENSt3__112basic_stringIwNSH_11char_traitsIwEENSH_9allocatorIwEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSH_9add_constIT_E4typeEEEEEEESQ_RKNSA_12format_specsERT0_ Unexecuted instantiation: _ZN3scn2v34impl13string_readerIcE9read_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEENSt3__112basic_stringIwNSF_11char_traitsIwEENSF_9allocatorIwEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSF_9add_constIT_E4typeEEEEEEESO_RKNS9_12format_specsERT0_ _ZN3scn2v34impl13string_readerIcE9read_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEENSt3__112basic_stringIwNSE_11char_traitsIwEENSE_9allocatorIwEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSE_9add_constIT_E4typeEEEEEEESN_RKNS0_6detail12format_specsERT0_ Line | Count | Source | 5283 | 606 | { | 5284 | 606 | SCN_CLANG_PUSH | 5285 | 606 | SCN_CLANG_IGNORE("-Wcovered-switch-default") | 5286 | | | 5287 | 606 | switch (m_type) { | 5288 | 238 | case reader_type::word: | 5289 | 238 | return word_reader_impl<SourceCharT>{}.read(range, value); | 5290 | | | 5291 | 60 | case reader_type::custom_word: | 5292 | 60 | return custom_word_reader_impl<SourceCharT>{}.read(range, specs, | 5293 | 60 | value); | 5294 | | | 5295 | 30 | case reader_type::character: | 5296 | 30 | return character_reader_impl<SourceCharT>{}.read(range, value); | 5297 | | | 5298 | 222 | case reader_type::character_set: | 5299 | 222 | return character_set_reader_impl<SourceCharT>{}.read( | 5300 | 222 | range, specs, value); | 5301 | | | 5302 | 0 | #if !SCN_DISABLE_REGEX | 5303 | 2 | case reader_type::regex: | 5304 | 2 | return regex_string_reader_impl<SourceCharT>{}.read( | 5305 | 2 | range, specs.charset_string<SourceCharT>(), | 5306 | 2 | specs.regexp_flags, value); | 5307 | | | 5308 | 54 | case reader_type::regex_escaped: | 5309 | 54 | return regex_string_reader_impl<SourceCharT>{}.read( | 5310 | 54 | range, | 5311 | 54 | get_unescaped_regex_pattern( | 5312 | 54 | specs.charset_string<SourceCharT>()), | 5313 | 54 | specs.regexp_flags, value); | 5314 | 0 | #endif | 5315 | | | 5316 | 0 | default: | 5317 | 0 | SCN_EXPECT(false); | 5318 | 606 | SCN_UNREACHABLE; | 5319 | 606 | } | 5320 | | | 5321 | 606 | SCN_CLANG_POP | 5322 | 606 | } |
_ZN3scn2v34impl13string_readerIcE9read_implINS0_6ranges6detail9subrange_8subrangeIPKcSA_EENSt3__112basic_stringIwNSC_11char_traitsIwEENSC_9allocatorIwEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSC_9add_constIT_E4typeEEEEEEESL_RKNS0_6detail12format_specsERT0_ Line | Count | Source | 5283 | 4.40k | { | 5284 | 4.40k | SCN_CLANG_PUSH | 5285 | 4.40k | SCN_CLANG_IGNORE("-Wcovered-switch-default") | 5286 | | | 5287 | 4.40k | switch (m_type) { | 5288 | 308 | case reader_type::word: | 5289 | 308 | return word_reader_impl<SourceCharT>{}.read(range, value); | 5290 | | | 5291 | 56 | case reader_type::custom_word: | 5292 | 56 | return custom_word_reader_impl<SourceCharT>{}.read(range, specs, | 5293 | 56 | value); | 5294 | | | 5295 | 0 | case reader_type::character: | 5296 | 0 | return character_reader_impl<SourceCharT>{}.read(range, value); | 5297 | | | 5298 | 866 | case reader_type::character_set: | 5299 | 866 | return character_set_reader_impl<SourceCharT>{}.read( | 5300 | 866 | range, specs, value); | 5301 | | | 5302 | 0 | #if !SCN_DISABLE_REGEX | 5303 | 2.97k | case reader_type::regex: | 5304 | 2.97k | return regex_string_reader_impl<SourceCharT>{}.read( | 5305 | 2.97k | range, specs.charset_string<SourceCharT>(), | 5306 | 2.97k | specs.regexp_flags, value); | 5307 | | | 5308 | 206 | case reader_type::regex_escaped: | 5309 | 206 | return regex_string_reader_impl<SourceCharT>{}.read( | 5310 | 206 | range, | 5311 | 206 | get_unescaped_regex_pattern( | 5312 | 206 | specs.charset_string<SourceCharT>()), | 5313 | 206 | specs.regexp_flags, value); | 5314 | 0 | #endif | 5315 | | | 5316 | 0 | default: | 5317 | 0 | SCN_EXPECT(false); | 5318 | 4.40k | SCN_UNREACHABLE; | 5319 | 4.40k | } | 5320 | | | 5321 | 4.40k | SCN_CLANG_POP | 5322 | 4.40k | } |
Unexecuted instantiation: _ZN3scn2v34impl13string_readerIcE9read_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEENSt3__117basic_string_viewIcNSH_11char_traitsIcEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSH_9add_constIT_E4typeEEEEEEESO_RKNSA_12format_specsERT0_ Unexecuted instantiation: _ZN3scn2v34impl13string_readerIcE9read_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEENSt3__117basic_string_viewIcNSF_11char_traitsIcEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSF_9add_constIT_E4typeEEEEEEESM_RKNS9_12format_specsERT0_ _ZN3scn2v34impl13string_readerIcE9read_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEENSt3__117basic_string_viewIcNSE_11char_traitsIcEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSE_9add_constIT_E4typeEEEEEEESL_RKNS0_6detail12format_specsERT0_ Line | Count | Source | 5283 | 606 | { | 5284 | 606 | SCN_CLANG_PUSH | 5285 | 606 | SCN_CLANG_IGNORE("-Wcovered-switch-default") | 5286 | | | 5287 | 606 | switch (m_type) { | 5288 | 238 | case reader_type::word: | 5289 | 238 | return word_reader_impl<SourceCharT>{}.read(range, value); | 5290 | | | 5291 | 60 | case reader_type::custom_word: | 5292 | 60 | return custom_word_reader_impl<SourceCharT>{}.read(range, specs, | 5293 | 60 | value); | 5294 | | | 5295 | 30 | case reader_type::character: | 5296 | 30 | return character_reader_impl<SourceCharT>{}.read(range, value); | 5297 | | | 5298 | 222 | case reader_type::character_set: | 5299 | 222 | return character_set_reader_impl<SourceCharT>{}.read( | 5300 | 222 | range, specs, value); | 5301 | | | 5302 | 0 | #if !SCN_DISABLE_REGEX | 5303 | 2 | case reader_type::regex: | 5304 | 2 | return regex_string_reader_impl<SourceCharT>{}.read( | 5305 | 2 | range, specs.charset_string<SourceCharT>(), | 5306 | 2 | specs.regexp_flags, value); | 5307 | | | 5308 | 54 | case reader_type::regex_escaped: | 5309 | 54 | return regex_string_reader_impl<SourceCharT>{}.read( | 5310 | 54 | range, | 5311 | 54 | get_unescaped_regex_pattern( | 5312 | 54 | specs.charset_string<SourceCharT>()), | 5313 | 54 | specs.regexp_flags, value); | 5314 | 0 | #endif | 5315 | | | 5316 | 0 | default: | 5317 | 0 | SCN_EXPECT(false); | 5318 | 606 | SCN_UNREACHABLE; | 5319 | 606 | } | 5320 | | | 5321 | 606 | SCN_CLANG_POP | 5322 | 606 | } |
_ZN3scn2v34impl13string_readerIcE9read_implINS0_6ranges6detail9subrange_8subrangeIPKcSA_EENSt3__117basic_string_viewIcNSC_11char_traitsIcEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSC_9add_constIT_E4typeEEEEEEESJ_RKNS0_6detail12format_specsERT0_ Line | Count | Source | 5283 | 4.40k | { | 5284 | 4.40k | SCN_CLANG_PUSH | 5285 | 4.40k | SCN_CLANG_IGNORE("-Wcovered-switch-default") | 5286 | | | 5287 | 4.40k | switch (m_type) { | 5288 | 308 | case reader_type::word: | 5289 | 308 | return word_reader_impl<SourceCharT>{}.read(range, value); | 5290 | | | 5291 | 56 | case reader_type::custom_word: | 5292 | 56 | return custom_word_reader_impl<SourceCharT>{}.read(range, specs, | 5293 | 56 | value); | 5294 | | | 5295 | 0 | case reader_type::character: | 5296 | 0 | return character_reader_impl<SourceCharT>{}.read(range, value); | 5297 | | | 5298 | 866 | case reader_type::character_set: | 5299 | 866 | return character_set_reader_impl<SourceCharT>{}.read( | 5300 | 866 | range, specs, value); | 5301 | | | 5302 | 0 | #if !SCN_DISABLE_REGEX | 5303 | 2.97k | case reader_type::regex: | 5304 | 2.97k | return regex_string_reader_impl<SourceCharT>{}.read( | 5305 | 2.97k | range, specs.charset_string<SourceCharT>(), | 5306 | 2.97k | specs.regexp_flags, value); | 5307 | | | 5308 | 206 | case reader_type::regex_escaped: | 5309 | 206 | return regex_string_reader_impl<SourceCharT>{}.read( | 5310 | 206 | range, | 5311 | 206 | get_unescaped_regex_pattern( | 5312 | 206 | specs.charset_string<SourceCharT>()), | 5313 | 206 | specs.regexp_flags, value); | 5314 | 0 | #endif | 5315 | | | 5316 | 0 | default: | 5317 | 0 | SCN_EXPECT(false); | 5318 | 4.40k | SCN_UNREACHABLE; | 5319 | 4.40k | } | 5320 | | | 5321 | 4.40k | SCN_CLANG_POP | 5322 | 4.40k | } |
Unexecuted instantiation: _ZN3scn2v34impl13string_readerIcE9read_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEENSt3__117basic_string_viewIwNSH_11char_traitsIwEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSH_9add_constIT_E4typeEEEEEEESO_RKNSA_12format_specsERT0_ Unexecuted instantiation: _ZN3scn2v34impl13string_readerIcE9read_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEENSt3__117basic_string_viewIwNSF_11char_traitsIwEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSF_9add_constIT_E4typeEEEEEEESM_RKNS9_12format_specsERT0_ Unexecuted instantiation: _ZN3scn2v34impl13string_readerIcE9read_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEENSt3__117basic_string_viewIwNSE_11char_traitsIwEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSE_9add_constIT_E4typeEEEEEEESL_RKNS0_6detail12format_specsERT0_ Unexecuted instantiation: _ZN3scn2v34impl13string_readerIcE9read_implINS0_6ranges6detail9subrange_8subrangeIPKcSA_EENSt3__117basic_string_viewIwNSC_11char_traitsIwEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSC_9add_constIT_E4typeEEEEEEESJ_RKNS0_6detail12format_specsERT0_ Unexecuted instantiation: _ZN3scn2v34impl13string_readerIwE9read_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEENSt3__112basic_stringIcNSH_11char_traitsIcEENSH_9allocatorIcEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSH_9add_constIT_E4typeEEEEEEESQ_RKNSA_12format_specsERT0_ Unexecuted instantiation: _ZN3scn2v34impl13string_readerIwE9read_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEENSt3__112basic_stringIcNSF_11char_traitsIcEENSF_9allocatorIcEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSF_9add_constIT_E4typeEEEEEEESO_RKNS9_12format_specsERT0_ _ZN3scn2v34impl13string_readerIwE9read_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEENSt3__112basic_stringIcNSE_11char_traitsIcEENSE_9allocatorIcEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSE_9add_constIT_E4typeEEEEEEESN_RKNS0_6detail12format_specsERT0_ Line | Count | Source | 5283 | 224 | { | 5284 | 224 | SCN_CLANG_PUSH | 5285 | 224 | SCN_CLANG_IGNORE("-Wcovered-switch-default") | 5286 | | | 5287 | 224 | switch (m_type) { | 5288 | 92 | case reader_type::word: | 5289 | 92 | return word_reader_impl<SourceCharT>{}.read(range, value); | 5290 | | | 5291 | 22 | case reader_type::custom_word: | 5292 | 22 | return custom_word_reader_impl<SourceCharT>{}.read(range, specs, | 5293 | 22 | value); | 5294 | | | 5295 | 20 | case reader_type::character: | 5296 | 20 | return character_reader_impl<SourceCharT>{}.read(range, value); | 5297 | | | 5298 | 86 | case reader_type::character_set: | 5299 | 86 | return character_set_reader_impl<SourceCharT>{}.read( | 5300 | 86 | range, specs, value); | 5301 | | | 5302 | 0 | #if !SCN_DISABLE_REGEX | 5303 | 2 | case reader_type::regex: | 5304 | 2 | return regex_string_reader_impl<SourceCharT>{}.read( | 5305 | 2 | range, specs.charset_string<SourceCharT>(), | 5306 | 2 | specs.regexp_flags, value); | 5307 | | | 5308 | 2 | case reader_type::regex_escaped: | 5309 | 2 | return regex_string_reader_impl<SourceCharT>{}.read( | 5310 | 2 | range, | 5311 | 2 | get_unescaped_regex_pattern( | 5312 | 2 | specs.charset_string<SourceCharT>()), | 5313 | 2 | specs.regexp_flags, value); | 5314 | 0 | #endif | 5315 | | | 5316 | 0 | default: | 5317 | 0 | SCN_EXPECT(false); | 5318 | 224 | SCN_UNREACHABLE; | 5319 | 224 | } | 5320 | | | 5321 | 224 | SCN_CLANG_POP | 5322 | 224 | } |
_ZN3scn2v34impl13string_readerIwE9read_implINS0_6ranges6detail9subrange_8subrangeIPKwSA_EENSt3__112basic_stringIcNSC_11char_traitsIcEENSC_9allocatorIcEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSC_9add_constIT_E4typeEEEEEEESL_RKNS0_6detail12format_specsERT0_ Line | Count | Source | 5283 | 2.38k | { | 5284 | 2.38k | SCN_CLANG_PUSH | 5285 | 2.38k | SCN_CLANG_IGNORE("-Wcovered-switch-default") | 5286 | | | 5287 | 2.38k | switch (m_type) { | 5288 | 310 | case reader_type::word: | 5289 | 310 | return word_reader_impl<SourceCharT>{}.read(range, value); | 5290 | | | 5291 | 36 | case reader_type::custom_word: | 5292 | 36 | return custom_word_reader_impl<SourceCharT>{}.read(range, specs, | 5293 | 36 | value); | 5294 | | | 5295 | 0 | case reader_type::character: | 5296 | 0 | return character_reader_impl<SourceCharT>{}.read(range, value); | 5297 | | | 5298 | 146 | case reader_type::character_set: | 5299 | 146 | return character_set_reader_impl<SourceCharT>{}.read( | 5300 | 146 | range, specs, value); | 5301 | | | 5302 | 0 | #if !SCN_DISABLE_REGEX | 5303 | 1.83k | case reader_type::regex: | 5304 | 1.83k | return regex_string_reader_impl<SourceCharT>{}.read( | 5305 | 1.83k | range, specs.charset_string<SourceCharT>(), | 5306 | 1.83k | specs.regexp_flags, value); | 5307 | | | 5308 | 58 | case reader_type::regex_escaped: | 5309 | 58 | return regex_string_reader_impl<SourceCharT>{}.read( | 5310 | 58 | range, | 5311 | 58 | get_unescaped_regex_pattern( | 5312 | 58 | specs.charset_string<SourceCharT>()), | 5313 | 58 | specs.regexp_flags, value); | 5314 | 0 | #endif | 5315 | | | 5316 | 0 | default: | 5317 | 0 | SCN_EXPECT(false); | 5318 | 2.38k | SCN_UNREACHABLE; | 5319 | 2.38k | } | 5320 | | | 5321 | 2.38k | SCN_CLANG_POP | 5322 | 2.38k | } |
Unexecuted instantiation: _ZN3scn2v34impl13string_readerIwE9read_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEENSt3__112basic_stringIwNSH_11char_traitsIwEENSH_9allocatorIwEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSH_9add_constIT_E4typeEEEEEEESQ_RKNSA_12format_specsERT0_ Unexecuted instantiation: _ZN3scn2v34impl13string_readerIwE9read_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEENSt3__112basic_stringIwNSF_11char_traitsIwEENSF_9allocatorIwEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSF_9add_constIT_E4typeEEEEEEESO_RKNS9_12format_specsERT0_ _ZN3scn2v34impl13string_readerIwE9read_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEENSt3__112basic_stringIwNSE_11char_traitsIwEENSE_9allocatorIwEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSE_9add_constIT_E4typeEEEEEEESN_RKNS0_6detail12format_specsERT0_ Line | Count | Source | 5283 | 224 | { | 5284 | 224 | SCN_CLANG_PUSH | 5285 | 224 | SCN_CLANG_IGNORE("-Wcovered-switch-default") | 5286 | | | 5287 | 224 | switch (m_type) { | 5288 | 92 | case reader_type::word: | 5289 | 92 | return word_reader_impl<SourceCharT>{}.read(range, value); | 5290 | | | 5291 | 22 | case reader_type::custom_word: | 5292 | 22 | return custom_word_reader_impl<SourceCharT>{}.read(range, specs, | 5293 | 22 | value); | 5294 | | | 5295 | 20 | case reader_type::character: | 5296 | 20 | return character_reader_impl<SourceCharT>{}.read(range, value); | 5297 | | | 5298 | 86 | case reader_type::character_set: | 5299 | 86 | return character_set_reader_impl<SourceCharT>{}.read( | 5300 | 86 | range, specs, value); | 5301 | | | 5302 | 0 | #if !SCN_DISABLE_REGEX | 5303 | 2 | case reader_type::regex: | 5304 | 2 | return regex_string_reader_impl<SourceCharT>{}.read( | 5305 | 2 | range, specs.charset_string<SourceCharT>(), | 5306 | 2 | specs.regexp_flags, value); | 5307 | | | 5308 | 2 | case reader_type::regex_escaped: | 5309 | 2 | return regex_string_reader_impl<SourceCharT>{}.read( | 5310 | 2 | range, | 5311 | 2 | get_unescaped_regex_pattern( | 5312 | 2 | specs.charset_string<SourceCharT>()), | 5313 | 2 | specs.regexp_flags, value); | 5314 | 0 | #endif | 5315 | | | 5316 | 0 | default: | 5317 | 0 | SCN_EXPECT(false); | 5318 | 224 | SCN_UNREACHABLE; | 5319 | 224 | } | 5320 | | | 5321 | 224 | SCN_CLANG_POP | 5322 | 224 | } |
_ZN3scn2v34impl13string_readerIwE9read_implINS0_6ranges6detail9subrange_8subrangeIPKwSA_EENSt3__112basic_stringIwNSC_11char_traitsIwEENSC_9allocatorIwEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSC_9add_constIT_E4typeEEEEEEESL_RKNS0_6detail12format_specsERT0_ Line | Count | Source | 5283 | 2.38k | { | 5284 | 2.38k | SCN_CLANG_PUSH | 5285 | 2.38k | SCN_CLANG_IGNORE("-Wcovered-switch-default") | 5286 | | | 5287 | 2.38k | switch (m_type) { | 5288 | 310 | case reader_type::word: | 5289 | 310 | return word_reader_impl<SourceCharT>{}.read(range, value); | 5290 | | | 5291 | 36 | case reader_type::custom_word: | 5292 | 36 | return custom_word_reader_impl<SourceCharT>{}.read(range, specs, | 5293 | 36 | value); | 5294 | | | 5295 | 0 | case reader_type::character: | 5296 | 0 | return character_reader_impl<SourceCharT>{}.read(range, value); | 5297 | | | 5298 | 146 | case reader_type::character_set: | 5299 | 146 | return character_set_reader_impl<SourceCharT>{}.read( | 5300 | 146 | range, specs, value); | 5301 | | | 5302 | 0 | #if !SCN_DISABLE_REGEX | 5303 | 1.83k | case reader_type::regex: | 5304 | 1.83k | return regex_string_reader_impl<SourceCharT>{}.read( | 5305 | 1.83k | range, specs.charset_string<SourceCharT>(), | 5306 | 1.83k | specs.regexp_flags, value); | 5307 | | | 5308 | 58 | case reader_type::regex_escaped: | 5309 | 58 | return regex_string_reader_impl<SourceCharT>{}.read( | 5310 | 58 | range, | 5311 | 58 | get_unescaped_regex_pattern( | 5312 | 58 | specs.charset_string<SourceCharT>()), | 5313 | 58 | specs.regexp_flags, value); | 5314 | 0 | #endif | 5315 | | | 5316 | 0 | default: | 5317 | 0 | SCN_EXPECT(false); | 5318 | 2.38k | SCN_UNREACHABLE; | 5319 | 2.38k | } | 5320 | | | 5321 | 2.38k | SCN_CLANG_POP | 5322 | 2.38k | } |
Unexecuted instantiation: _ZN3scn2v34impl13string_readerIwE9read_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEENSt3__117basic_string_viewIcNSH_11char_traitsIcEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSH_9add_constIT_E4typeEEEEEEESO_RKNSA_12format_specsERT0_ Unexecuted instantiation: _ZN3scn2v34impl13string_readerIwE9read_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEENSt3__117basic_string_viewIcNSF_11char_traitsIcEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSF_9add_constIT_E4typeEEEEEEESM_RKNS9_12format_specsERT0_ Unexecuted instantiation: _ZN3scn2v34impl13string_readerIwE9read_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEENSt3__117basic_string_viewIcNSE_11char_traitsIcEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSE_9add_constIT_E4typeEEEEEEESL_RKNS0_6detail12format_specsERT0_ Unexecuted instantiation: _ZN3scn2v34impl13string_readerIwE9read_implINS0_6ranges6detail9subrange_8subrangeIPKwSA_EENSt3__117basic_string_viewIcNSC_11char_traitsIcEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSC_9add_constIT_E4typeEEEEEEESJ_RKNS0_6detail12format_specsERT0_ Unexecuted instantiation: _ZN3scn2v34impl13string_readerIwE9read_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEENSt3__117basic_string_viewIwNSH_11char_traitsIwEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSH_9add_constIT_E4typeEEEEEEESO_RKNSA_12format_specsERT0_ Unexecuted instantiation: _ZN3scn2v34impl13string_readerIwE9read_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEENSt3__117basic_string_viewIwNSF_11char_traitsIwEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSF_9add_constIT_E4typeEEEEEEESM_RKNS9_12format_specsERT0_ _ZN3scn2v34impl13string_readerIwE9read_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEENSt3__117basic_string_viewIwNSE_11char_traitsIwEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSE_9add_constIT_E4typeEEEEEEESL_RKNS0_6detail12format_specsERT0_ Line | Count | Source | 5283 | 224 | { | 5284 | 224 | SCN_CLANG_PUSH | 5285 | 224 | SCN_CLANG_IGNORE("-Wcovered-switch-default") | 5286 | | | 5287 | 224 | switch (m_type) { | 5288 | 92 | case reader_type::word: | 5289 | 92 | return word_reader_impl<SourceCharT>{}.read(range, value); | 5290 | | | 5291 | 22 | case reader_type::custom_word: | 5292 | 22 | return custom_word_reader_impl<SourceCharT>{}.read(range, specs, | 5293 | 22 | value); | 5294 | | | 5295 | 20 | case reader_type::character: | 5296 | 20 | return character_reader_impl<SourceCharT>{}.read(range, value); | 5297 | | | 5298 | 86 | case reader_type::character_set: | 5299 | 86 | return character_set_reader_impl<SourceCharT>{}.read( | 5300 | 86 | range, specs, value); | 5301 | | | 5302 | 0 | #if !SCN_DISABLE_REGEX | 5303 | 2 | case reader_type::regex: | 5304 | 2 | return regex_string_reader_impl<SourceCharT>{}.read( | 5305 | 2 | range, specs.charset_string<SourceCharT>(), | 5306 | 2 | specs.regexp_flags, value); | 5307 | | | 5308 | 2 | case reader_type::regex_escaped: | 5309 | 2 | return regex_string_reader_impl<SourceCharT>{}.read( | 5310 | 2 | range, | 5311 | 2 | get_unescaped_regex_pattern( | 5312 | 2 | specs.charset_string<SourceCharT>()), | 5313 | 2 | specs.regexp_flags, value); | 5314 | 0 | #endif | 5315 | | | 5316 | 0 | default: | 5317 | 0 | SCN_EXPECT(false); | 5318 | 224 | SCN_UNREACHABLE; | 5319 | 224 | } | 5320 | | | 5321 | 224 | SCN_CLANG_POP | 5322 | 224 | } |
_ZN3scn2v34impl13string_readerIwE9read_implINS0_6ranges6detail9subrange_8subrangeIPKwSA_EENSt3__117basic_string_viewIwNSC_11char_traitsIwEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSC_9add_constIT_E4typeEEEEEEESJ_RKNS0_6detail12format_specsERT0_ Line | Count | Source | 5283 | 2.38k | { | 5284 | 2.38k | SCN_CLANG_PUSH | 5285 | 2.38k | SCN_CLANG_IGNORE("-Wcovered-switch-default") | 5286 | | | 5287 | 2.38k | switch (m_type) { | 5288 | 310 | case reader_type::word: | 5289 | 310 | return word_reader_impl<SourceCharT>{}.read(range, value); | 5290 | | | 5291 | 36 | case reader_type::custom_word: | 5292 | 36 | return custom_word_reader_impl<SourceCharT>{}.read(range, specs, | 5293 | 36 | value); | 5294 | | | 5295 | 0 | case reader_type::character: | 5296 | 0 | return character_reader_impl<SourceCharT>{}.read(range, value); | 5297 | | | 5298 | 146 | case reader_type::character_set: | 5299 | 146 | return character_set_reader_impl<SourceCharT>{}.read( | 5300 | 146 | range, specs, value); | 5301 | | | 5302 | 0 | #if !SCN_DISABLE_REGEX | 5303 | 1.83k | case reader_type::regex: | 5304 | 1.83k | return regex_string_reader_impl<SourceCharT>{}.read( | 5305 | 1.83k | range, specs.charset_string<SourceCharT>(), | 5306 | 1.83k | specs.regexp_flags, value); | 5307 | | | 5308 | 58 | case reader_type::regex_escaped: | 5309 | 58 | return regex_string_reader_impl<SourceCharT>{}.read( | 5310 | 58 | range, | 5311 | 58 | get_unescaped_regex_pattern( | 5312 | 58 | specs.charset_string<SourceCharT>()), | 5313 | 58 | specs.regexp_flags, value); | 5314 | 0 | #endif | 5315 | | | 5316 | 0 | default: | 5317 | 0 | SCN_EXPECT(false); | 5318 | 2.38k | SCN_UNREACHABLE; | 5319 | 2.38k | } | 5320 | | | 5321 | 2.38k | SCN_CLANG_POP | 5322 | 2.38k | } |
|
5323 | | |
5324 | | reader_type m_type{reader_type::word}; |
5325 | | }; |
5326 | | |
5327 | | template <typename SourceCharT> |
5328 | | class reader_impl_for_string : public string_reader<SourceCharT> {}; |
5329 | | |
5330 | | ///////////////////////////////////////////////////////////////// |
5331 | | // Boolean reader |
5332 | | ///////////////////////////////////////////////////////////////// |
5333 | | |
5334 | | struct bool_reader_base { |
5335 | | enum options_type { allow_text = 1, allow_numeric = 2 }; |
5336 | | |
5337 | 1.11k | constexpr bool_reader_base() = default; |
5338 | 1.28k | constexpr bool_reader_base(unsigned opt) : m_options(opt) {} |
5339 | | |
5340 | | template <typename Range> |
5341 | | auto read_classic(Range range, bool& value) const |
5342 | | -> scan_expected<ranges::const_iterator_t<Range>> |
5343 | 2.31k | { |
5344 | 2.31k | scan_error err{scan_error::invalid_scanned_value, |
5345 | 2.31k | "Failed to read boolean"}; |
5346 | | |
5347 | 2.31k | if (m_options & allow_numeric) { |
5348 | 2.05k | if (auto r = read_numeric(range, value)) { |
5349 | 0 | return *r; |
5350 | 0 | } |
5351 | 2.05k | else { |
5352 | 2.05k | err = r.error(); |
5353 | 2.05k | } |
5354 | 2.05k | } |
5355 | | |
5356 | 2.31k | if (m_options & allow_text) { |
5357 | 2.23k | if (auto r = read_textual_classic(range, value)) { |
5358 | 0 | return *r; |
5359 | 0 | } |
5360 | 2.23k | else { |
5361 | 2.23k | err = r.error(); |
5362 | 2.23k | } |
5363 | 2.23k | } |
5364 | | |
5365 | 2.31k | return unexpected(err); |
5366 | 2.31k | } _ZNK3scn2v34impl16bool_reader_base12read_classicINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESE_Rb Line | Count | Source | 5343 | 1.02k | { | 5344 | 1.02k | scan_error err{scan_error::invalid_scanned_value, | 5345 | 1.02k | "Failed to read boolean"}; | 5346 | | | 5347 | 1.02k | if (m_options & allow_numeric) { | 5348 | 898 | if (auto r = read_numeric(range, value)) { | 5349 | 0 | return *r; | 5350 | 0 | } | 5351 | 898 | else { | 5352 | 898 | err = r.error(); | 5353 | 898 | } | 5354 | 898 | } | 5355 | | | 5356 | 1.02k | if (m_options & allow_text) { | 5357 | 1.00k | if (auto r = read_textual_classic(range, value)) { | 5358 | 0 | return *r; | 5359 | 0 | } | 5360 | 1.00k | else { | 5361 | 1.00k | err = r.error(); | 5362 | 1.00k | } | 5363 | 1.00k | } | 5364 | | | 5365 | 1.02k | return unexpected(err); | 5366 | 1.02k | } |
Unexecuted instantiation: _ZNK3scn2v34impl16bool_reader_base12read_classicINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS4_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_Rb _ZNK3scn2v34impl16bool_reader_base12read_classicINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_Rb Line | Count | Source | 5343 | 322 | { | 5344 | 322 | scan_error err{scan_error::invalid_scanned_value, | 5345 | 322 | "Failed to read boolean"}; | 5346 | | | 5347 | 322 | if (m_options & allow_numeric) { | 5348 | 256 | if (auto r = read_numeric(range, value)) { | 5349 | 0 | return *r; | 5350 | 0 | } | 5351 | 256 | else { | 5352 | 256 | err = r.error(); | 5353 | 256 | } | 5354 | 256 | } | 5355 | | | 5356 | 322 | if (m_options & allow_text) { | 5357 | 298 | if (auto r = read_textual_classic(range, value)) { | 5358 | 0 | return *r; | 5359 | 0 | } | 5360 | 298 | else { | 5361 | 298 | err = r.error(); | 5362 | 298 | } | 5363 | 298 | } | 5364 | | | 5365 | 322 | return unexpected(err); | 5366 | 322 | } |
Unexecuted instantiation: _ZNK3scn2v34impl16bool_reader_base12read_classicINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_Rb _ZNK3scn2v34impl16bool_reader_base12read_classicINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESE_Rb Line | Count | Source | 5343 | 840 | { | 5344 | 840 | scan_error err{scan_error::invalid_scanned_value, | 5345 | 840 | "Failed to read boolean"}; | 5346 | | | 5347 | 840 | if (m_options & allow_numeric) { | 5348 | 792 | if (auto r = read_numeric(range, value)) { | 5349 | 0 | return *r; | 5350 | 0 | } | 5351 | 792 | else { | 5352 | 792 | err = r.error(); | 5353 | 792 | } | 5354 | 792 | } | 5355 | | | 5356 | 840 | if (m_options & allow_text) { | 5357 | 820 | if (auto r = read_textual_classic(range, value)) { | 5358 | 0 | return *r; | 5359 | 0 | } | 5360 | 820 | else { | 5361 | 820 | err = r.error(); | 5362 | 820 | } | 5363 | 820 | } | 5364 | | | 5365 | 840 | return unexpected(err); | 5366 | 840 | } |
_ZNK3scn2v34impl16bool_reader_base12read_classicINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_Rb Line | Count | Source | 5343 | 134 | { | 5344 | 134 | scan_error err{scan_error::invalid_scanned_value, | 5345 | 134 | "Failed to read boolean"}; | 5346 | | | 5347 | 134 | if (m_options & allow_numeric) { | 5348 | 108 | if (auto r = read_numeric(range, value)) { | 5349 | 0 | return *r; | 5350 | 0 | } | 5351 | 108 | else { | 5352 | 108 | err = r.error(); | 5353 | 108 | } | 5354 | 108 | } | 5355 | | | 5356 | 134 | if (m_options & allow_text) { | 5357 | 114 | if (auto r = read_textual_classic(range, value)) { | 5358 | 0 | return *r; | 5359 | 0 | } | 5360 | 114 | else { | 5361 | 114 | err = r.error(); | 5362 | 114 | } | 5363 | 114 | } | 5364 | | | 5365 | 134 | return unexpected(err); | 5366 | 134 | } |
Unexecuted instantiation: _ZNK3scn2v34impl16bool_reader_base12read_classicINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS4_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_Rb Unexecuted instantiation: _ZNK3scn2v34impl16bool_reader_base12read_classicINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_Rb |
5367 | | |
5368 | | protected: |
5369 | | template <typename Range> |
5370 | | auto read_numeric(Range range, bool& value) const |
5371 | | -> scan_expected<ranges::const_iterator_t<Range>> |
5372 | 2.11k | { |
5373 | 2.11k | if (auto r = read_matching_code_unit(range, '0')) { |
5374 | 0 | value = false; |
5375 | 0 | return *r; |
5376 | 0 | } |
5377 | 2.11k | if (auto r = read_matching_code_unit(range, '1')) { |
5378 | 0 | value = true; |
5379 | 0 | return *r; |
5380 | 0 | } |
5381 | | |
5382 | 2.11k | return unexpected_scan_error( |
5383 | 2.11k | scan_error::invalid_scanned_value, |
5384 | 2.11k | "Failed to read numeric boolean value: No match"); |
5385 | 2.11k | } _ZNK3scn2v34impl16bool_reader_base12read_numericINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESE_Rb Line | Count | Source | 5372 | 916 | { | 5373 | 916 | if (auto r = read_matching_code_unit(range, '0')) { | 5374 | 0 | value = false; | 5375 | 0 | return *r; | 5376 | 0 | } | 5377 | 916 | if (auto r = read_matching_code_unit(range, '1')) { | 5378 | 0 | value = true; | 5379 | 0 | return *r; | 5380 | 0 | } | 5381 | | | 5382 | 916 | return unexpected_scan_error( | 5383 | 916 | scan_error::invalid_scanned_value, | 5384 | 916 | "Failed to read numeric boolean value: No match"); | 5385 | 916 | } |
Unexecuted instantiation: _ZNK3scn2v34impl16bool_reader_base12read_numericINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS4_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_Rb _ZNK3scn2v34impl16bool_reader_base12read_numericINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_Rb Line | Count | Source | 5372 | 266 | { | 5373 | 266 | if (auto r = read_matching_code_unit(range, '0')) { | 5374 | 0 | value = false; | 5375 | 0 | return *r; | 5376 | 0 | } | 5377 | 266 | if (auto r = read_matching_code_unit(range, '1')) { | 5378 | 0 | value = true; | 5379 | 0 | return *r; | 5380 | 0 | } | 5381 | | | 5382 | 266 | return unexpected_scan_error( | 5383 | 266 | scan_error::invalid_scanned_value, | 5384 | 266 | "Failed to read numeric boolean value: No match"); | 5385 | 266 | } |
Unexecuted instantiation: _ZNK3scn2v34impl16bool_reader_base12read_numericINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_Rb _ZNK3scn2v34impl16bool_reader_base12read_numericINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESE_Rb Line | Count | Source | 5372 | 810 | { | 5373 | 810 | if (auto r = read_matching_code_unit(range, '0')) { | 5374 | 0 | value = false; | 5375 | 0 | return *r; | 5376 | 0 | } | 5377 | 810 | if (auto r = read_matching_code_unit(range, '1')) { | 5378 | 0 | value = true; | 5379 | 0 | return *r; | 5380 | 0 | } | 5381 | | | 5382 | 810 | return unexpected_scan_error( | 5383 | 810 | scan_error::invalid_scanned_value, | 5384 | 810 | "Failed to read numeric boolean value: No match"); | 5385 | 810 | } |
_ZNK3scn2v34impl16bool_reader_base12read_numericINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_Rb Line | Count | Source | 5372 | 126 | { | 5373 | 126 | if (auto r = read_matching_code_unit(range, '0')) { | 5374 | 0 | value = false; | 5375 | 0 | return *r; | 5376 | 0 | } | 5377 | 126 | if (auto r = read_matching_code_unit(range, '1')) { | 5378 | 0 | value = true; | 5379 | 0 | return *r; | 5380 | 0 | } | 5381 | | | 5382 | 126 | return unexpected_scan_error( | 5383 | 126 | scan_error::invalid_scanned_value, | 5384 | 126 | "Failed to read numeric boolean value: No match"); | 5385 | 126 | } |
Unexecuted instantiation: _ZNK3scn2v34impl16bool_reader_base12read_numericINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS4_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_Rb Unexecuted instantiation: _ZNK3scn2v34impl16bool_reader_base12read_numericINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_Rb |
5386 | | |
5387 | | template <typename Range> |
5388 | | auto read_textual_classic(Range range, bool& value) const |
5389 | | -> scan_expected<ranges::const_iterator_t<Range>> |
5390 | 2.23k | { |
5391 | 2.23k | if (auto r = read_matching_string_classic(range, "true")) { |
5392 | 0 | value = true; |
5393 | 0 | return *r; |
5394 | 0 | } |
5395 | 2.23k | if (auto r = read_matching_string_classic(range, "false")) { |
5396 | 0 | value = false; |
5397 | 0 | return *r; |
5398 | 0 | } |
5399 | | |
5400 | 2.23k | return unexpected_scan_error( |
5401 | 2.23k | scan_error::invalid_scanned_value, |
5402 | 2.23k | "Failed to read textual boolean value: No match"); |
5403 | 2.23k | } _ZNK3scn2v34impl16bool_reader_base20read_textual_classicINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESE_Rb Line | Count | Source | 5390 | 1.00k | { | 5391 | 1.00k | if (auto r = read_matching_string_classic(range, "true")) { | 5392 | 0 | value = true; | 5393 | 0 | return *r; | 5394 | 0 | } | 5395 | 1.00k | if (auto r = read_matching_string_classic(range, "false")) { | 5396 | 0 | value = false; | 5397 | 0 | return *r; | 5398 | 0 | } | 5399 | | | 5400 | 1.00k | return unexpected_scan_error( | 5401 | 1.00k | scan_error::invalid_scanned_value, | 5402 | 1.00k | "Failed to read textual boolean value: No match"); | 5403 | 1.00k | } |
Unexecuted instantiation: _ZNK3scn2v34impl16bool_reader_base20read_textual_classicINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS4_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_Rb _ZNK3scn2v34impl16bool_reader_base20read_textual_classicINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_Rb Line | Count | Source | 5390 | 298 | { | 5391 | 298 | if (auto r = read_matching_string_classic(range, "true")) { | 5392 | 0 | value = true; | 5393 | 0 | return *r; | 5394 | 0 | } | 5395 | 298 | if (auto r = read_matching_string_classic(range, "false")) { | 5396 | 0 | value = false; | 5397 | 0 | return *r; | 5398 | 0 | } | 5399 | | | 5400 | 298 | return unexpected_scan_error( | 5401 | 298 | scan_error::invalid_scanned_value, | 5402 | 298 | "Failed to read textual boolean value: No match"); | 5403 | 298 | } |
Unexecuted instantiation: _ZNK3scn2v34impl16bool_reader_base20read_textual_classicINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_Rb _ZNK3scn2v34impl16bool_reader_base20read_textual_classicINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESE_Rb Line | Count | Source | 5390 | 820 | { | 5391 | 820 | if (auto r = read_matching_string_classic(range, "true")) { | 5392 | 0 | value = true; | 5393 | 0 | return *r; | 5394 | 0 | } | 5395 | 820 | if (auto r = read_matching_string_classic(range, "false")) { | 5396 | 0 | value = false; | 5397 | 0 | return *r; | 5398 | 0 | } | 5399 | | | 5400 | 820 | return unexpected_scan_error( | 5401 | 820 | scan_error::invalid_scanned_value, | 5402 | 820 | "Failed to read textual boolean value: No match"); | 5403 | 820 | } |
_ZNK3scn2v34impl16bool_reader_base20read_textual_classicINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_Rb Line | Count | Source | 5390 | 114 | { | 5391 | 114 | if (auto r = read_matching_string_classic(range, "true")) { | 5392 | 0 | value = true; | 5393 | 0 | return *r; | 5394 | 0 | } | 5395 | 114 | if (auto r = read_matching_string_classic(range, "false")) { | 5396 | 0 | value = false; | 5397 | 0 | return *r; | 5398 | 0 | } | 5399 | | | 5400 | 114 | return unexpected_scan_error( | 5401 | 114 | scan_error::invalid_scanned_value, | 5402 | 114 | "Failed to read textual boolean value: No match"); | 5403 | 114 | } |
Unexecuted instantiation: _ZNK3scn2v34impl16bool_reader_base20read_textual_classicINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS4_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_Rb Unexecuted instantiation: _ZNK3scn2v34impl16bool_reader_base20read_textual_classicINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_Rb |
5404 | | |
5405 | | unsigned m_options{allow_text | allow_numeric}; |
5406 | | }; |
5407 | | |
5408 | | template <typename CharT> |
5409 | | struct bool_reader : public bool_reader_base { |
5410 | | using bool_reader_base::bool_reader_base; |
5411 | | |
5412 | | #if !SCN_DISABLE_LOCALE |
5413 | | template <typename Range> |
5414 | | auto read_localized(Range range, detail::locale_ref loc, bool& value) const |
5415 | | -> scan_expected<ranges::const_iterator_t<Range>> |
5416 | 76 | { |
5417 | 76 | scan_error err{scan_error::invalid_scanned_value, |
5418 | 76 | "Failed to read boolean"}; |
5419 | | |
5420 | 76 | if (m_options & allow_numeric) { |
5421 | 64 | if (auto r = read_numeric(range, value)) { |
5422 | 0 | return *r; |
5423 | 0 | } |
5424 | 64 | else { |
5425 | 64 | err = r.error(); |
5426 | 64 | } |
5427 | 64 | } |
5428 | | |
5429 | 76 | if (m_options & allow_text) { |
5430 | 38 | auto stdloc = loc.get<std::locale>(); |
5431 | 38 | const auto& numpunct = |
5432 | 38 | get_or_add_facet<std::numpunct<CharT>>(stdloc); |
5433 | 38 | const auto truename = numpunct.truename(); |
5434 | 38 | const auto falsename = numpunct.falsename(); |
5435 | | |
5436 | 38 | if (auto r = |
5437 | 38 | read_textual_custom(range, value, truename, falsename)) { |
5438 | 0 | return *r; |
5439 | 0 | } |
5440 | 38 | else { |
5441 | 38 | err = r.error(); |
5442 | 38 | } |
5443 | 38 | } |
5444 | | |
5445 | 76 | return unexpected(err); |
5446 | 76 | } _ZNK3scn2v34impl11bool_readerIcE14read_localizedINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_NS0_6detail10locale_refERb Line | Count | Source | 5416 | 12 | { | 5417 | 12 | scan_error err{scan_error::invalid_scanned_value, | 5418 | 12 | "Failed to read boolean"}; | 5419 | | | 5420 | 12 | if (m_options & allow_numeric) { | 5421 | 10 | if (auto r = read_numeric(range, value)) { | 5422 | 0 | return *r; | 5423 | 0 | } | 5424 | 10 | else { | 5425 | 10 | err = r.error(); | 5426 | 10 | } | 5427 | 10 | } | 5428 | | | 5429 | 12 | if (m_options & allow_text) { | 5430 | 10 | auto stdloc = loc.get<std::locale>(); | 5431 | 10 | const auto& numpunct = | 5432 | 10 | get_or_add_facet<std::numpunct<CharT>>(stdloc); | 5433 | 10 | const auto truename = numpunct.truename(); | 5434 | 10 | const auto falsename = numpunct.falsename(); | 5435 | | | 5436 | 10 | if (auto r = | 5437 | 10 | read_textual_custom(range, value, truename, falsename)) { | 5438 | 0 | return *r; | 5439 | 0 | } | 5440 | 10 | else { | 5441 | 10 | err = r.error(); | 5442 | 10 | } | 5443 | 10 | } | 5444 | | | 5445 | 12 | return unexpected(err); | 5446 | 12 | } |
_ZNK3scn2v34impl11bool_readerIcE14read_localizedINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_NS0_6detail10locale_refERb Line | Count | Source | 5416 | 24 | { | 5417 | 24 | scan_error err{scan_error::invalid_scanned_value, | 5418 | 24 | "Failed to read boolean"}; | 5419 | | | 5420 | 24 | if (m_options & allow_numeric) { | 5421 | 18 | if (auto r = read_numeric(range, value)) { | 5422 | 0 | return *r; | 5423 | 0 | } | 5424 | 18 | else { | 5425 | 18 | err = r.error(); | 5426 | 18 | } | 5427 | 18 | } | 5428 | | | 5429 | 24 | if (m_options & allow_text) { | 5430 | 12 | auto stdloc = loc.get<std::locale>(); | 5431 | 12 | const auto& numpunct = | 5432 | 12 | get_or_add_facet<std::numpunct<CharT>>(stdloc); | 5433 | 12 | const auto truename = numpunct.truename(); | 5434 | 12 | const auto falsename = numpunct.falsename(); | 5435 | | | 5436 | 12 | if (auto r = | 5437 | 12 | read_textual_custom(range, value, truename, falsename)) { | 5438 | 0 | return *r; | 5439 | 0 | } | 5440 | 12 | else { | 5441 | 12 | err = r.error(); | 5442 | 12 | } | 5443 | 12 | } | 5444 | | | 5445 | 24 | return unexpected(err); | 5446 | 24 | } |
Unexecuted instantiation: _ZNK3scn2v34impl11bool_readerIcE14read_localizedINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_NSA_10locale_refERb Unexecuted instantiation: _ZNK3scn2v34impl11bool_readerIcE14read_localizedINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_NS9_10locale_refERb _ZNK3scn2v34impl11bool_readerIwE14read_localizedINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_NS0_6detail10locale_refERb Line | Count | Source | 5416 | 20 | { | 5417 | 20 | scan_error err{scan_error::invalid_scanned_value, | 5418 | 20 | "Failed to read boolean"}; | 5419 | | | 5420 | 20 | if (m_options & allow_numeric) { | 5421 | 18 | if (auto r = read_numeric(range, value)) { | 5422 | 0 | return *r; | 5423 | 0 | } | 5424 | 18 | else { | 5425 | 18 | err = r.error(); | 5426 | 18 | } | 5427 | 18 | } | 5428 | | | 5429 | 20 | if (m_options & allow_text) { | 5430 | 10 | auto stdloc = loc.get<std::locale>(); | 5431 | 10 | const auto& numpunct = | 5432 | 10 | get_or_add_facet<std::numpunct<CharT>>(stdloc); | 5433 | 10 | const auto truename = numpunct.truename(); | 5434 | 10 | const auto falsename = numpunct.falsename(); | 5435 | | | 5436 | 10 | if (auto r = | 5437 | 10 | read_textual_custom(range, value, truename, falsename)) { | 5438 | 0 | return *r; | 5439 | 0 | } | 5440 | 10 | else { | 5441 | 10 | err = r.error(); | 5442 | 10 | } | 5443 | 10 | } | 5444 | | | 5445 | 20 | return unexpected(err); | 5446 | 20 | } |
_ZNK3scn2v34impl11bool_readerIwE14read_localizedINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_NS0_6detail10locale_refERb Line | Count | Source | 5416 | 20 | { | 5417 | 20 | scan_error err{scan_error::invalid_scanned_value, | 5418 | 20 | "Failed to read boolean"}; | 5419 | | | 5420 | 20 | if (m_options & allow_numeric) { | 5421 | 18 | if (auto r = read_numeric(range, value)) { | 5422 | 0 | return *r; | 5423 | 0 | } | 5424 | 18 | else { | 5425 | 18 | err = r.error(); | 5426 | 18 | } | 5427 | 18 | } | 5428 | | | 5429 | 20 | if (m_options & allow_text) { | 5430 | 6 | auto stdloc = loc.get<std::locale>(); | 5431 | 6 | const auto& numpunct = | 5432 | 6 | get_or_add_facet<std::numpunct<CharT>>(stdloc); | 5433 | 6 | const auto truename = numpunct.truename(); | 5434 | 6 | const auto falsename = numpunct.falsename(); | 5435 | | | 5436 | 6 | if (auto r = | 5437 | 6 | read_textual_custom(range, value, truename, falsename)) { | 5438 | 0 | return *r; | 5439 | 0 | } | 5440 | 6 | else { | 5441 | 6 | err = r.error(); | 5442 | 6 | } | 5443 | 6 | } | 5444 | | | 5445 | 20 | return unexpected(err); | 5446 | 20 | } |
Unexecuted instantiation: _ZNK3scn2v34impl11bool_readerIwE14read_localizedINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_NSA_10locale_refERb Unexecuted instantiation: _ZNK3scn2v34impl11bool_readerIwE14read_localizedINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_NS9_10locale_refERb |
5447 | | #endif |
5448 | | |
5449 | | protected: |
5450 | | template <typename Range> |
5451 | | auto read_textual_custom(Range range, |
5452 | | bool& value, |
5453 | | std::basic_string_view<CharT> truename, |
5454 | | std::basic_string_view<CharT> falsename) const |
5455 | | -> scan_expected<ranges::const_iterator_t<Range>> |
5456 | 38 | { |
5457 | 38 | const auto is_truename_shorter = truename.size() <= falsename.size(); |
5458 | 38 | const auto shorter = std::pair{ |
5459 | 38 | is_truename_shorter ? truename : falsename, is_truename_shorter}; |
5460 | 38 | const auto longer = std::pair{ |
5461 | 38 | !is_truename_shorter ? truename : falsename, !is_truename_shorter}; |
5462 | | |
5463 | 38 | if (auto r = read_matching_string(range, shorter.first)) { |
5464 | 0 | value = shorter.second; |
5465 | 0 | return *r; |
5466 | 0 | } |
5467 | 38 | if (auto r = read_matching_string(range, longer.first)) { |
5468 | 0 | value = longer.second; |
5469 | 0 | return *r; |
5470 | 0 | } |
5471 | | |
5472 | 38 | return unexpected_scan_error(scan_error::invalid_scanned_value, |
5473 | 38 | "read_textual: No match"); |
5474 | 38 | } _ZNK3scn2v34impl11bool_readerIcE19read_textual_customINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RbNSF_17basic_string_viewIcNSF_11char_traitsIcEEEESR_ Line | Count | Source | 5456 | 10 | { | 5457 | 10 | const auto is_truename_shorter = truename.size() <= falsename.size(); | 5458 | 10 | const auto shorter = std::pair{ | 5459 | 10 | is_truename_shorter ? truename : falsename, is_truename_shorter}; | 5460 | 10 | const auto longer = std::pair{ | 5461 | 10 | !is_truename_shorter ? truename : falsename, !is_truename_shorter}; | 5462 | | | 5463 | 10 | if (auto r = read_matching_string(range, shorter.first)) { | 5464 | 0 | value = shorter.second; | 5465 | 0 | return *r; | 5466 | 0 | } | 5467 | 10 | if (auto r = read_matching_string(range, longer.first)) { | 5468 | 0 | value = longer.second; | 5469 | 0 | return *r; | 5470 | 0 | } | 5471 | | | 5472 | 10 | return unexpected_scan_error(scan_error::invalid_scanned_value, | 5473 | 10 | "read_textual: No match"); | 5474 | 10 | } |
_ZNK3scn2v34impl11bool_readerIcE19read_textual_customINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RbNSD_17basic_string_viewIcNSD_11char_traitsIcEEEESP_ Line | Count | Source | 5456 | 12 | { | 5457 | 12 | const auto is_truename_shorter = truename.size() <= falsename.size(); | 5458 | 12 | const auto shorter = std::pair{ | 5459 | 12 | is_truename_shorter ? truename : falsename, is_truename_shorter}; | 5460 | 12 | const auto longer = std::pair{ | 5461 | 12 | !is_truename_shorter ? truename : falsename, !is_truename_shorter}; | 5462 | | | 5463 | 12 | if (auto r = read_matching_string(range, shorter.first)) { | 5464 | 0 | value = shorter.second; | 5465 | 0 | return *r; | 5466 | 0 | } | 5467 | 12 | if (auto r = read_matching_string(range, longer.first)) { | 5468 | 0 | value = longer.second; | 5469 | 0 | return *r; | 5470 | 0 | } | 5471 | | | 5472 | 12 | return unexpected_scan_error(scan_error::invalid_scanned_value, | 5473 | 12 | "read_textual: No match"); | 5474 | 12 | } |
Unexecuted instantiation: _ZNK3scn2v34impl11bool_readerIcE19read_textual_customINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RbNSI_17basic_string_viewIcNSI_11char_traitsIcEEEESU_ Unexecuted instantiation: _ZNK3scn2v34impl11bool_readerIcE19read_textual_customINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RbNSG_17basic_string_viewIcNSG_11char_traitsIcEEEESS_ _ZNK3scn2v34impl11bool_readerIwE19read_textual_customINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RbNSF_17basic_string_viewIwNSF_11char_traitsIwEEEESR_ Line | Count | Source | 5456 | 10 | { | 5457 | 10 | const auto is_truename_shorter = truename.size() <= falsename.size(); | 5458 | 10 | const auto shorter = std::pair{ | 5459 | 10 | is_truename_shorter ? truename : falsename, is_truename_shorter}; | 5460 | 10 | const auto longer = std::pair{ | 5461 | 10 | !is_truename_shorter ? truename : falsename, !is_truename_shorter}; | 5462 | | | 5463 | 10 | if (auto r = read_matching_string(range, shorter.first)) { | 5464 | 0 | value = shorter.second; | 5465 | 0 | return *r; | 5466 | 0 | } | 5467 | 10 | if (auto r = read_matching_string(range, longer.first)) { | 5468 | 0 | value = longer.second; | 5469 | 0 | return *r; | 5470 | 0 | } | 5471 | | | 5472 | 10 | return unexpected_scan_error(scan_error::invalid_scanned_value, | 5473 | 10 | "read_textual: No match"); | 5474 | 10 | } |
_ZNK3scn2v34impl11bool_readerIwE19read_textual_customINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RbNSD_17basic_string_viewIwNSD_11char_traitsIwEEEESP_ Line | Count | Source | 5456 | 6 | { | 5457 | 6 | const auto is_truename_shorter = truename.size() <= falsename.size(); | 5458 | 6 | const auto shorter = std::pair{ | 5459 | 6 | is_truename_shorter ? truename : falsename, is_truename_shorter}; | 5460 | 6 | const auto longer = std::pair{ | 5461 | 6 | !is_truename_shorter ? truename : falsename, !is_truename_shorter}; | 5462 | | | 5463 | 6 | if (auto r = read_matching_string(range, shorter.first)) { | 5464 | 0 | value = shorter.second; | 5465 | 0 | return *r; | 5466 | 0 | } | 5467 | 6 | if (auto r = read_matching_string(range, longer.first)) { | 5468 | 0 | value = longer.second; | 5469 | 0 | return *r; | 5470 | 0 | } | 5471 | | | 5472 | 6 | return unexpected_scan_error(scan_error::invalid_scanned_value, | 5473 | 6 | "read_textual: No match"); | 5474 | 6 | } |
Unexecuted instantiation: _ZNK3scn2v34impl11bool_readerIwE19read_textual_customINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RbNSI_17basic_string_viewIwNSI_11char_traitsIwEEEESU_ Unexecuted instantiation: _ZNK3scn2v34impl11bool_readerIwE19read_textual_customINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RbNSG_17basic_string_viewIwNSG_11char_traitsIwEEEESS_ |
5475 | | }; |
5476 | | |
5477 | | template <typename CharT> |
5478 | | class reader_impl_for_bool |
5479 | | : public reader_base<reader_impl_for_bool<CharT>, CharT> { |
5480 | | public: |
5481 | | reader_impl_for_bool() = default; |
5482 | | |
5483 | | void check_specs_impl(const detail::format_specs& specs, |
5484 | | reader_error_handler& eh) |
5485 | 7.93k | { |
5486 | 7.93k | detail::check_bool_type_specs(specs, eh); |
5487 | 7.93k | } scn::v3::impl::reader_impl_for_bool<char>::check_specs_impl(scn::v3::detail::format_specs const&, scn::v3::impl::reader_error_handler&) Line | Count | Source | 5485 | 5.20k | { | 5486 | 5.20k | detail::check_bool_type_specs(specs, eh); | 5487 | 5.20k | } |
scn::v3::impl::reader_impl_for_bool<wchar_t>::check_specs_impl(scn::v3::detail::format_specs const&, scn::v3::impl::reader_error_handler&) Line | Count | Source | 5485 | 2.73k | { | 5486 | 2.73k | detail::check_bool_type_specs(specs, eh); | 5487 | 2.73k | } |
|
5488 | | |
5489 | | template <typename Range> |
5490 | | auto read_default(Range range, bool& value, detail::locale_ref loc) const |
5491 | | -> scan_expected<ranges::const_iterator_t<Range>> |
5492 | 1.11k | { |
5493 | 1.11k | SCN_UNUSED(loc); |
5494 | | |
5495 | 1.11k | return bool_reader<CharT>{}.read_classic(range, value); |
5496 | 1.11k | } _ZNK3scn2v34impl20reader_impl_for_boolIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RbNS0_6detail10locale_refE Line | Count | Source | 5492 | 636 | { | 5493 | 636 | SCN_UNUSED(loc); | 5494 | | | 5495 | 636 | return bool_reader<CharT>{}.read_classic(range, value); | 5496 | 636 | } |
Unexecuted instantiation: _ZNK3scn2v34impl20reader_impl_for_boolIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RbNS9_10locale_refE _ZNK3scn2v34impl20reader_impl_for_boolIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RbNS0_6detail10locale_refE Line | Count | Source | 5492 | 474 | { | 5493 | 474 | SCN_UNUSED(loc); | 5494 | | | 5495 | 474 | return bool_reader<CharT>{}.read_classic(range, value); | 5496 | 474 | } |
Unexecuted instantiation: _ZNK3scn2v34impl20reader_impl_for_boolIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RbNS9_10locale_refE |
5497 | | |
5498 | | template <typename Range> |
5499 | | auto read_specs(Range range, |
5500 | | const detail::format_specs& specs, |
5501 | | bool& value, |
5502 | | detail::locale_ref loc) const |
5503 | | -> scan_expected<ranges::const_iterator_t<Range>> |
5504 | 1.28k | { |
5505 | 1.28k | const auto rd = bool_reader<CharT>{get_options(specs)}; |
5506 | | |
5507 | 1.28k | #if !SCN_DISABLE_LOCALE |
5508 | 1.28k | if (specs.localized) { |
5509 | 76 | return rd.read_localized(range, loc, value); |
5510 | 76 | } |
5511 | 1.20k | #endif |
5512 | | |
5513 | 1.20k | return rd.read_classic(range, value); |
5514 | 1.28k | } _ZNK3scn2v34impl20reader_impl_for_boolIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERbNSN_10locale_refE Line | Count | Source | 5504 | 334 | { | 5505 | 334 | const auto rd = bool_reader<CharT>{get_options(specs)}; | 5506 | | | 5507 | 334 | #if !SCN_DISABLE_LOCALE | 5508 | 334 | if (specs.localized) { | 5509 | 12 | return rd.read_localized(range, loc, value); | 5510 | 12 | } | 5511 | 322 | #endif | 5512 | | | 5513 | 322 | return rd.read_classic(range, value); | 5514 | 334 | } |
_ZNK3scn2v34impl20reader_impl_for_boolIcE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERbNSL_10locale_refE Line | Count | Source | 5504 | 410 | { | 5505 | 410 | const auto rd = bool_reader<CharT>{get_options(specs)}; | 5506 | | | 5507 | 410 | #if !SCN_DISABLE_LOCALE | 5508 | 410 | if (specs.localized) { | 5509 | 24 | return rd.read_localized(range, loc, value); | 5510 | 24 | } | 5511 | 386 | #endif | 5512 | | | 5513 | 386 | return rd.read_classic(range, value); | 5514 | 410 | } |
Unexecuted instantiation: _ZNK3scn2v34impl20reader_impl_for_boolIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERbNSA_10locale_refE Unexecuted instantiation: _ZNK3scn2v34impl20reader_impl_for_boolIcE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERbNS9_10locale_refE _ZNK3scn2v34impl20reader_impl_for_boolIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERbNSN_10locale_refE Line | Count | Source | 5504 | 154 | { | 5505 | 154 | const auto rd = bool_reader<CharT>{get_options(specs)}; | 5506 | | | 5507 | 154 | #if !SCN_DISABLE_LOCALE | 5508 | 154 | if (specs.localized) { | 5509 | 20 | return rd.read_localized(range, loc, value); | 5510 | 20 | } | 5511 | 134 | #endif | 5512 | | | 5513 | 134 | return rd.read_classic(range, value); | 5514 | 154 | } |
_ZNK3scn2v34impl20reader_impl_for_boolIwE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERbNSL_10locale_refE Line | Count | Source | 5504 | 386 | { | 5505 | 386 | const auto rd = bool_reader<CharT>{get_options(specs)}; | 5506 | | | 5507 | 386 | #if !SCN_DISABLE_LOCALE | 5508 | 386 | if (specs.localized) { | 5509 | 20 | return rd.read_localized(range, loc, value); | 5510 | 20 | } | 5511 | 366 | #endif | 5512 | | | 5513 | 366 | return rd.read_classic(range, value); | 5514 | 386 | } |
Unexecuted instantiation: _ZNK3scn2v34impl20reader_impl_for_boolIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERbNSA_10locale_refE Unexecuted instantiation: _ZNK3scn2v34impl20reader_impl_for_boolIwE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERbNS9_10locale_refE |
5515 | | |
5516 | | static constexpr unsigned get_options(const detail::format_specs& specs) |
5517 | 1.28k | { |
5518 | 1.28k | SCN_GCC_COMPAT_PUSH |
5519 | 1.28k | SCN_GCC_COMPAT_IGNORE("-Wswitch-enum") |
5520 | | |
5521 | 1.28k | switch (specs.type) { |
5522 | 276 | case detail::presentation_type::string: |
5523 | 276 | return bool_reader_base::allow_text; |
5524 | | |
5525 | 28 | case detail::presentation_type::int_generic: |
5526 | 44 | case detail::presentation_type::int_binary: |
5527 | 58 | case detail::presentation_type::int_decimal: |
5528 | 80 | case detail::presentation_type::int_hex: |
5529 | 108 | case detail::presentation_type::int_octal: |
5530 | 124 | case detail::presentation_type::int_unsigned_decimal: |
5531 | 124 | return bool_reader_base::allow_numeric; |
5532 | | |
5533 | 884 | default: |
5534 | 884 | return bool_reader_base::allow_text | |
5535 | 884 | bool_reader_base::allow_numeric; |
5536 | 1.28k | } |
5537 | | |
5538 | | SCN_GCC_COMPAT_POP // -Wswitch-enum |
5539 | 1.28k | } scn::v3::impl::reader_impl_for_bool<char>::get_options(scn::v3::detail::format_specs const&) Line | Count | Source | 5517 | 744 | { | 5518 | 744 | SCN_GCC_COMPAT_PUSH | 5519 | 744 | SCN_GCC_COMPAT_IGNORE("-Wswitch-enum") | 5520 | | | 5521 | 744 | switch (specs.type) { | 5522 | 198 | case detail::presentation_type::string: | 5523 | 198 | return bool_reader_base::allow_text; | 5524 | | | 5525 | 12 | case detail::presentation_type::int_generic: | 5526 | 20 | case detail::presentation_type::int_binary: | 5527 | 26 | case detail::presentation_type::int_decimal: | 5528 | 38 | case detail::presentation_type::int_hex: | 5529 | 56 | case detail::presentation_type::int_octal: | 5530 | 60 | case detail::presentation_type::int_unsigned_decimal: | 5531 | 60 | return bool_reader_base::allow_numeric; | 5532 | | | 5533 | 486 | default: | 5534 | 486 | return bool_reader_base::allow_text | | 5535 | 486 | bool_reader_base::allow_numeric; | 5536 | 744 | } | 5537 | | | 5538 | | SCN_GCC_COMPAT_POP // -Wswitch-enum | 5539 | 744 | } |
scn::v3::impl::reader_impl_for_bool<wchar_t>::get_options(scn::v3::detail::format_specs const&) Line | Count | Source | 5517 | 540 | { | 5518 | 540 | SCN_GCC_COMPAT_PUSH | 5519 | 540 | SCN_GCC_COMPAT_IGNORE("-Wswitch-enum") | 5520 | | | 5521 | 540 | switch (specs.type) { | 5522 | 78 | case detail::presentation_type::string: | 5523 | 78 | return bool_reader_base::allow_text; | 5524 | | | 5525 | 16 | case detail::presentation_type::int_generic: | 5526 | 24 | case detail::presentation_type::int_binary: | 5527 | 32 | case detail::presentation_type::int_decimal: | 5528 | 42 | case detail::presentation_type::int_hex: | 5529 | 52 | case detail::presentation_type::int_octal: | 5530 | 64 | case detail::presentation_type::int_unsigned_decimal: | 5531 | 64 | return bool_reader_base::allow_numeric; | 5532 | | | 5533 | 398 | default: | 5534 | 398 | return bool_reader_base::allow_text | | 5535 | 398 | bool_reader_base::allow_numeric; | 5536 | 540 | } | 5537 | | | 5538 | | SCN_GCC_COMPAT_POP // -Wswitch-enum | 5539 | 540 | } |
|
5540 | | }; |
5541 | | |
5542 | | ///////////////////////////////////////////////////////////////// |
5543 | | // Character (code unit, code point) reader |
5544 | | ///////////////////////////////////////////////////////////////// |
5545 | | |
5546 | | template <typename CharT> |
5547 | | class code_unit_reader { |
5548 | | public: |
5549 | | template <typename SourceRange> |
5550 | | auto read(const SourceRange& range, CharT& ch) |
5551 | | -> scan_expected<ranges::const_iterator_t<SourceRange>> |
5552 | 1.98k | { |
5553 | 1.98k | SCN_TRY(it, read_code_unit(range).transform_error(make_eof_scan_error)); |
5554 | 1.98k | ch = *range.begin(); |
5555 | 1.98k | return it; |
5556 | 1.98k | } Unexecuted instantiation: _ZN3scn2v34impl16code_unit_readerIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEERKSK_Rc Unexecuted instantiation: _ZN3scn2v34impl16code_unit_readerIcE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEERKSI_Rc _ZN3scn2v34impl16code_unit_readerIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEERKSH_Rc Line | Count | Source | 5552 | 248 | { | 5553 | 248 | SCN_TRY(it, read_code_unit(range).transform_error(make_eof_scan_error)); | 5554 | 248 | ch = *range.begin(); | 5555 | 248 | return it; | 5556 | 248 | } |
_ZN3scn2v34impl16code_unit_readerIcE4readINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEERKSF_Rc Line | Count | Source | 5552 | 876 | { | 5553 | 876 | SCN_TRY(it, read_code_unit(range).transform_error(make_eof_scan_error)); | 5554 | 876 | ch = *range.begin(); | 5555 | 876 | return it; | 5556 | 876 | } |
Unexecuted instantiation: _ZN3scn2v34impl16code_unit_readerIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEERKSK_Rw Unexecuted instantiation: _ZN3scn2v34impl16code_unit_readerIwE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEERKSI_Rw _ZN3scn2v34impl16code_unit_readerIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEERKSH_Rw Line | Count | Source | 5552 | 88 | { | 5553 | 88 | SCN_TRY(it, read_code_unit(range).transform_error(make_eof_scan_error)); | 5554 | 88 | ch = *range.begin(); | 5555 | 88 | return it; | 5556 | 88 | } |
_ZN3scn2v34impl16code_unit_readerIwE4readINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEERKSF_Rw Line | Count | Source | 5552 | 772 | { | 5553 | 772 | SCN_TRY(it, read_code_unit(range).transform_error(make_eof_scan_error)); | 5554 | 772 | ch = *range.begin(); | 5555 | 772 | return it; | 5556 | 772 | } |
|
5557 | | }; |
5558 | | |
5559 | | template <typename CharT> |
5560 | | class code_point_reader; |
5561 | | |
5562 | | template <> |
5563 | | class code_point_reader<char32_t> { |
5564 | | public: |
5565 | | template <typename SourceRange> |
5566 | | auto read(const SourceRange& range, char32_t& cp) |
5567 | | -> scan_expected<ranges::const_iterator_t<SourceRange>> |
5568 | 0 | { |
5569 | 0 | auto result = read_code_point_into(range); |
5570 | 0 | if (SCN_UNLIKELY(!result.is_valid())) { |
5571 | 0 | return unexpected_scan_error(scan_error::invalid_scanned_value, |
5572 | 0 | "Invalid code point"); |
5573 | 0 | } |
5574 | 0 | cp = detail::decode_code_point_exhaustive_valid( |
5575 | 0 | std::basic_string_view<detail::char_t<SourceRange>>{ |
5576 | 0 | result.codepoint}); |
5577 | 0 | return result.iterator; |
5578 | 0 | } Unexecuted instantiation: _ZN3scn2v34impl17code_point_readerIDiE4readINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEERKSF_RDi Unexecuted instantiation: _ZN3scn2v34impl17code_point_readerIDiE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEERKSI_RDi Unexecuted instantiation: _ZN3scn2v34impl17code_point_readerIDiE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEERKSH_RDi Unexecuted instantiation: _ZN3scn2v34impl17code_point_readerIDiE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEERKSK_RDi Unexecuted instantiation: _ZN3scn2v34impl17code_point_readerIDiE4readINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEERKSF_RDi Unexecuted instantiation: _ZN3scn2v34impl17code_point_readerIDiE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEERKSH_RDi Unexecuted instantiation: _ZN3scn2v34impl17code_point_readerIDiE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEERKSI_RDi Unexecuted instantiation: _ZN3scn2v34impl17code_point_readerIDiE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEERKSK_RDi |
5579 | | }; |
5580 | | |
5581 | | template <> |
5582 | | class code_point_reader<wchar_t> { |
5583 | | public: |
5584 | | template <typename SourceRange> |
5585 | | auto read(const SourceRange& range, wchar_t& ch) |
5586 | | -> scan_expected<ranges::const_iterator_t<SourceRange>> |
5587 | 0 | { |
5588 | 0 | code_point_reader<char32_t> reader{}; |
5589 | 0 | char32_t cp{}; |
5590 | 0 | auto ret = reader.read(range, cp); |
5591 | 0 | if (SCN_UNLIKELY(!ret)) { |
5592 | 0 | return unexpected(ret.error()); |
5593 | 0 | } |
5594 | | |
5595 | 0 | SCN_TRY(encoded_ch, encode_code_point_as_wide_character(cp, true)); |
5596 | 0 | ch = encoded_ch; |
5597 | 0 | return *ret; |
5598 | 0 | } Unexecuted instantiation: _ZN3scn2v34impl17code_point_readerIwE4readINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEERKSF_Rw Unexecuted instantiation: _ZN3scn2v34impl17code_point_readerIwE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEERKSI_Rw Unexecuted instantiation: _ZN3scn2v34impl17code_point_readerIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEERKSH_Rw Unexecuted instantiation: _ZN3scn2v34impl17code_point_readerIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEERKSK_Rw |
5599 | | }; |
5600 | | |
5601 | | template <typename ValueCharT> |
5602 | | class char_reader_base { |
5603 | | public: |
5604 | | constexpr char_reader_base() = default; |
5605 | | |
5606 | | bool skip_ws_before_read() const |
5607 | 2.96k | { |
5608 | 2.96k | return false; |
5609 | 2.96k | } scn::v3::impl::char_reader_base<char>::skip_ws_before_read() const Line | Count | Source | 5607 | 1.67k | { | 5608 | 1.67k | return false; | 5609 | 1.67k | } |
scn::v3::impl::char_reader_base<wchar_t>::skip_ws_before_read() const Line | Count | Source | 5607 | 1.28k | { | 5608 | 1.28k | return false; | 5609 | 1.28k | } |
Unexecuted instantiation: scn::v3::impl::char_reader_base<char32_t>::skip_ws_before_read() const |
5610 | | |
5611 | | static scan_error check_specs(const detail::format_specs& specs) |
5612 | 7.85k | { |
5613 | 7.85k | reader_error_handler eh{}; |
5614 | 7.85k | if constexpr (std::is_same_v<ValueCharT, char32_t>) { |
5615 | 0 | detail::check_code_point_type_specs(specs, eh); |
5616 | | } |
5617 | 7.85k | else { |
5618 | 7.85k | detail::check_char_type_specs(specs, eh); |
5619 | 7.85k | } |
5620 | 7.85k | if (SCN_UNLIKELY(!eh)) { |
5621 | 6.87k | return {scan_error::invalid_format_string, eh.m_msg}; |
5622 | 6.87k | } |
5623 | 976 | return {}; |
5624 | 7.85k | } scn::v3::impl::char_reader_base<char>::check_specs(scn::v3::detail::format_specs const&) Line | Count | Source | 5612 | 5.16k | { | 5613 | 5.16k | reader_error_handler eh{}; | 5614 | | if constexpr (std::is_same_v<ValueCharT, char32_t>) { | 5615 | | detail::check_code_point_type_specs(specs, eh); | 5616 | | } | 5617 | 5.16k | else { | 5618 | 5.16k | detail::check_char_type_specs(specs, eh); | 5619 | 5.16k | } | 5620 | 5.16k | if (SCN_UNLIKELY(!eh)) { | 5621 | 4.61k | return {scan_error::invalid_format_string, eh.m_msg}; | 5622 | 4.61k | } | 5623 | 548 | return {}; | 5624 | 5.16k | } |
scn::v3::impl::char_reader_base<wchar_t>::check_specs(scn::v3::detail::format_specs const&) Line | Count | Source | 5612 | 2.69k | { | 5613 | 2.69k | reader_error_handler eh{}; | 5614 | | if constexpr (std::is_same_v<ValueCharT, char32_t>) { | 5615 | | detail::check_code_point_type_specs(specs, eh); | 5616 | | } | 5617 | 2.69k | else { | 5618 | 2.69k | detail::check_char_type_specs(specs, eh); | 5619 | 2.69k | } | 5620 | 2.69k | if (SCN_UNLIKELY(!eh)) { | 5621 | 2.26k | return {scan_error::invalid_format_string, eh.m_msg}; | 5622 | 2.26k | } | 5623 | 428 | return {}; | 5624 | 2.69k | } |
Unexecuted instantiation: scn::v3::impl::char_reader_base<char32_t>::check_specs(scn::v3::detail::format_specs const&) |
5625 | | }; |
5626 | | |
5627 | | template <typename CharT> |
5628 | | class reader_impl_for_char : public char_reader_base<char> { |
5629 | | public: |
5630 | | template <typename Range> |
5631 | | auto read_default(Range range, char& value, detail::locale_ref loc) |
5632 | | -> scan_expected<ranges::const_iterator_t<Range>> |
5633 | 1.12k | { |
5634 | 1.12k | SCN_UNUSED(loc); |
5635 | 1.12k | if constexpr (std::is_same_v<CharT, char>) { |
5636 | 1.12k | return code_unit_reader<char>{}.read(range, value); |
5637 | | } |
5638 | 0 | else { |
5639 | 0 | SCN_UNUSED(range); |
5640 | 0 | SCN_EXPECT(false); |
5641 | 0 | SCN_UNREACHABLE; |
5642 | 0 | } |
5643 | 1.12k | } Unexecuted instantiation: _ZN3scn2v34impl20reader_impl_for_charIcE12read_defaultINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RcNSA_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl20reader_impl_for_charIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RcNS9_10locale_refE _ZN3scn2v34impl20reader_impl_for_charIcE12read_defaultINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RcNS0_6detail10locale_refE Line | Count | Source | 5633 | 248 | { | 5634 | 248 | SCN_UNUSED(loc); | 5635 | 248 | if constexpr (std::is_same_v<CharT, char>) { | 5636 | 248 | return code_unit_reader<char>{}.read(range, value); | 5637 | | } | 5638 | | else { | 5639 | | SCN_UNUSED(range); | 5640 | | SCN_EXPECT(false); | 5641 | | SCN_UNREACHABLE; | 5642 | | } | 5643 | 248 | } |
_ZN3scn2v34impl20reader_impl_for_charIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RcNS0_6detail10locale_refE Line | Count | Source | 5633 | 876 | { | 5634 | 876 | SCN_UNUSED(loc); | 5635 | 876 | if constexpr (std::is_same_v<CharT, char>) { | 5636 | 876 | return code_unit_reader<char>{}.read(range, value); | 5637 | | } | 5638 | | else { | 5639 | | SCN_UNUSED(range); | 5640 | | SCN_EXPECT(false); | 5641 | | SCN_UNREACHABLE; | 5642 | | } | 5643 | 876 | } |
Unexecuted instantiation: _ZN3scn2v34impl20reader_impl_for_charIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RcNS0_6detail10locale_refE Unexecuted instantiation: _ZN3scn2v34impl20reader_impl_for_charIwE12read_defaultINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RcNS0_6detail10locale_refE Unexecuted instantiation: _ZN3scn2v34impl20reader_impl_for_charIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RcNS9_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl20reader_impl_for_charIwE12read_defaultINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RcNSA_10locale_refE |
5644 | | |
5645 | | template <typename Range> |
5646 | | auto read_specs(Range range, |
5647 | | const detail::format_specs& specs, |
5648 | | char& value, |
5649 | | detail::locale_ref loc) |
5650 | | -> scan_expected<ranges::const_iterator_t<Range>> |
5651 | 542 | { |
5652 | 542 | if (specs.type == detail::presentation_type::none || |
5653 | 542 | specs.type == detail::presentation_type::character) { |
5654 | 488 | return read_default(range, value, loc); |
5655 | 488 | } |
5656 | | |
5657 | 54 | reader_impl_for_int<CharT> reader{}; |
5658 | 54 | signed char tmp_value{}; |
5659 | 54 | auto ret = reader.read_specs(range, specs, tmp_value, loc); |
5660 | 54 | value = static_cast<signed char>(value); |
5661 | 54 | return ret; |
5662 | 542 | } Unexecuted instantiation: _ZN3scn2v34impl20reader_impl_for_charIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERcNSA_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl20reader_impl_for_charIcE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERcNS9_10locale_refE _ZN3scn2v34impl20reader_impl_for_charIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERcNSN_10locale_refE Line | Count | Source | 5651 | 280 | { | 5652 | 280 | if (specs.type == detail::presentation_type::none || | 5653 | 280 | specs.type == detail::presentation_type::character) { | 5654 | 248 | return read_default(range, value, loc); | 5655 | 248 | } | 5656 | | | 5657 | 32 | reader_impl_for_int<CharT> reader{}; | 5658 | 32 | signed char tmp_value{}; | 5659 | 32 | auto ret = reader.read_specs(range, specs, tmp_value, loc); | 5660 | 32 | value = static_cast<signed char>(value); | 5661 | 32 | return ret; | 5662 | 280 | } |
_ZN3scn2v34impl20reader_impl_for_charIcE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERcNSL_10locale_refE Line | Count | Source | 5651 | 262 | { | 5652 | 262 | if (specs.type == detail::presentation_type::none || | 5653 | 262 | specs.type == detail::presentation_type::character) { | 5654 | 240 | return read_default(range, value, loc); | 5655 | 240 | } | 5656 | | | 5657 | 22 | reader_impl_for_int<CharT> reader{}; | 5658 | 22 | signed char tmp_value{}; | 5659 | 22 | auto ret = reader.read_specs(range, specs, tmp_value, loc); | 5660 | 22 | value = static_cast<signed char>(value); | 5661 | 22 | return ret; | 5662 | 262 | } |
Unexecuted instantiation: _ZN3scn2v34impl20reader_impl_for_charIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERcNSN_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl20reader_impl_for_charIwE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERcNSL_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl20reader_impl_for_charIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERcNSA_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl20reader_impl_for_charIwE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERcNS9_10locale_refE |
5663 | | }; |
5664 | | |
5665 | | template <typename CharT> |
5666 | | class reader_impl_for_wchar : public char_reader_base<wchar_t> { |
5667 | | public: |
5668 | | template <typename Range> |
5669 | | auto read_default(Range range, wchar_t& value, detail::locale_ref loc) |
5670 | | -> scan_expected<ranges::const_iterator_t<Range>> |
5671 | 860 | { |
5672 | 860 | SCN_UNUSED(loc); |
5673 | 860 | if constexpr (std::is_same_v<CharT, char>) { |
5674 | 0 | return code_point_reader<wchar_t>{}.read(range, value); |
5675 | | } |
5676 | 860 | else { |
5677 | 860 | return code_unit_reader<wchar_t>{}.read(range, value); |
5678 | 860 | } |
5679 | 860 | } Unexecuted instantiation: _ZN3scn2v34impl21reader_impl_for_wcharIwE12read_defaultINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RwNSA_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl21reader_impl_for_wcharIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RwNS9_10locale_refE _ZN3scn2v34impl21reader_impl_for_wcharIwE12read_defaultINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RwNS0_6detail10locale_refE Line | Count | Source | 5671 | 88 | { | 5672 | 88 | SCN_UNUSED(loc); | 5673 | | if constexpr (std::is_same_v<CharT, char>) { | 5674 | | return code_point_reader<wchar_t>{}.read(range, value); | 5675 | | } | 5676 | 88 | else { | 5677 | 88 | return code_unit_reader<wchar_t>{}.read(range, value); | 5678 | 88 | } | 5679 | 88 | } |
_ZN3scn2v34impl21reader_impl_for_wcharIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RwNS0_6detail10locale_refE Line | Count | Source | 5671 | 772 | { | 5672 | 772 | SCN_UNUSED(loc); | 5673 | | if constexpr (std::is_same_v<CharT, char>) { | 5674 | | return code_point_reader<wchar_t>{}.read(range, value); | 5675 | | } | 5676 | 772 | else { | 5677 | 772 | return code_unit_reader<wchar_t>{}.read(range, value); | 5678 | 772 | } | 5679 | 772 | } |
Unexecuted instantiation: _ZN3scn2v34impl21reader_impl_for_wcharIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RwNS0_6detail10locale_refE Unexecuted instantiation: _ZN3scn2v34impl21reader_impl_for_wcharIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RwNS9_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl21reader_impl_for_wcharIcE12read_defaultINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RwNS0_6detail10locale_refE Unexecuted instantiation: _ZN3scn2v34impl21reader_impl_for_wcharIcE12read_defaultINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RwNSA_10locale_refE |
5680 | | |
5681 | | template <typename Range> |
5682 | | auto read_specs(Range range, |
5683 | | const detail::format_specs& specs, |
5684 | | wchar_t& value, |
5685 | | detail::locale_ref loc) |
5686 | | -> scan_expected<ranges::const_iterator_t<Range>> |
5687 | 426 | { |
5688 | 426 | if (specs.type == detail::presentation_type::none || |
5689 | 426 | specs.type == detail::presentation_type::character) { |
5690 | 386 | return read_default(range, value, loc); |
5691 | 386 | } |
5692 | | |
5693 | 40 | reader_impl_for_int<CharT> reader{}; |
5694 | 40 | using integer_type = |
5695 | 40 | std::conditional_t<sizeof(wchar_t) == 2, int16_t, int32_t>; |
5696 | 40 | integer_type tmp_value{}; |
5697 | 40 | auto ret = reader.read_specs(range, specs, tmp_value, loc); |
5698 | 40 | value = static_cast<integer_type>(value); |
5699 | 40 | return ret; |
5700 | 426 | } Unexecuted instantiation: _ZN3scn2v34impl21reader_impl_for_wcharIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERwNSA_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl21reader_impl_for_wcharIwE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERwNS9_10locale_refE _ZN3scn2v34impl21reader_impl_for_wcharIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERwNSN_10locale_refE Line | Count | Source | 5687 | 108 | { | 5688 | 108 | if (specs.type == detail::presentation_type::none || | 5689 | 108 | specs.type == detail::presentation_type::character) { | 5690 | 88 | return read_default(range, value, loc); | 5691 | 88 | } | 5692 | | | 5693 | 20 | reader_impl_for_int<CharT> reader{}; | 5694 | 20 | using integer_type = | 5695 | 20 | std::conditional_t<sizeof(wchar_t) == 2, int16_t, int32_t>; | 5696 | 20 | integer_type tmp_value{}; | 5697 | 20 | auto ret = reader.read_specs(range, specs, tmp_value, loc); | 5698 | 20 | value = static_cast<integer_type>(value); | 5699 | 20 | return ret; | 5700 | 108 | } |
_ZN3scn2v34impl21reader_impl_for_wcharIwE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERwNSL_10locale_refE Line | Count | Source | 5687 | 318 | { | 5688 | 318 | if (specs.type == detail::presentation_type::none || | 5689 | 318 | specs.type == detail::presentation_type::character) { | 5690 | 298 | return read_default(range, value, loc); | 5691 | 298 | } | 5692 | | | 5693 | 20 | reader_impl_for_int<CharT> reader{}; | 5694 | 20 | using integer_type = | 5695 | 20 | std::conditional_t<sizeof(wchar_t) == 2, int16_t, int32_t>; | 5696 | 20 | integer_type tmp_value{}; | 5697 | 20 | auto ret = reader.read_specs(range, specs, tmp_value, loc); | 5698 | 20 | value = static_cast<integer_type>(value); | 5699 | 20 | return ret; | 5700 | 318 | } |
Unexecuted instantiation: _ZN3scn2v34impl21reader_impl_for_wcharIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERwNSN_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl21reader_impl_for_wcharIcE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERwNSL_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl21reader_impl_for_wcharIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERwNSA_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl21reader_impl_for_wcharIcE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERwNS9_10locale_refE |
5701 | | }; |
5702 | | |
5703 | | template <typename CharT> |
5704 | | class reader_impl_for_code_point : public char_reader_base<char32_t> { |
5705 | | public: |
5706 | | template <typename Range> |
5707 | | auto read_default(Range range, char32_t& value, detail::locale_ref loc) |
5708 | | -> scan_expected<ranges::const_iterator_t<Range>> |
5709 | 0 | { |
5710 | 0 | SCN_UNUSED(loc); |
5711 | 0 | return code_point_reader<char32_t>{}.read(range, value); |
5712 | 0 | } Unexecuted instantiation: _ZN3scn2v34impl26reader_impl_for_code_pointIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RDiNS0_6detail10locale_refE Unexecuted instantiation: _ZN3scn2v34impl26reader_impl_for_code_pointIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RDiNS9_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl26reader_impl_for_code_pointIcE12read_defaultINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RDiNS0_6detail10locale_refE Unexecuted instantiation: _ZN3scn2v34impl26reader_impl_for_code_pointIcE12read_defaultINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RDiNSA_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl26reader_impl_for_code_pointIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RDiNS0_6detail10locale_refE Unexecuted instantiation: _ZN3scn2v34impl26reader_impl_for_code_pointIwE12read_defaultINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RDiNS0_6detail10locale_refE Unexecuted instantiation: _ZN3scn2v34impl26reader_impl_for_code_pointIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RDiNS9_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl26reader_impl_for_code_pointIwE12read_defaultINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RDiNSA_10locale_refE |
5713 | | |
5714 | | template <typename Range> |
5715 | | auto read_specs(Range range, |
5716 | | const detail::format_specs& specs, |
5717 | | char32_t& value, |
5718 | | detail::locale_ref loc) |
5719 | | -> scan_expected<ranges::const_iterator_t<Range>> |
5720 | 0 | { |
5721 | 0 | SCN_UNUSED(specs); |
5722 | 0 | return read_default(range, value, loc); |
5723 | 0 | } Unexecuted instantiation: _ZN3scn2v34impl26reader_impl_for_code_pointIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERDiNSN_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl26reader_impl_for_code_pointIcE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERDiNSL_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl26reader_impl_for_code_pointIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERDiNSA_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl26reader_impl_for_code_pointIcE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERDiNS9_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl26reader_impl_for_code_pointIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERDiNSN_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl26reader_impl_for_code_pointIwE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERDiNSL_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl26reader_impl_for_code_pointIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERDiNSA_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl26reader_impl_for_code_pointIwE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERDiNS9_10locale_refE |
5724 | | }; |
5725 | | |
5726 | | ///////////////////////////////////////////////////////////////// |
5727 | | // Pointer reader |
5728 | | ///////////////////////////////////////////////////////////////// |
5729 | | |
5730 | | template <typename CharT> |
5731 | | class reader_impl_for_voidptr { |
5732 | | public: |
5733 | | constexpr reader_impl_for_voidptr() = default; |
5734 | | |
5735 | | bool skip_ws_before_read() const |
5736 | 2.00k | { |
5737 | 2.00k | return true; |
5738 | 2.00k | } scn::v3::impl::reader_impl_for_voidptr<char>::skip_ws_before_read() const Line | Count | Source | 5736 | 1.13k | { | 5737 | 1.13k | return true; | 5738 | 1.13k | } |
scn::v3::impl::reader_impl_for_voidptr<wchar_t>::skip_ws_before_read() const Line | Count | Source | 5736 | 868 | { | 5737 | 868 | return true; | 5738 | 868 | } |
|
5739 | | |
5740 | | static scan_error check_specs(const detail::format_specs& specs) |
5741 | 7.85k | { |
5742 | 7.85k | reader_error_handler eh{}; |
5743 | 7.85k | detail::check_pointer_type_specs(specs, eh); |
5744 | 7.85k | if (SCN_UNLIKELY(!eh)) { |
5745 | 6.96k | return {scan_error::invalid_format_string, eh.m_msg}; |
5746 | 6.96k | } |
5747 | 892 | return {}; |
5748 | 7.85k | } scn::v3::impl::reader_impl_for_voidptr<char>::check_specs(scn::v3::detail::format_specs const&) Line | Count | Source | 5741 | 5.16k | { | 5742 | 5.16k | reader_error_handler eh{}; | 5743 | 5.16k | detail::check_pointer_type_specs(specs, eh); | 5744 | 5.16k | if (SCN_UNLIKELY(!eh)) { | 5745 | 4.66k | return {scan_error::invalid_format_string, eh.m_msg}; | 5746 | 4.66k | } | 5747 | 498 | return {}; | 5748 | 5.16k | } |
scn::v3::impl::reader_impl_for_voidptr<wchar_t>::check_specs(scn::v3::detail::format_specs const&) Line | Count | Source | 5741 | 2.69k | { | 5742 | 2.69k | reader_error_handler eh{}; | 5743 | 2.69k | detail::check_pointer_type_specs(specs, eh); | 5744 | 2.69k | if (SCN_UNLIKELY(!eh)) { | 5745 | 2.29k | return {scan_error::invalid_format_string, eh.m_msg}; | 5746 | 2.29k | } | 5747 | 394 | return {}; | 5748 | 2.69k | } |
|
5749 | | |
5750 | | template <typename Range> |
5751 | | auto read_default(Range range, void*& value, detail::locale_ref loc) |
5752 | | -> scan_expected<ranges::const_iterator_t<Range>> |
5753 | 1.98k | { |
5754 | 1.98k | detail::format_specs specs{}; |
5755 | 1.98k | specs.type = detail::presentation_type::int_hex; |
5756 | | |
5757 | 1.98k | std::uintptr_t intvalue{}; |
5758 | 1.98k | SCN_TRY(result, reader_impl_for_int<CharT>{}.read_specs(range, specs, |
5759 | 0 | intvalue, loc)); |
5760 | 0 | value = reinterpret_cast<void*>(intvalue); |
5761 | 0 | return result; |
5762 | 1.98k | } _ZN3scn2v34impl23reader_impl_for_voidptrIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RPvNS0_6detail10locale_refE Line | Count | Source | 5753 | 880 | { | 5754 | 880 | detail::format_specs specs{}; | 5755 | 880 | specs.type = detail::presentation_type::int_hex; | 5756 | | | 5757 | 880 | std::uintptr_t intvalue{}; | 5758 | 880 | SCN_TRY(result, reader_impl_for_int<CharT>{}.read_specs(range, specs, | 5759 | 0 | intvalue, loc)); | 5760 | 0 | value = reinterpret_cast<void*>(intvalue); | 5761 | 0 | return result; | 5762 | 880 | } |
Unexecuted instantiation: _ZN3scn2v34impl23reader_impl_for_voidptrIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RPvNS9_10locale_refE _ZN3scn2v34impl23reader_impl_for_voidptrIcE12read_defaultINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RPvNS0_6detail10locale_refE Line | Count | Source | 5753 | 234 | { | 5754 | 234 | detail::format_specs specs{}; | 5755 | 234 | specs.type = detail::presentation_type::int_hex; | 5756 | | | 5757 | 234 | std::uintptr_t intvalue{}; | 5758 | 234 | SCN_TRY(result, reader_impl_for_int<CharT>{}.read_specs(range, specs, | 5759 | 0 | intvalue, loc)); | 5760 | 0 | value = reinterpret_cast<void*>(intvalue); | 5761 | 0 | return result; | 5762 | 234 | } |
Unexecuted instantiation: _ZN3scn2v34impl23reader_impl_for_voidptrIcE12read_defaultINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RPvNSA_10locale_refE _ZN3scn2v34impl23reader_impl_for_voidptrIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RPvNS0_6detail10locale_refE Line | Count | Source | 5753 | 776 | { | 5754 | 776 | detail::format_specs specs{}; | 5755 | 776 | specs.type = detail::presentation_type::int_hex; | 5756 | | | 5757 | 776 | std::uintptr_t intvalue{}; | 5758 | 776 | SCN_TRY(result, reader_impl_for_int<CharT>{}.read_specs(range, specs, | 5759 | 0 | intvalue, loc)); | 5760 | 0 | value = reinterpret_cast<void*>(intvalue); | 5761 | 0 | return result; | 5762 | 776 | } |
_ZN3scn2v34impl23reader_impl_for_voidptrIwE12read_defaultINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RPvNS0_6detail10locale_refE Line | Count | Source | 5753 | 90 | { | 5754 | 90 | detail::format_specs specs{}; | 5755 | 90 | specs.type = detail::presentation_type::int_hex; | 5756 | | | 5757 | 90 | std::uintptr_t intvalue{}; | 5758 | 90 | SCN_TRY(result, reader_impl_for_int<CharT>{}.read_specs(range, specs, | 5759 | 0 | intvalue, loc)); | 5760 | 0 | value = reinterpret_cast<void*>(intvalue); | 5761 | 0 | return result; | 5762 | 90 | } |
Unexecuted instantiation: _ZN3scn2v34impl23reader_impl_for_voidptrIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RPvNS9_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl23reader_impl_for_voidptrIwE12read_defaultINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RPvNSA_10locale_refE |
5763 | | |
5764 | | template <typename Range> |
5765 | | auto read_specs(Range range, |
5766 | | const detail::format_specs& specs, |
5767 | | void*& value, |
5768 | | detail::locale_ref loc) |
5769 | | -> scan_expected<ranges::const_iterator_t<Range>> |
5770 | 870 | { |
5771 | 870 | SCN_UNUSED(specs); |
5772 | 870 | return read_default(range, value, loc); |
5773 | 870 | } _ZN3scn2v34impl23reader_impl_for_voidptrIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERPvNSN_10locale_refE Line | Count | Source | 5770 | 234 | { | 5771 | 234 | SCN_UNUSED(specs); | 5772 | 234 | return read_default(range, value, loc); | 5773 | 234 | } |
_ZN3scn2v34impl23reader_impl_for_voidptrIcE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERPvNSL_10locale_refE Line | Count | Source | 5770 | 244 | { | 5771 | 244 | SCN_UNUSED(specs); | 5772 | 244 | return read_default(range, value, loc); | 5773 | 244 | } |
Unexecuted instantiation: _ZN3scn2v34impl23reader_impl_for_voidptrIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERPvNSA_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl23reader_impl_for_voidptrIcE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERPvNS9_10locale_refE _ZN3scn2v34impl23reader_impl_for_voidptrIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERPvNSN_10locale_refE Line | Count | Source | 5770 | 90 | { | 5771 | 90 | SCN_UNUSED(specs); | 5772 | 90 | return read_default(range, value, loc); | 5773 | 90 | } |
_ZN3scn2v34impl23reader_impl_for_voidptrIwE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERPvNSL_10locale_refE Line | Count | Source | 5770 | 302 | { | 5771 | 302 | SCN_UNUSED(specs); | 5772 | 302 | return read_default(range, value, loc); | 5773 | 302 | } |
Unexecuted instantiation: _ZN3scn2v34impl23reader_impl_for_voidptrIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERPvNSA_10locale_refE Unexecuted instantiation: _ZN3scn2v34impl23reader_impl_for_voidptrIwE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERPvNS9_10locale_refE |
5774 | | }; |
5775 | | |
5776 | | ///////////////////////////////////////////////////////////////// |
5777 | | // Argument readers |
5778 | | ///////////////////////////////////////////////////////////////// |
5779 | | |
5780 | | template <typename Range> |
5781 | | auto skip_ws_before_if_required(bool is_required, Range range) |
5782 | | -> eof_expected<ranges::iterator_t<Range>> |
5783 | 9.99k | { |
5784 | 9.99k | if (auto e = eof_check(range); SCN_UNLIKELY(!e)) { |
5785 | 0 | return unexpected(e); |
5786 | 0 | } |
5787 | | |
5788 | 9.99k | if (!is_required) { |
5789 | 1.11k | return range.begin(); |
5790 | 1.11k | } |
5791 | | |
5792 | 8.88k | return skip_classic_whitespace(range); |
5793 | 9.99k | } _ZN3scn2v34impl26skip_ws_before_if_requiredINS0_6ranges6detail9subrange_8subrangeIPKcS8_EEEENS1_12eof_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRT_EEEEEEbSB_ Line | Count | Source | 5783 | 5.72k | { | 5784 | 5.72k | if (auto e = eof_check(range); SCN_UNLIKELY(!e)) { | 5785 | 0 | return unexpected(e); | 5786 | 0 | } | 5787 | | | 5788 | 5.72k | if (!is_required) { | 5789 | 636 | return range.begin(); | 5790 | 636 | } | 5791 | | | 5792 | 5.08k | return skip_classic_whitespace(range); | 5793 | 5.72k | } |
Unexecuted instantiation: _ZN3scn2v34impl26skip_ws_before_if_requiredINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEEEENS1_12eof_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRT_EEEEEEbSE_ Unexecuted instantiation: _ZN3scn2v34impl26skip_ws_before_if_requiredINSt3__117basic_string_viewIcNS3_11char_traitsIcEEEEEENS1_12eof_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT_EEEEEEbSA_ _ZN3scn2v34impl26skip_ws_before_if_requiredINS0_6ranges6detail9subrange_8subrangeIPKwS8_EEEENS1_12eof_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRT_EEEEEEbSB_ Line | Count | Source | 5783 | 4.26k | { | 5784 | 4.26k | if (auto e = eof_check(range); SCN_UNLIKELY(!e)) { | 5785 | 0 | return unexpected(e); | 5786 | 0 | } | 5787 | | | 5788 | 4.26k | if (!is_required) { | 5789 | 474 | return range.begin(); | 5790 | 474 | } | 5791 | | | 5792 | 3.79k | return skip_classic_whitespace(range); | 5793 | 4.26k | } |
Unexecuted instantiation: _ZN3scn2v34impl26skip_ws_before_if_requiredINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEEEENS1_12eof_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRT_EEEEEEbSE_ Unexecuted instantiation: _ZN3scn2v34impl26skip_ws_before_if_requiredINSt3__117basic_string_viewIwNS3_11char_traitsIwEEEEEENS1_12eof_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT_EEEEEEbSA_ |
5794 | | |
5795 | | template <typename T, typename CharT> |
5796 | | constexpr auto make_reader() |
5797 | 26.8k | { |
5798 | | if constexpr (std::is_same_v<T, bool>) { |
5799 | | return reader_impl_for_bool<CharT>{}; |
5800 | | } |
5801 | | else if constexpr (std::is_same_v<T, char>) { |
5802 | | return reader_impl_for_char<CharT>{}; |
5803 | | } |
5804 | | else if constexpr (std::is_same_v<T, wchar_t>) { |
5805 | | return reader_impl_for_wchar<CharT>{}; |
5806 | | } |
5807 | | else if constexpr (std::is_same_v<T, char32_t>) { |
5808 | | return reader_impl_for_code_point<CharT>{}; |
5809 | | } |
5810 | | else if constexpr (std::is_same_v<T, std::string_view> || |
5811 | 8.96k | std::is_same_v<T, std::wstring_view>) { |
5812 | 8.96k | return reader_impl_for_string<CharT>{}; |
5813 | | } |
5814 | | else if constexpr (std::is_same_v<T, std::string> || |
5815 | 17.9k | std::is_same_v<T, std::wstring>) { |
5816 | 17.9k | return reader_impl_for_string<CharT>{}; |
5817 | | } |
5818 | | else if constexpr (std::is_same_v<T, regex_matches> || |
5819 | | std::is_same_v<T, wregex_matches>) { |
5820 | | return reader_impl_for_regex_matches<CharT>{}; |
5821 | | } |
5822 | | else if constexpr (std::is_same_v<T, void*>) { |
5823 | | return reader_impl_for_voidptr<CharT>{}; |
5824 | | } |
5825 | | else if constexpr (std::is_floating_point_v<T>) { |
5826 | | return reader_impl_for_float<CharT>{}; |
5827 | | } |
5828 | | else if constexpr (std::is_integral_v<T> && !std::is_same_v<T, char> && |
5829 | | !std::is_same_v<T, wchar_t> && |
5830 | | !std::is_same_v<T, char32_t> && |
5831 | | !std::is_same_v<T, bool>) { |
5832 | | return reader_impl_for_int<CharT>{}; |
5833 | | } |
5834 | | else { |
5835 | | return reader_impl_for_monostate<CharT>{}; |
5836 | | } |
5837 | 26.8k | } auto scn::v3::impl::make_reader<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, char>() Line | Count | Source | 5797 | 5.79k | { | 5798 | | if constexpr (std::is_same_v<T, bool>) { | 5799 | | return reader_impl_for_bool<CharT>{}; | 5800 | | } | 5801 | | else if constexpr (std::is_same_v<T, char>) { | 5802 | | return reader_impl_for_char<CharT>{}; | 5803 | | } | 5804 | | else if constexpr (std::is_same_v<T, wchar_t>) { | 5805 | | return reader_impl_for_wchar<CharT>{}; | 5806 | | } | 5807 | | else if constexpr (std::is_same_v<T, char32_t>) { | 5808 | | return reader_impl_for_code_point<CharT>{}; | 5809 | | } | 5810 | | else if constexpr (std::is_same_v<T, std::string_view> || | 5811 | | std::is_same_v<T, std::wstring_view>) { | 5812 | | return reader_impl_for_string<CharT>{}; | 5813 | | } | 5814 | | else if constexpr (std::is_same_v<T, std::string> || | 5815 | 5.79k | std::is_same_v<T, std::wstring>) { | 5816 | 5.79k | return reader_impl_for_string<CharT>{}; | 5817 | | } | 5818 | | else if constexpr (std::is_same_v<T, regex_matches> || | 5819 | | std::is_same_v<T, wregex_matches>) { | 5820 | | return reader_impl_for_regex_matches<CharT>{}; | 5821 | | } | 5822 | | else if constexpr (std::is_same_v<T, void*>) { | 5823 | | return reader_impl_for_voidptr<CharT>{}; | 5824 | | } | 5825 | | else if constexpr (std::is_floating_point_v<T>) { | 5826 | | return reader_impl_for_float<CharT>{}; | 5827 | | } | 5828 | | else if constexpr (std::is_integral_v<T> && !std::is_same_v<T, char> && | 5829 | | !std::is_same_v<T, wchar_t> && | 5830 | | !std::is_same_v<T, char32_t> && | 5831 | | !std::is_same_v<T, bool>) { | 5832 | | return reader_impl_for_int<CharT>{}; | 5833 | | } | 5834 | | else { | 5835 | | return reader_impl_for_monostate<CharT>{}; | 5836 | | } | 5837 | 5.79k | } |
auto scn::v3::impl::make_reader<std::__1::basic_string<wchar_t, std::__1::char_traits<wchar_t>, std::__1::allocator<wchar_t> >, char>() Line | Count | Source | 5797 | 5.79k | { | 5798 | | if constexpr (std::is_same_v<T, bool>) { | 5799 | | return reader_impl_for_bool<CharT>{}; | 5800 | | } | 5801 | | else if constexpr (std::is_same_v<T, char>) { | 5802 | | return reader_impl_for_char<CharT>{}; | 5803 | | } | 5804 | | else if constexpr (std::is_same_v<T, wchar_t>) { | 5805 | | return reader_impl_for_wchar<CharT>{}; | 5806 | | } | 5807 | | else if constexpr (std::is_same_v<T, char32_t>) { | 5808 | | return reader_impl_for_code_point<CharT>{}; | 5809 | | } | 5810 | | else if constexpr (std::is_same_v<T, std::string_view> || | 5811 | | std::is_same_v<T, std::wstring_view>) { | 5812 | | return reader_impl_for_string<CharT>{}; | 5813 | | } | 5814 | | else if constexpr (std::is_same_v<T, std::string> || | 5815 | 5.79k | std::is_same_v<T, std::wstring>) { | 5816 | 5.79k | return reader_impl_for_string<CharT>{}; | 5817 | | } | 5818 | | else if constexpr (std::is_same_v<T, regex_matches> || | 5819 | | std::is_same_v<T, wregex_matches>) { | 5820 | | return reader_impl_for_regex_matches<CharT>{}; | 5821 | | } | 5822 | | else if constexpr (std::is_same_v<T, void*>) { | 5823 | | return reader_impl_for_voidptr<CharT>{}; | 5824 | | } | 5825 | | else if constexpr (std::is_floating_point_v<T>) { | 5826 | | return reader_impl_for_float<CharT>{}; | 5827 | | } | 5828 | | else if constexpr (std::is_integral_v<T> && !std::is_same_v<T, char> && | 5829 | | !std::is_same_v<T, wchar_t> && | 5830 | | !std::is_same_v<T, char32_t> && | 5831 | | !std::is_same_v<T, bool>) { | 5832 | | return reader_impl_for_int<CharT>{}; | 5833 | | } | 5834 | | else { | 5835 | | return reader_impl_for_monostate<CharT>{}; | 5836 | | } | 5837 | 5.79k | } |
auto scn::v3::impl::make_reader<std::__1::basic_string_view<char, std::__1::char_traits<char> >, char>() Line | Count | Source | 5797 | 5.79k | { | 5798 | | if constexpr (std::is_same_v<T, bool>) { | 5799 | | return reader_impl_for_bool<CharT>{}; | 5800 | | } | 5801 | | else if constexpr (std::is_same_v<T, char>) { | 5802 | | return reader_impl_for_char<CharT>{}; | 5803 | | } | 5804 | | else if constexpr (std::is_same_v<T, wchar_t>) { | 5805 | | return reader_impl_for_wchar<CharT>{}; | 5806 | | } | 5807 | | else if constexpr (std::is_same_v<T, char32_t>) { | 5808 | | return reader_impl_for_code_point<CharT>{}; | 5809 | | } | 5810 | | else if constexpr (std::is_same_v<T, std::string_view> || | 5811 | 5.79k | std::is_same_v<T, std::wstring_view>) { | 5812 | 5.79k | return reader_impl_for_string<CharT>{}; | 5813 | | } | 5814 | | else if constexpr (std::is_same_v<T, std::string> || | 5815 | | std::is_same_v<T, std::wstring>) { | 5816 | | return reader_impl_for_string<CharT>{}; | 5817 | | } | 5818 | | else if constexpr (std::is_same_v<T, regex_matches> || | 5819 | | std::is_same_v<T, wregex_matches>) { | 5820 | | return reader_impl_for_regex_matches<CharT>{}; | 5821 | | } | 5822 | | else if constexpr (std::is_same_v<T, void*>) { | 5823 | | return reader_impl_for_voidptr<CharT>{}; | 5824 | | } | 5825 | | else if constexpr (std::is_floating_point_v<T>) { | 5826 | | return reader_impl_for_float<CharT>{}; | 5827 | | } | 5828 | | else if constexpr (std::is_integral_v<T> && !std::is_same_v<T, char> && | 5829 | | !std::is_same_v<T, wchar_t> && | 5830 | | !std::is_same_v<T, char32_t> && | 5831 | | !std::is_same_v<T, bool>) { | 5832 | | return reader_impl_for_int<CharT>{}; | 5833 | | } | 5834 | | else { | 5835 | | return reader_impl_for_monostate<CharT>{}; | 5836 | | } | 5837 | 5.79k | } |
Unexecuted instantiation: auto scn::v3::impl::make_reader<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> >, char>() auto scn::v3::impl::make_reader<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, wchar_t>() Line | Count | Source | 5797 | 3.16k | { | 5798 | | if constexpr (std::is_same_v<T, bool>) { | 5799 | | return reader_impl_for_bool<CharT>{}; | 5800 | | } | 5801 | | else if constexpr (std::is_same_v<T, char>) { | 5802 | | return reader_impl_for_char<CharT>{}; | 5803 | | } | 5804 | | else if constexpr (std::is_same_v<T, wchar_t>) { | 5805 | | return reader_impl_for_wchar<CharT>{}; | 5806 | | } | 5807 | | else if constexpr (std::is_same_v<T, char32_t>) { | 5808 | | return reader_impl_for_code_point<CharT>{}; | 5809 | | } | 5810 | | else if constexpr (std::is_same_v<T, std::string_view> || | 5811 | | std::is_same_v<T, std::wstring_view>) { | 5812 | | return reader_impl_for_string<CharT>{}; | 5813 | | } | 5814 | | else if constexpr (std::is_same_v<T, std::string> || | 5815 | 3.16k | std::is_same_v<T, std::wstring>) { | 5816 | 3.16k | return reader_impl_for_string<CharT>{}; | 5817 | | } | 5818 | | else if constexpr (std::is_same_v<T, regex_matches> || | 5819 | | std::is_same_v<T, wregex_matches>) { | 5820 | | return reader_impl_for_regex_matches<CharT>{}; | 5821 | | } | 5822 | | else if constexpr (std::is_same_v<T, void*>) { | 5823 | | return reader_impl_for_voidptr<CharT>{}; | 5824 | | } | 5825 | | else if constexpr (std::is_floating_point_v<T>) { | 5826 | | return reader_impl_for_float<CharT>{}; | 5827 | | } | 5828 | | else if constexpr (std::is_integral_v<T> && !std::is_same_v<T, char> && | 5829 | | !std::is_same_v<T, wchar_t> && | 5830 | | !std::is_same_v<T, char32_t> && | 5831 | | !std::is_same_v<T, bool>) { | 5832 | | return reader_impl_for_int<CharT>{}; | 5833 | | } | 5834 | | else { | 5835 | | return reader_impl_for_monostate<CharT>{}; | 5836 | | } | 5837 | 3.16k | } |
auto scn::v3::impl::make_reader<std::__1::basic_string<wchar_t, std::__1::char_traits<wchar_t>, std::__1::allocator<wchar_t> >, wchar_t>() Line | Count | Source | 5797 | 3.16k | { | 5798 | | if constexpr (std::is_same_v<T, bool>) { | 5799 | | return reader_impl_for_bool<CharT>{}; | 5800 | | } | 5801 | | else if constexpr (std::is_same_v<T, char>) { | 5802 | | return reader_impl_for_char<CharT>{}; | 5803 | | } | 5804 | | else if constexpr (std::is_same_v<T, wchar_t>) { | 5805 | | return reader_impl_for_wchar<CharT>{}; | 5806 | | } | 5807 | | else if constexpr (std::is_same_v<T, char32_t>) { | 5808 | | return reader_impl_for_code_point<CharT>{}; | 5809 | | } | 5810 | | else if constexpr (std::is_same_v<T, std::string_view> || | 5811 | | std::is_same_v<T, std::wstring_view>) { | 5812 | | return reader_impl_for_string<CharT>{}; | 5813 | | } | 5814 | | else if constexpr (std::is_same_v<T, std::string> || | 5815 | 3.16k | std::is_same_v<T, std::wstring>) { | 5816 | 3.16k | return reader_impl_for_string<CharT>{}; | 5817 | | } | 5818 | | else if constexpr (std::is_same_v<T, regex_matches> || | 5819 | | std::is_same_v<T, wregex_matches>) { | 5820 | | return reader_impl_for_regex_matches<CharT>{}; | 5821 | | } | 5822 | | else if constexpr (std::is_same_v<T, void*>) { | 5823 | | return reader_impl_for_voidptr<CharT>{}; | 5824 | | } | 5825 | | else if constexpr (std::is_floating_point_v<T>) { | 5826 | | return reader_impl_for_float<CharT>{}; | 5827 | | } | 5828 | | else if constexpr (std::is_integral_v<T> && !std::is_same_v<T, char> && | 5829 | | !std::is_same_v<T, wchar_t> && | 5830 | | !std::is_same_v<T, char32_t> && | 5831 | | !std::is_same_v<T, bool>) { | 5832 | | return reader_impl_for_int<CharT>{}; | 5833 | | } | 5834 | | else { | 5835 | | return reader_impl_for_monostate<CharT>{}; | 5836 | | } | 5837 | 3.16k | } |
Unexecuted instantiation: auto scn::v3::impl::make_reader<std::__1::basic_string_view<char, std::__1::char_traits<char> >, wchar_t>() auto scn::v3::impl::make_reader<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> >, wchar_t>() Line | Count | Source | 5797 | 3.16k | { | 5798 | | if constexpr (std::is_same_v<T, bool>) { | 5799 | | return reader_impl_for_bool<CharT>{}; | 5800 | | } | 5801 | | else if constexpr (std::is_same_v<T, char>) { | 5802 | | return reader_impl_for_char<CharT>{}; | 5803 | | } | 5804 | | else if constexpr (std::is_same_v<T, wchar_t>) { | 5805 | | return reader_impl_for_wchar<CharT>{}; | 5806 | | } | 5807 | | else if constexpr (std::is_same_v<T, char32_t>) { | 5808 | | return reader_impl_for_code_point<CharT>{}; | 5809 | | } | 5810 | | else if constexpr (std::is_same_v<T, std::string_view> || | 5811 | 3.16k | std::is_same_v<T, std::wstring_view>) { | 5812 | 3.16k | return reader_impl_for_string<CharT>{}; | 5813 | | } | 5814 | | else if constexpr (std::is_same_v<T, std::string> || | 5815 | | std::is_same_v<T, std::wstring>) { | 5816 | | return reader_impl_for_string<CharT>{}; | 5817 | | } | 5818 | | else if constexpr (std::is_same_v<T, regex_matches> || | 5819 | | std::is_same_v<T, wregex_matches>) { | 5820 | | return reader_impl_for_regex_matches<CharT>{}; | 5821 | | } | 5822 | | else if constexpr (std::is_same_v<T, void*>) { | 5823 | | return reader_impl_for_voidptr<CharT>{}; | 5824 | | } | 5825 | | else if constexpr (std::is_floating_point_v<T>) { | 5826 | | return reader_impl_for_float<CharT>{}; | 5827 | | } | 5828 | | else if constexpr (std::is_integral_v<T> && !std::is_same_v<T, char> && | 5829 | | !std::is_same_v<T, wchar_t> && | 5830 | | !std::is_same_v<T, char32_t> && | 5831 | | !std::is_same_v<T, bool>) { | 5832 | | return reader_impl_for_int<CharT>{}; | 5833 | | } | 5834 | | else { | 5835 | | return reader_impl_for_monostate<CharT>{}; | 5836 | | } | 5837 | 3.16k | } |
Unexecuted instantiation: auto scn::v3::impl::make_reader<char, char>() Unexecuted instantiation: auto scn::v3::impl::make_reader<signed char, char>() Unexecuted instantiation: auto scn::v3::impl::make_reader<short, char>() Unexecuted instantiation: auto scn::v3::impl::make_reader<int, char>() Unexecuted instantiation: auto scn::v3::impl::make_reader<long, char>() Unexecuted instantiation: auto scn::v3::impl::make_reader<long long, char>() Unexecuted instantiation: auto scn::v3::impl::make_reader<unsigned char, char>() Unexecuted instantiation: auto scn::v3::impl::make_reader<unsigned short, char>() Unexecuted instantiation: auto scn::v3::impl::make_reader<unsigned int, char>() Unexecuted instantiation: auto scn::v3::impl::make_reader<unsigned long, char>() Unexecuted instantiation: auto scn::v3::impl::make_reader<unsigned long long, char>() Unexecuted instantiation: auto scn::v3::impl::make_reader<float, char>() Unexecuted instantiation: auto scn::v3::impl::make_reader<double, char>() Unexecuted instantiation: auto scn::v3::impl::make_reader<long double, char>() Unexecuted instantiation: auto scn::v3::impl::make_reader<scn::v3::basic_regex_matches<char>, char>() Unexecuted instantiation: auto scn::v3::impl::make_reader<scn::v3::basic_regex_matches<wchar_t>, char>() Unexecuted instantiation: auto scn::v3::impl::make_reader<wchar_t, wchar_t>() Unexecuted instantiation: auto scn::v3::impl::make_reader<signed char, wchar_t>() Unexecuted instantiation: auto scn::v3::impl::make_reader<short, wchar_t>() Unexecuted instantiation: auto scn::v3::impl::make_reader<int, wchar_t>() Unexecuted instantiation: auto scn::v3::impl::make_reader<long, wchar_t>() Unexecuted instantiation: auto scn::v3::impl::make_reader<long long, wchar_t>() Unexecuted instantiation: auto scn::v3::impl::make_reader<unsigned char, wchar_t>() Unexecuted instantiation: auto scn::v3::impl::make_reader<unsigned short, wchar_t>() Unexecuted instantiation: auto scn::v3::impl::make_reader<unsigned int, wchar_t>() Unexecuted instantiation: auto scn::v3::impl::make_reader<unsigned long, wchar_t>() Unexecuted instantiation: auto scn::v3::impl::make_reader<unsigned long long, wchar_t>() Unexecuted instantiation: auto scn::v3::impl::make_reader<float, wchar_t>() Unexecuted instantiation: auto scn::v3::impl::make_reader<double, wchar_t>() Unexecuted instantiation: auto scn::v3::impl::make_reader<long double, wchar_t>() Unexecuted instantiation: auto scn::v3::impl::make_reader<scn::v3::basic_regex_matches<char>, wchar_t>() Unexecuted instantiation: auto scn::v3::impl::make_reader<scn::v3::basic_regex_matches<wchar_t>, wchar_t>() Unexecuted instantiation: auto scn::v3::impl::make_reader<void*, char>() Unexecuted instantiation: auto scn::v3::impl::make_reader<bool, char>() Unexecuted instantiation: auto scn::v3::impl::make_reader<wchar_t, char>() Unexecuted instantiation: auto scn::v3::impl::make_reader<char32_t, char>() Unexecuted instantiation: auto scn::v3::impl::make_reader<scn::v3::monostate, char>() Unexecuted instantiation: auto scn::v3::impl::make_reader<void*, wchar_t>() Unexecuted instantiation: auto scn::v3::impl::make_reader<bool, wchar_t>() Unexecuted instantiation: auto scn::v3::impl::make_reader<char, wchar_t>() Unexecuted instantiation: auto scn::v3::impl::make_reader<char32_t, wchar_t>() Unexecuted instantiation: auto scn::v3::impl::make_reader<scn::v3::monostate, wchar_t>() |
5838 | | |
5839 | | template <typename Context> |
5840 | | struct default_arg_reader { |
5841 | | using context_type = Context; |
5842 | | using char_type = typename context_type::char_type; |
5843 | | using args_type = typename context_type::args_type; |
5844 | | |
5845 | | using range_type = typename context_type::range_type; |
5846 | | using iterator = ranges::iterator_t<range_type>; |
5847 | | |
5848 | | template <typename Reader, typename Range, typename T> |
5849 | | auto impl(Reader& rd, Range rng, T& value) |
5850 | | -> scan_expected<ranges::iterator_t<Range>> |
5851 | 9.99k | { |
5852 | 9.99k | SCN_TRY(it, skip_ws_before_if_required(rd.skip_ws_before_read(), rng) |
5853 | 9.99k | .transform_error(make_eof_scan_error)); |
5854 | 9.99k | return rd.read_default(ranges::subrange{it, rng.end()}, value, loc); |
5855 | 9.99k | } Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS1_29basic_contiguous_scan_contextIcEEE4implINS1_19reader_impl_for_intIcEENS0_6ranges6detail9subrange_8subrangeIPKcSE_EEaEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS1_29basic_contiguous_scan_contextIcEEE4implINS1_19reader_impl_for_intIcEENS0_6ranges6detail9subrange_8subrangeIPKcSE_EEsEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ _ZN3scn2v34impl18default_arg_readerINS1_29basic_contiguous_scan_contextIcEEE4implINS1_19reader_impl_for_intIcEENS0_6ranges6detail9subrange_8subrangeIPKcSE_EEiEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Line | Count | Source | 5851 | 636 | { | 5852 | 636 | SCN_TRY(it, skip_ws_before_if_required(rd.skip_ws_before_read(), rng) | 5853 | 636 | .transform_error(make_eof_scan_error)); | 5854 | 636 | return rd.read_default(ranges::subrange{it, rng.end()}, value, loc); | 5855 | 636 | } |
Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS1_29basic_contiguous_scan_contextIcEEE4implINS1_19reader_impl_for_intIcEENS0_6ranges6detail9subrange_8subrangeIPKcSE_EElEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS1_29basic_contiguous_scan_contextIcEEE4implINS1_19reader_impl_for_intIcEENS0_6ranges6detail9subrange_8subrangeIPKcSE_EExEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS1_29basic_contiguous_scan_contextIcEEE4implINS1_19reader_impl_for_intIcEENS0_6ranges6detail9subrange_8subrangeIPKcSE_EEhEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS1_29basic_contiguous_scan_contextIcEEE4implINS1_19reader_impl_for_intIcEENS0_6ranges6detail9subrange_8subrangeIPKcSE_EEtEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ _ZN3scn2v34impl18default_arg_readerINS1_29basic_contiguous_scan_contextIcEEE4implINS1_19reader_impl_for_intIcEENS0_6ranges6detail9subrange_8subrangeIPKcSE_EEjEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Line | Count | Source | 5851 | 636 | { | 5852 | 636 | SCN_TRY(it, skip_ws_before_if_required(rd.skip_ws_before_read(), rng) | 5853 | 636 | .transform_error(make_eof_scan_error)); | 5854 | 636 | return rd.read_default(ranges::subrange{it, rng.end()}, value, loc); | 5855 | 636 | } |
Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS1_29basic_contiguous_scan_contextIcEEE4implINS1_19reader_impl_for_intIcEENS0_6ranges6detail9subrange_8subrangeIPKcSE_EEmEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS1_29basic_contiguous_scan_contextIcEEE4implINS1_19reader_impl_for_intIcEENS0_6ranges6detail9subrange_8subrangeIPKcSE_EEyEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ _ZN3scn2v34impl18default_arg_readerINS1_29basic_contiguous_scan_contextIcEEE4implINS1_23reader_impl_for_voidptrIcEENS0_6ranges6detail9subrange_8subrangeIPKcSE_EEPvEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Line | Count | Source | 5851 | 636 | { | 5852 | 636 | SCN_TRY(it, skip_ws_before_if_required(rd.skip_ws_before_read(), rng) | 5853 | 636 | .transform_error(make_eof_scan_error)); | 5854 | 636 | return rd.read_default(ranges::subrange{it, rng.end()}, value, loc); | 5855 | 636 | } |
_ZN3scn2v34impl18default_arg_readerINS1_29basic_contiguous_scan_contextIcEEE4implINS1_20reader_impl_for_boolIcEENS0_6ranges6detail9subrange_8subrangeIPKcSE_EEbEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Line | Count | Source | 5851 | 636 | { | 5852 | 636 | SCN_TRY(it, skip_ws_before_if_required(rd.skip_ws_before_read(), rng) | 5853 | 636 | .transform_error(make_eof_scan_error)); | 5854 | 636 | return rd.read_default(ranges::subrange{it, rng.end()}, value, loc); | 5855 | 636 | } |
_ZN3scn2v34impl18default_arg_readerINS1_29basic_contiguous_scan_contextIcEEE4implINS1_20reader_impl_for_charIcEENS0_6ranges6detail9subrange_8subrangeIPKcSE_EEcEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Line | Count | Source | 5851 | 636 | { | 5852 | 636 | SCN_TRY(it, skip_ws_before_if_required(rd.skip_ws_before_read(), rng) | 5853 | 636 | .transform_error(make_eof_scan_error)); | 5854 | 636 | return rd.read_default(ranges::subrange{it, rng.end()}, value, loc); | 5855 | 636 | } |
Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS1_29basic_contiguous_scan_contextIcEEE4implINS1_21reader_impl_for_wcharIcEENS0_6ranges6detail9subrange_8subrangeIPKcSE_EEwEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS1_29basic_contiguous_scan_contextIcEEE4implINS1_26reader_impl_for_code_pointIcEENS0_6ranges6detail9subrange_8subrangeIPKcSE_EEDiEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS1_29basic_contiguous_scan_contextIcEEE4implINS1_21reader_impl_for_floatIcEENS0_6ranges6detail9subrange_8subrangeIPKcSE_EEfEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ _ZN3scn2v34impl18default_arg_readerINS1_29basic_contiguous_scan_contextIcEEE4implINS1_21reader_impl_for_floatIcEENS0_6ranges6detail9subrange_8subrangeIPKcSE_EEdEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Line | Count | Source | 5851 | 636 | { | 5852 | 636 | SCN_TRY(it, skip_ws_before_if_required(rd.skip_ws_before_read(), rng) | 5853 | 636 | .transform_error(make_eof_scan_error)); | 5854 | 636 | return rd.read_default(ranges::subrange{it, rng.end()}, value, loc); | 5855 | 636 | } |
Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS1_29basic_contiguous_scan_contextIcEEE4implINS1_21reader_impl_for_floatIcEENS0_6ranges6detail9subrange_8subrangeIPKcSE_EEeEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ _ZN3scn2v34impl18default_arg_readerINS1_29basic_contiguous_scan_contextIcEEE4implINS1_22reader_impl_for_stringIcEENS0_6ranges6detail9subrange_8subrangeIPKcSE_EENSt3__117basic_string_viewIcNSG_11char_traitsIcEEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SM_RT1_ Line | Count | Source | 5851 | 636 | { | 5852 | 636 | SCN_TRY(it, skip_ws_before_if_required(rd.skip_ws_before_read(), rng) | 5853 | 636 | .transform_error(make_eof_scan_error)); | 5854 | 636 | return rd.read_default(ranges::subrange{it, rng.end()}, value, loc); | 5855 | 636 | } |
_ZN3scn2v34impl18default_arg_readerINS1_29basic_contiguous_scan_contextIcEEE4implINS1_22reader_impl_for_stringIcEENS0_6ranges6detail9subrange_8subrangeIPKcSE_EENSt3__112basic_stringIcNSG_11char_traitsIcEENSG_9allocatorIcEEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SO_RT1_ Line | Count | Source | 5851 | 636 | { | 5852 | 636 | SCN_TRY(it, skip_ws_before_if_required(rd.skip_ws_before_read(), rng) | 5853 | 636 | .transform_error(make_eof_scan_error)); | 5854 | 636 | return rd.read_default(ranges::subrange{it, rng.end()}, value, loc); | 5855 | 636 | } |
Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS1_29basic_contiguous_scan_contextIcEEE4implINS1_22reader_impl_for_stringIcEENS0_6ranges6detail9subrange_8subrangeIPKcSE_EENSt3__117basic_string_viewIwNSG_11char_traitsIwEEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SM_RT1_ _ZN3scn2v34impl18default_arg_readerINS1_29basic_contiguous_scan_contextIcEEE4implINS1_22reader_impl_for_stringIcEENS0_6ranges6detail9subrange_8subrangeIPKcSE_EENSt3__112basic_stringIwNSG_11char_traitsIwEENSG_9allocatorIwEEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SO_RT1_ Line | Count | Source | 5851 | 636 | { | 5852 | 636 | SCN_TRY(it, skip_ws_before_if_required(rd.skip_ws_before_read(), rng) | 5853 | 636 | .transform_error(make_eof_scan_error)); | 5854 | 636 | return rd.read_default(ranges::subrange{it, rng.end()}, value, loc); | 5855 | 636 | } |
Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS1_29basic_contiguous_scan_contextIcEEE4implINS1_29reader_impl_for_regex_matchesIcEENS0_6ranges6detail9subrange_8subrangeIPKcSE_EENS0_19basic_regex_matchesIcEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SJ_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS1_29basic_contiguous_scan_contextIcEEE4implINS1_29reader_impl_for_regex_matchesIcEENS0_6ranges6detail9subrange_8subrangeIPKcSE_EENS0_19basic_regex_matchesIwEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SJ_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS1_29basic_contiguous_scan_contextIcEEE4implINS1_25reader_impl_for_monostateIcEENS0_6ranges6detail9subrange_8subrangeIPKcSE_EENS0_9monostateEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS0_18basic_scan_contextIcEEE4implINS1_19reader_impl_for_intIcEENS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEaEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SK_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS0_18basic_scan_contextIcEEE4implINS1_19reader_impl_for_intIcEENSt3__117basic_string_viewIcNS9_11char_traitsIcEEEEaEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SG_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS0_18basic_scan_contextIcEEE4implINS1_19reader_impl_for_intIcEENS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEsEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SK_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS0_18basic_scan_contextIcEEE4implINS1_19reader_impl_for_intIcEENSt3__117basic_string_viewIcNS9_11char_traitsIcEEEEsEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SG_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS0_18basic_scan_contextIcEEE4implINS1_19reader_impl_for_intIcEENS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEiEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SK_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS0_18basic_scan_contextIcEEE4implINS1_19reader_impl_for_intIcEENSt3__117basic_string_viewIcNS9_11char_traitsIcEEEEiEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SG_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS0_18basic_scan_contextIcEEE4implINS1_19reader_impl_for_intIcEENS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEElEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SK_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS0_18basic_scan_contextIcEEE4implINS1_19reader_impl_for_intIcEENSt3__117basic_string_viewIcNS9_11char_traitsIcEEEElEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SG_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS0_18basic_scan_contextIcEEE4implINS1_19reader_impl_for_intIcEENS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEExEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SK_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS0_18basic_scan_contextIcEEE4implINS1_19reader_impl_for_intIcEENSt3__117basic_string_viewIcNS9_11char_traitsIcEEEExEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SG_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS0_18basic_scan_contextIcEEE4implINS1_19reader_impl_for_intIcEENS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEhEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SK_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS0_18basic_scan_contextIcEEE4implINS1_19reader_impl_for_intIcEENSt3__117basic_string_viewIcNS9_11char_traitsIcEEEEhEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SG_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS0_18basic_scan_contextIcEEE4implINS1_19reader_impl_for_intIcEENS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEtEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SK_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS0_18basic_scan_contextIcEEE4implINS1_19reader_impl_for_intIcEENSt3__117basic_string_viewIcNS9_11char_traitsIcEEEEtEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SG_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS0_18basic_scan_contextIcEEE4implINS1_19reader_impl_for_intIcEENS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEjEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SK_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS0_18basic_scan_contextIcEEE4implINS1_19reader_impl_for_intIcEENSt3__117basic_string_viewIcNS9_11char_traitsIcEEEEjEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SG_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS0_18basic_scan_contextIcEEE4implINS1_19reader_impl_for_intIcEENS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEmEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SK_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS0_18basic_scan_contextIcEEE4implINS1_19reader_impl_for_intIcEENSt3__117basic_string_viewIcNS9_11char_traitsIcEEEEmEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SG_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS0_18basic_scan_contextIcEEE4implINS1_19reader_impl_for_intIcEENS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEyEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SK_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS0_18basic_scan_contextIcEEE4implINS1_19reader_impl_for_intIcEENSt3__117basic_string_viewIcNS9_11char_traitsIcEEEEyEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SG_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS0_18basic_scan_contextIcEEE4implINS1_23reader_impl_for_voidptrIcEENS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEPvEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SL_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS0_18basic_scan_contextIcEEE4implINS1_23reader_impl_for_voidptrIcEENSt3__117basic_string_viewIcNS9_11char_traitsIcEEEEPvEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS0_18basic_scan_contextIcEEE4implINS1_20reader_impl_for_boolIcEENS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEbEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SK_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS0_18basic_scan_contextIcEEE4implINS1_20reader_impl_for_boolIcEENSt3__117basic_string_viewIcNS9_11char_traitsIcEEEEbEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SG_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS0_18basic_scan_contextIcEEE4implINS1_20reader_impl_for_charIcEENS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEcEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SK_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS0_18basic_scan_contextIcEEE4implINS1_20reader_impl_for_charIcEENSt3__117basic_string_viewIcNS9_11char_traitsIcEEEEcEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SG_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS0_18basic_scan_contextIcEEE4implINS1_21reader_impl_for_wcharIcEENS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEwEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SK_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS0_18basic_scan_contextIcEEE4implINS1_21reader_impl_for_wcharIcEENSt3__117basic_string_viewIcNS9_11char_traitsIcEEEEwEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SG_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS0_18basic_scan_contextIcEEE4implINS1_26reader_impl_for_code_pointIcEENS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEDiEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SK_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS0_18basic_scan_contextIcEEE4implINS1_26reader_impl_for_code_pointIcEENSt3__117basic_string_viewIcNS9_11char_traitsIcEEEEDiEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SG_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS0_18basic_scan_contextIcEEE4implINS1_21reader_impl_for_floatIcEENS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEfEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SK_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS0_18basic_scan_contextIcEEE4implINS1_21reader_impl_for_floatIcEENSt3__117basic_string_viewIcNS9_11char_traitsIcEEEEfEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SG_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS0_18basic_scan_contextIcEEE4implINS1_21reader_impl_for_floatIcEENS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEdEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SK_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS0_18basic_scan_contextIcEEE4implINS1_21reader_impl_for_floatIcEENSt3__117basic_string_viewIcNS9_11char_traitsIcEEEEdEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SG_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS0_18basic_scan_contextIcEEE4implINS1_21reader_impl_for_floatIcEENS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEeEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SK_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS0_18basic_scan_contextIcEEE4implINS1_21reader_impl_for_floatIcEENSt3__117basic_string_viewIcNS9_11char_traitsIcEEEEeEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SG_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS0_18basic_scan_contextIcEEE4implINS1_22reader_impl_for_stringIcEENS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEENSt3__117basic_string_viewIcNSJ_11char_traitsIcEEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SP_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS0_18basic_scan_contextIcEEE4implINS1_22reader_impl_for_stringIcEENSt3__117basic_string_viewIcNS9_11char_traitsIcEEEESD_EENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SG_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS0_18basic_scan_contextIcEEE4implINS1_22reader_impl_for_stringIcEENS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEENSt3__112basic_stringIcNSJ_11char_traitsIcEENSJ_9allocatorIcEEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SR_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS0_18basic_scan_contextIcEEE4implINS1_22reader_impl_for_stringIcEENSt3__117basic_string_viewIcNS9_11char_traitsIcEEEENS9_12basic_stringIcSC_NS9_9allocatorIcEEEEEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SK_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS0_18basic_scan_contextIcEEE4implINS1_22reader_impl_for_stringIcEENS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEENSt3__117basic_string_viewIwNSJ_11char_traitsIwEEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SP_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS0_18basic_scan_contextIcEEE4implINS1_22reader_impl_for_stringIcEENSt3__117basic_string_viewIcNS9_11char_traitsIcEEEENSA_IwNSB_IwEEEEEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS0_18basic_scan_contextIcEEE4implINS1_22reader_impl_for_stringIcEENS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEENSt3__112basic_stringIwNSJ_11char_traitsIwEENSJ_9allocatorIwEEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SR_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS0_18basic_scan_contextIcEEE4implINS1_22reader_impl_for_stringIcEENSt3__117basic_string_viewIcNS9_11char_traitsIcEEEENS9_12basic_stringIwNSB_IwEENS9_9allocatorIwEEEEEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SL_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS0_18basic_scan_contextIcEEE4implINS1_29reader_impl_for_regex_matchesIcEENS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEENS0_19basic_regex_matchesIcEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SM_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS0_18basic_scan_contextIcEEE4implINS1_29reader_impl_for_regex_matchesIcEENSt3__117basic_string_viewIcNS9_11char_traitsIcEEEENS0_19basic_regex_matchesIcEEEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS0_18basic_scan_contextIcEEE4implINS1_29reader_impl_for_regex_matchesIcEENS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEENS0_19basic_regex_matchesIwEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SM_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS0_18basic_scan_contextIcEEE4implINS1_29reader_impl_for_regex_matchesIcEENSt3__117basic_string_viewIcNS9_11char_traitsIcEEEENS0_19basic_regex_matchesIwEEEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS0_18basic_scan_contextIcEEE4implINS1_25reader_impl_for_monostateIcEENS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEENS0_9monostateEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SL_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS0_18basic_scan_contextIcEEE4implINS1_25reader_impl_for_monostateIcEENSt3__117basic_string_viewIcNS9_11char_traitsIcEEEENS0_9monostateEEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS1_29basic_contiguous_scan_contextIwEEE4implINS1_19reader_impl_for_intIwEENS0_6ranges6detail9subrange_8subrangeIPKwSE_EEaEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS1_29basic_contiguous_scan_contextIwEEE4implINS1_19reader_impl_for_intIwEENS0_6ranges6detail9subrange_8subrangeIPKwSE_EEsEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ _ZN3scn2v34impl18default_arg_readerINS1_29basic_contiguous_scan_contextIwEEE4implINS1_19reader_impl_for_intIwEENS0_6ranges6detail9subrange_8subrangeIPKwSE_EEiEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Line | Count | Source | 5851 | 474 | { | 5852 | 474 | SCN_TRY(it, skip_ws_before_if_required(rd.skip_ws_before_read(), rng) | 5853 | 474 | .transform_error(make_eof_scan_error)); | 5854 | 474 | return rd.read_default(ranges::subrange{it, rng.end()}, value, loc); | 5855 | 474 | } |
Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS1_29basic_contiguous_scan_contextIwEEE4implINS1_19reader_impl_for_intIwEENS0_6ranges6detail9subrange_8subrangeIPKwSE_EElEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS1_29basic_contiguous_scan_contextIwEEE4implINS1_19reader_impl_for_intIwEENS0_6ranges6detail9subrange_8subrangeIPKwSE_EExEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS1_29basic_contiguous_scan_contextIwEEE4implINS1_19reader_impl_for_intIwEENS0_6ranges6detail9subrange_8subrangeIPKwSE_EEhEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS1_29basic_contiguous_scan_contextIwEEE4implINS1_19reader_impl_for_intIwEENS0_6ranges6detail9subrange_8subrangeIPKwSE_EEtEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ _ZN3scn2v34impl18default_arg_readerINS1_29basic_contiguous_scan_contextIwEEE4implINS1_19reader_impl_for_intIwEENS0_6ranges6detail9subrange_8subrangeIPKwSE_EEjEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Line | Count | Source | 5851 | 474 | { | 5852 | 474 | SCN_TRY(it, skip_ws_before_if_required(rd.skip_ws_before_read(), rng) | 5853 | 474 | .transform_error(make_eof_scan_error)); | 5854 | 474 | return rd.read_default(ranges::subrange{it, rng.end()}, value, loc); | 5855 | 474 | } |
Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS1_29basic_contiguous_scan_contextIwEEE4implINS1_19reader_impl_for_intIwEENS0_6ranges6detail9subrange_8subrangeIPKwSE_EEmEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS1_29basic_contiguous_scan_contextIwEEE4implINS1_19reader_impl_for_intIwEENS0_6ranges6detail9subrange_8subrangeIPKwSE_EEyEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ _ZN3scn2v34impl18default_arg_readerINS1_29basic_contiguous_scan_contextIwEEE4implINS1_23reader_impl_for_voidptrIwEENS0_6ranges6detail9subrange_8subrangeIPKwSE_EEPvEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Line | Count | Source | 5851 | 474 | { | 5852 | 474 | SCN_TRY(it, skip_ws_before_if_required(rd.skip_ws_before_read(), rng) | 5853 | 474 | .transform_error(make_eof_scan_error)); | 5854 | 474 | return rd.read_default(ranges::subrange{it, rng.end()}, value, loc); | 5855 | 474 | } |
_ZN3scn2v34impl18default_arg_readerINS1_29basic_contiguous_scan_contextIwEEE4implINS1_20reader_impl_for_boolIwEENS0_6ranges6detail9subrange_8subrangeIPKwSE_EEbEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Line | Count | Source | 5851 | 474 | { | 5852 | 474 | SCN_TRY(it, skip_ws_before_if_required(rd.skip_ws_before_read(), rng) | 5853 | 474 | .transform_error(make_eof_scan_error)); | 5854 | 474 | return rd.read_default(ranges::subrange{it, rng.end()}, value, loc); | 5855 | 474 | } |
Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS1_29basic_contiguous_scan_contextIwEEE4implINS1_20reader_impl_for_charIwEENS0_6ranges6detail9subrange_8subrangeIPKwSE_EEcEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ _ZN3scn2v34impl18default_arg_readerINS1_29basic_contiguous_scan_contextIwEEE4implINS1_21reader_impl_for_wcharIwEENS0_6ranges6detail9subrange_8subrangeIPKwSE_EEwEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Line | Count | Source | 5851 | 474 | { | 5852 | 474 | SCN_TRY(it, skip_ws_before_if_required(rd.skip_ws_before_read(), rng) | 5853 | 474 | .transform_error(make_eof_scan_error)); | 5854 | 474 | return rd.read_default(ranges::subrange{it, rng.end()}, value, loc); | 5855 | 474 | } |
Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS1_29basic_contiguous_scan_contextIwEEE4implINS1_26reader_impl_for_code_pointIwEENS0_6ranges6detail9subrange_8subrangeIPKwSE_EEDiEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS1_29basic_contiguous_scan_contextIwEEE4implINS1_21reader_impl_for_floatIwEENS0_6ranges6detail9subrange_8subrangeIPKwSE_EEfEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ _ZN3scn2v34impl18default_arg_readerINS1_29basic_contiguous_scan_contextIwEEE4implINS1_21reader_impl_for_floatIwEENS0_6ranges6detail9subrange_8subrangeIPKwSE_EEdEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Line | Count | Source | 5851 | 474 | { | 5852 | 474 | SCN_TRY(it, skip_ws_before_if_required(rd.skip_ws_before_read(), rng) | 5853 | 474 | .transform_error(make_eof_scan_error)); | 5854 | 474 | return rd.read_default(ranges::subrange{it, rng.end()}, value, loc); | 5855 | 474 | } |
Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS1_29basic_contiguous_scan_contextIwEEE4implINS1_21reader_impl_for_floatIwEENS0_6ranges6detail9subrange_8subrangeIPKwSE_EEeEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS1_29basic_contiguous_scan_contextIwEEE4implINS1_22reader_impl_for_stringIwEENS0_6ranges6detail9subrange_8subrangeIPKwSE_EENSt3__117basic_string_viewIcNSG_11char_traitsIcEEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SM_RT1_ _ZN3scn2v34impl18default_arg_readerINS1_29basic_contiguous_scan_contextIwEEE4implINS1_22reader_impl_for_stringIwEENS0_6ranges6detail9subrange_8subrangeIPKwSE_EENSt3__112basic_stringIcNSG_11char_traitsIcEENSG_9allocatorIcEEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SO_RT1_ Line | Count | Source | 5851 | 474 | { | 5852 | 474 | SCN_TRY(it, skip_ws_before_if_required(rd.skip_ws_before_read(), rng) | 5853 | 474 | .transform_error(make_eof_scan_error)); | 5854 | 474 | return rd.read_default(ranges::subrange{it, rng.end()}, value, loc); | 5855 | 474 | } |
_ZN3scn2v34impl18default_arg_readerINS1_29basic_contiguous_scan_contextIwEEE4implINS1_22reader_impl_for_stringIwEENS0_6ranges6detail9subrange_8subrangeIPKwSE_EENSt3__117basic_string_viewIwNSG_11char_traitsIwEEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SM_RT1_ Line | Count | Source | 5851 | 474 | { | 5852 | 474 | SCN_TRY(it, skip_ws_before_if_required(rd.skip_ws_before_read(), rng) | 5853 | 474 | .transform_error(make_eof_scan_error)); | 5854 | 474 | return rd.read_default(ranges::subrange{it, rng.end()}, value, loc); | 5855 | 474 | } |
_ZN3scn2v34impl18default_arg_readerINS1_29basic_contiguous_scan_contextIwEEE4implINS1_22reader_impl_for_stringIwEENS0_6ranges6detail9subrange_8subrangeIPKwSE_EENSt3__112basic_stringIwNSG_11char_traitsIwEENSG_9allocatorIwEEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SO_RT1_ Line | Count | Source | 5851 | 474 | { | 5852 | 474 | SCN_TRY(it, skip_ws_before_if_required(rd.skip_ws_before_read(), rng) | 5853 | 474 | .transform_error(make_eof_scan_error)); | 5854 | 474 | return rd.read_default(ranges::subrange{it, rng.end()}, value, loc); | 5855 | 474 | } |
Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS1_29basic_contiguous_scan_contextIwEEE4implINS1_29reader_impl_for_regex_matchesIwEENS0_6ranges6detail9subrange_8subrangeIPKwSE_EENS0_19basic_regex_matchesIcEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SJ_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS1_29basic_contiguous_scan_contextIwEEE4implINS1_29reader_impl_for_regex_matchesIwEENS0_6ranges6detail9subrange_8subrangeIPKwSE_EENS0_19basic_regex_matchesIwEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SJ_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS1_29basic_contiguous_scan_contextIwEEE4implINS1_25reader_impl_for_monostateIwEENS0_6ranges6detail9subrange_8subrangeIPKwSE_EENS0_9monostateEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS0_18basic_scan_contextIwEEE4implINS1_19reader_impl_for_intIwEENS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEaEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SK_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS0_18basic_scan_contextIwEEE4implINS1_19reader_impl_for_intIwEENSt3__117basic_string_viewIwNS9_11char_traitsIwEEEEaEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SG_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS0_18basic_scan_contextIwEEE4implINS1_19reader_impl_for_intIwEENS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEsEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SK_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS0_18basic_scan_contextIwEEE4implINS1_19reader_impl_for_intIwEENSt3__117basic_string_viewIwNS9_11char_traitsIwEEEEsEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SG_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS0_18basic_scan_contextIwEEE4implINS1_19reader_impl_for_intIwEENS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEiEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SK_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS0_18basic_scan_contextIwEEE4implINS1_19reader_impl_for_intIwEENSt3__117basic_string_viewIwNS9_11char_traitsIwEEEEiEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SG_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS0_18basic_scan_contextIwEEE4implINS1_19reader_impl_for_intIwEENS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEElEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SK_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS0_18basic_scan_contextIwEEE4implINS1_19reader_impl_for_intIwEENSt3__117basic_string_viewIwNS9_11char_traitsIwEEEElEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SG_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS0_18basic_scan_contextIwEEE4implINS1_19reader_impl_for_intIwEENS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEExEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SK_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS0_18basic_scan_contextIwEEE4implINS1_19reader_impl_for_intIwEENSt3__117basic_string_viewIwNS9_11char_traitsIwEEEExEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SG_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS0_18basic_scan_contextIwEEE4implINS1_19reader_impl_for_intIwEENS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEhEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SK_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS0_18basic_scan_contextIwEEE4implINS1_19reader_impl_for_intIwEENSt3__117basic_string_viewIwNS9_11char_traitsIwEEEEhEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SG_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS0_18basic_scan_contextIwEEE4implINS1_19reader_impl_for_intIwEENS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEtEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SK_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS0_18basic_scan_contextIwEEE4implINS1_19reader_impl_for_intIwEENSt3__117basic_string_viewIwNS9_11char_traitsIwEEEEtEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SG_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS0_18basic_scan_contextIwEEE4implINS1_19reader_impl_for_intIwEENS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEjEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SK_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS0_18basic_scan_contextIwEEE4implINS1_19reader_impl_for_intIwEENSt3__117basic_string_viewIwNS9_11char_traitsIwEEEEjEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SG_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS0_18basic_scan_contextIwEEE4implINS1_19reader_impl_for_intIwEENS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEmEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SK_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS0_18basic_scan_contextIwEEE4implINS1_19reader_impl_for_intIwEENSt3__117basic_string_viewIwNS9_11char_traitsIwEEEEmEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SG_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS0_18basic_scan_contextIwEEE4implINS1_19reader_impl_for_intIwEENS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEyEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SK_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS0_18basic_scan_contextIwEEE4implINS1_19reader_impl_for_intIwEENSt3__117basic_string_viewIwNS9_11char_traitsIwEEEEyEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SG_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS0_18basic_scan_contextIwEEE4implINS1_23reader_impl_for_voidptrIwEENS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEPvEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SL_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS0_18basic_scan_contextIwEEE4implINS1_23reader_impl_for_voidptrIwEENSt3__117basic_string_viewIwNS9_11char_traitsIwEEEEPvEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS0_18basic_scan_contextIwEEE4implINS1_20reader_impl_for_boolIwEENS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEbEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SK_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS0_18basic_scan_contextIwEEE4implINS1_20reader_impl_for_boolIwEENSt3__117basic_string_viewIwNS9_11char_traitsIwEEEEbEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SG_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS0_18basic_scan_contextIwEEE4implINS1_20reader_impl_for_charIwEENS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEcEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SK_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS0_18basic_scan_contextIwEEE4implINS1_20reader_impl_for_charIwEENSt3__117basic_string_viewIwNS9_11char_traitsIwEEEEcEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SG_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS0_18basic_scan_contextIwEEE4implINS1_21reader_impl_for_wcharIwEENS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEwEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SK_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS0_18basic_scan_contextIwEEE4implINS1_21reader_impl_for_wcharIwEENSt3__117basic_string_viewIwNS9_11char_traitsIwEEEEwEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SG_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS0_18basic_scan_contextIwEEE4implINS1_26reader_impl_for_code_pointIwEENS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEDiEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SK_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS0_18basic_scan_contextIwEEE4implINS1_26reader_impl_for_code_pointIwEENSt3__117basic_string_viewIwNS9_11char_traitsIwEEEEDiEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SG_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS0_18basic_scan_contextIwEEE4implINS1_21reader_impl_for_floatIwEENS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEfEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SK_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS0_18basic_scan_contextIwEEE4implINS1_21reader_impl_for_floatIwEENSt3__117basic_string_viewIwNS9_11char_traitsIwEEEEfEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SG_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS0_18basic_scan_contextIwEEE4implINS1_21reader_impl_for_floatIwEENS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEdEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SK_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS0_18basic_scan_contextIwEEE4implINS1_21reader_impl_for_floatIwEENSt3__117basic_string_viewIwNS9_11char_traitsIwEEEEdEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SG_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS0_18basic_scan_contextIwEEE4implINS1_21reader_impl_for_floatIwEENS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEeEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SK_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS0_18basic_scan_contextIwEEE4implINS1_21reader_impl_for_floatIwEENSt3__117basic_string_viewIwNS9_11char_traitsIwEEEEeEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SG_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS0_18basic_scan_contextIwEEE4implINS1_22reader_impl_for_stringIwEENS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEENSt3__117basic_string_viewIcNSJ_11char_traitsIcEEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SP_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS0_18basic_scan_contextIwEEE4implINS1_22reader_impl_for_stringIwEENSt3__117basic_string_viewIwNS9_11char_traitsIwEEEENSA_IcNSB_IcEEEEEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS0_18basic_scan_contextIwEEE4implINS1_22reader_impl_for_stringIwEENS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEENSt3__112basic_stringIcNSJ_11char_traitsIcEENSJ_9allocatorIcEEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SR_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS0_18basic_scan_contextIwEEE4implINS1_22reader_impl_for_stringIwEENSt3__117basic_string_viewIwNS9_11char_traitsIwEEEENS9_12basic_stringIcNSB_IcEENS9_9allocatorIcEEEEEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SL_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS0_18basic_scan_contextIwEEE4implINS1_22reader_impl_for_stringIwEENS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEENSt3__117basic_string_viewIwNSJ_11char_traitsIwEEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SP_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS0_18basic_scan_contextIwEEE4implINS1_22reader_impl_for_stringIwEENSt3__117basic_string_viewIwNS9_11char_traitsIwEEEESD_EENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SG_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS0_18basic_scan_contextIwEEE4implINS1_22reader_impl_for_stringIwEENS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEENSt3__112basic_stringIwNSJ_11char_traitsIwEENSJ_9allocatorIwEEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SR_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS0_18basic_scan_contextIwEEE4implINS1_22reader_impl_for_stringIwEENSt3__117basic_string_viewIwNS9_11char_traitsIwEEEENS9_12basic_stringIwSC_NS9_9allocatorIwEEEEEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SK_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS0_18basic_scan_contextIwEEE4implINS1_29reader_impl_for_regex_matchesIwEENS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEENS0_19basic_regex_matchesIcEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SM_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS0_18basic_scan_contextIwEEE4implINS1_29reader_impl_for_regex_matchesIwEENSt3__117basic_string_viewIwNS9_11char_traitsIwEEEENS0_19basic_regex_matchesIcEEEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS0_18basic_scan_contextIwEEE4implINS1_29reader_impl_for_regex_matchesIwEENS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEENS0_19basic_regex_matchesIwEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SM_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS0_18basic_scan_contextIwEEE4implINS1_29reader_impl_for_regex_matchesIwEENSt3__117basic_string_viewIwNS9_11char_traitsIwEEEENS0_19basic_regex_matchesIwEEEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS0_18basic_scan_contextIwEEE4implINS1_25reader_impl_for_monostateIwEENS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEENS0_9monostateEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SL_RT1_ Unexecuted instantiation: _ZN3scn2v34impl18default_arg_readerINS0_18basic_scan_contextIwEEE4implINS1_25reader_impl_for_monostateIwEENSt3__117basic_string_viewIwNS9_11char_traitsIwEEEENS0_9monostateEEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ |
5856 | | |
5857 | | template <typename T> |
5858 | | scan_expected<iterator> operator()(T& value) |
5859 | 9.99k | { |
5860 | | if constexpr (!detail::is_type_disabled<T> && |
5861 | | std::is_same_v< |
5862 | | context_type, |
5863 | 9.99k | basic_contiguous_scan_context<char_type>>) { |
5864 | 9.99k | auto rd = make_reader<T, char_type>(); |
5865 | 9.99k | return impl(rd, range, value); |
5866 | | } |
5867 | 0 | else if constexpr (!detail::is_type_disabled<T>) { |
5868 | 0 | auto rd = make_reader<T, char_type>(); |
5869 | 0 | if (!is_segment_contiguous(range)) { |
5870 | 0 | return impl(rd, range, value); |
5871 | 0 | } |
5872 | 0 | auto crange = get_as_contiguous(range); |
5873 | 0 | SCN_TRY(it, impl(rd, crange, value)); |
5874 | 0 | return ranges::next(range.begin(), |
5875 | 0 | ranges::distance(crange.begin(), it)); |
5876 | | } |
5877 | | else { |
5878 | | SCN_EXPECT(false); |
5879 | | SCN_UNREACHABLE; |
5880 | | } |
5881 | 9.99k | } Unexecuted instantiation: scn::v3::scan_expected<char const*> scn::v3::impl::default_arg_reader<scn::v3::impl::basic_contiguous_scan_context<char> >::operator()<signed char>(signed char&) Unexecuted instantiation: scn::v3::scan_expected<char const*> scn::v3::impl::default_arg_reader<scn::v3::impl::basic_contiguous_scan_context<char> >::operator()<short>(short&) scn::v3::scan_expected<char const*> scn::v3::impl::default_arg_reader<scn::v3::impl::basic_contiguous_scan_context<char> >::operator()<int>(int&) Line | Count | Source | 5859 | 636 | { | 5860 | | if constexpr (!detail::is_type_disabled<T> && | 5861 | | std::is_same_v< | 5862 | | context_type, | 5863 | 636 | basic_contiguous_scan_context<char_type>>) { | 5864 | 636 | auto rd = make_reader<T, char_type>(); | 5865 | 636 | return impl(rd, range, value); | 5866 | | } | 5867 | | else if constexpr (!detail::is_type_disabled<T>) { | 5868 | | auto rd = make_reader<T, char_type>(); | 5869 | | if (!is_segment_contiguous(range)) { | 5870 | | return impl(rd, range, value); | 5871 | | } | 5872 | | auto crange = get_as_contiguous(range); | 5873 | | SCN_TRY(it, impl(rd, crange, value)); | 5874 | | return ranges::next(range.begin(), | 5875 | | ranges::distance(crange.begin(), it)); | 5876 | | } | 5877 | | else { | 5878 | | SCN_EXPECT(false); | 5879 | | SCN_UNREACHABLE; | 5880 | | } | 5881 | 636 | } |
Unexecuted instantiation: scn::v3::scan_expected<char const*> scn::v3::impl::default_arg_reader<scn::v3::impl::basic_contiguous_scan_context<char> >::operator()<long>(long&) Unexecuted instantiation: scn::v3::scan_expected<char const*> scn::v3::impl::default_arg_reader<scn::v3::impl::basic_contiguous_scan_context<char> >::operator()<long long>(long long&) Unexecuted instantiation: scn::v3::scan_expected<char const*> scn::v3::impl::default_arg_reader<scn::v3::impl::basic_contiguous_scan_context<char> >::operator()<unsigned char>(unsigned char&) Unexecuted instantiation: scn::v3::scan_expected<char const*> scn::v3::impl::default_arg_reader<scn::v3::impl::basic_contiguous_scan_context<char> >::operator()<unsigned short>(unsigned short&) scn::v3::scan_expected<char const*> scn::v3::impl::default_arg_reader<scn::v3::impl::basic_contiguous_scan_context<char> >::operator()<unsigned int>(unsigned int&) Line | Count | Source | 5859 | 636 | { | 5860 | | if constexpr (!detail::is_type_disabled<T> && | 5861 | | std::is_same_v< | 5862 | | context_type, | 5863 | 636 | basic_contiguous_scan_context<char_type>>) { | 5864 | 636 | auto rd = make_reader<T, char_type>(); | 5865 | 636 | return impl(rd, range, value); | 5866 | | } | 5867 | | else if constexpr (!detail::is_type_disabled<T>) { | 5868 | | auto rd = make_reader<T, char_type>(); | 5869 | | if (!is_segment_contiguous(range)) { | 5870 | | return impl(rd, range, value); | 5871 | | } | 5872 | | auto crange = get_as_contiguous(range); | 5873 | | SCN_TRY(it, impl(rd, crange, value)); | 5874 | | return ranges::next(range.begin(), | 5875 | | ranges::distance(crange.begin(), it)); | 5876 | | } | 5877 | | else { | 5878 | | SCN_EXPECT(false); | 5879 | | SCN_UNREACHABLE; | 5880 | | } | 5881 | 636 | } |
Unexecuted instantiation: scn::v3::scan_expected<char const*> scn::v3::impl::default_arg_reader<scn::v3::impl::basic_contiguous_scan_context<char> >::operator()<unsigned long>(unsigned long&) Unexecuted instantiation: scn::v3::scan_expected<char const*> scn::v3::impl::default_arg_reader<scn::v3::impl::basic_contiguous_scan_context<char> >::operator()<unsigned long long>(unsigned long long&) scn::v3::scan_expected<char const*> scn::v3::impl::default_arg_reader<scn::v3::impl::basic_contiguous_scan_context<char> >::operator()<void*>(void*&) Line | Count | Source | 5859 | 636 | { | 5860 | | if constexpr (!detail::is_type_disabled<T> && | 5861 | | std::is_same_v< | 5862 | | context_type, | 5863 | 636 | basic_contiguous_scan_context<char_type>>) { | 5864 | 636 | auto rd = make_reader<T, char_type>(); | 5865 | 636 | return impl(rd, range, value); | 5866 | | } | 5867 | | else if constexpr (!detail::is_type_disabled<T>) { | 5868 | | auto rd = make_reader<T, char_type>(); | 5869 | | if (!is_segment_contiguous(range)) { | 5870 | | return impl(rd, range, value); | 5871 | | } | 5872 | | auto crange = get_as_contiguous(range); | 5873 | | SCN_TRY(it, impl(rd, crange, value)); | 5874 | | return ranges::next(range.begin(), | 5875 | | ranges::distance(crange.begin(), it)); | 5876 | | } | 5877 | | else { | 5878 | | SCN_EXPECT(false); | 5879 | | SCN_UNREACHABLE; | 5880 | | } | 5881 | 636 | } |
scn::v3::scan_expected<char const*> scn::v3::impl::default_arg_reader<scn::v3::impl::basic_contiguous_scan_context<char> >::operator()<bool>(bool&) Line | Count | Source | 5859 | 636 | { | 5860 | | if constexpr (!detail::is_type_disabled<T> && | 5861 | | std::is_same_v< | 5862 | | context_type, | 5863 | 636 | basic_contiguous_scan_context<char_type>>) { | 5864 | 636 | auto rd = make_reader<T, char_type>(); | 5865 | 636 | return impl(rd, range, value); | 5866 | | } | 5867 | | else if constexpr (!detail::is_type_disabled<T>) { | 5868 | | auto rd = make_reader<T, char_type>(); | 5869 | | if (!is_segment_contiguous(range)) { | 5870 | | return impl(rd, range, value); | 5871 | | } | 5872 | | auto crange = get_as_contiguous(range); | 5873 | | SCN_TRY(it, impl(rd, crange, value)); | 5874 | | return ranges::next(range.begin(), | 5875 | | ranges::distance(crange.begin(), it)); | 5876 | | } | 5877 | | else { | 5878 | | SCN_EXPECT(false); | 5879 | | SCN_UNREACHABLE; | 5880 | | } | 5881 | 636 | } |
scn::v3::scan_expected<char const*> scn::v3::impl::default_arg_reader<scn::v3::impl::basic_contiguous_scan_context<char> >::operator()<char>(char&) Line | Count | Source | 5859 | 636 | { | 5860 | | if constexpr (!detail::is_type_disabled<T> && | 5861 | | std::is_same_v< | 5862 | | context_type, | 5863 | 636 | basic_contiguous_scan_context<char_type>>) { | 5864 | 636 | auto rd = make_reader<T, char_type>(); | 5865 | 636 | return impl(rd, range, value); | 5866 | | } | 5867 | | else if constexpr (!detail::is_type_disabled<T>) { | 5868 | | auto rd = make_reader<T, char_type>(); | 5869 | | if (!is_segment_contiguous(range)) { | 5870 | | return impl(rd, range, value); | 5871 | | } | 5872 | | auto crange = get_as_contiguous(range); | 5873 | | SCN_TRY(it, impl(rd, crange, value)); | 5874 | | return ranges::next(range.begin(), | 5875 | | ranges::distance(crange.begin(), it)); | 5876 | | } | 5877 | | else { | 5878 | | SCN_EXPECT(false); | 5879 | | SCN_UNREACHABLE; | 5880 | | } | 5881 | 636 | } |
Unexecuted instantiation: scn::v3::scan_expected<char const*> scn::v3::impl::default_arg_reader<scn::v3::impl::basic_contiguous_scan_context<char> >::operator()<wchar_t>(wchar_t&) Unexecuted instantiation: scn::v3::scan_expected<char const*> scn::v3::impl::default_arg_reader<scn::v3::impl::basic_contiguous_scan_context<char> >::operator()<char32_t>(char32_t&) Unexecuted instantiation: scn::v3::scan_expected<char const*> scn::v3::impl::default_arg_reader<scn::v3::impl::basic_contiguous_scan_context<char> >::operator()<float>(float&) scn::v3::scan_expected<char const*> scn::v3::impl::default_arg_reader<scn::v3::impl::basic_contiguous_scan_context<char> >::operator()<double>(double&) Line | Count | Source | 5859 | 636 | { | 5860 | | if constexpr (!detail::is_type_disabled<T> && | 5861 | | std::is_same_v< | 5862 | | context_type, | 5863 | 636 | basic_contiguous_scan_context<char_type>>) { | 5864 | 636 | auto rd = make_reader<T, char_type>(); | 5865 | 636 | return impl(rd, range, value); | 5866 | | } | 5867 | | else if constexpr (!detail::is_type_disabled<T>) { | 5868 | | auto rd = make_reader<T, char_type>(); | 5869 | | if (!is_segment_contiguous(range)) { | 5870 | | return impl(rd, range, value); | 5871 | | } | 5872 | | auto crange = get_as_contiguous(range); | 5873 | | SCN_TRY(it, impl(rd, crange, value)); | 5874 | | return ranges::next(range.begin(), | 5875 | | ranges::distance(crange.begin(), it)); | 5876 | | } | 5877 | | else { | 5878 | | SCN_EXPECT(false); | 5879 | | SCN_UNREACHABLE; | 5880 | | } | 5881 | 636 | } |
Unexecuted instantiation: scn::v3::scan_expected<char const*> scn::v3::impl::default_arg_reader<scn::v3::impl::basic_contiguous_scan_context<char> >::operator()<long double>(long double&) scn::v3::scan_expected<char const*> scn::v3::impl::default_arg_reader<scn::v3::impl::basic_contiguous_scan_context<char> >::operator()<std::__1::basic_string_view<char, std::__1::char_traits<char> > >(std::__1::basic_string_view<char, std::__1::char_traits<char> >&) Line | Count | Source | 5859 | 636 | { | 5860 | | if constexpr (!detail::is_type_disabled<T> && | 5861 | | std::is_same_v< | 5862 | | context_type, | 5863 | 636 | basic_contiguous_scan_context<char_type>>) { | 5864 | 636 | auto rd = make_reader<T, char_type>(); | 5865 | 636 | return impl(rd, range, value); | 5866 | | } | 5867 | | else if constexpr (!detail::is_type_disabled<T>) { | 5868 | | auto rd = make_reader<T, char_type>(); | 5869 | | if (!is_segment_contiguous(range)) { | 5870 | | return impl(rd, range, value); | 5871 | | } | 5872 | | auto crange = get_as_contiguous(range); | 5873 | | SCN_TRY(it, impl(rd, crange, value)); | 5874 | | return ranges::next(range.begin(), | 5875 | | ranges::distance(crange.begin(), it)); | 5876 | | } | 5877 | | else { | 5878 | | SCN_EXPECT(false); | 5879 | | SCN_UNREACHABLE; | 5880 | | } | 5881 | 636 | } |
scn::v3::scan_expected<char const*> scn::v3::impl::default_arg_reader<scn::v3::impl::basic_contiguous_scan_context<char> >::operator()<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&) Line | Count | Source | 5859 | 636 | { | 5860 | | if constexpr (!detail::is_type_disabled<T> && | 5861 | | std::is_same_v< | 5862 | | context_type, | 5863 | 636 | basic_contiguous_scan_context<char_type>>) { | 5864 | 636 | auto rd = make_reader<T, char_type>(); | 5865 | 636 | return impl(rd, range, value); | 5866 | | } | 5867 | | else if constexpr (!detail::is_type_disabled<T>) { | 5868 | | auto rd = make_reader<T, char_type>(); | 5869 | | if (!is_segment_contiguous(range)) { | 5870 | | return impl(rd, range, value); | 5871 | | } | 5872 | | auto crange = get_as_contiguous(range); | 5873 | | SCN_TRY(it, impl(rd, crange, value)); | 5874 | | return ranges::next(range.begin(), | 5875 | | ranges::distance(crange.begin(), it)); | 5876 | | } | 5877 | | else { | 5878 | | SCN_EXPECT(false); | 5879 | | SCN_UNREACHABLE; | 5880 | | } | 5881 | 636 | } |
Unexecuted instantiation: scn::v3::scan_expected<char const*> scn::v3::impl::default_arg_reader<scn::v3::impl::basic_contiguous_scan_context<char> >::operator()<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >(std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> >&) scn::v3::scan_expected<char const*> scn::v3::impl::default_arg_reader<scn::v3::impl::basic_contiguous_scan_context<char> >::operator()<std::__1::basic_string<wchar_t, std::__1::char_traits<wchar_t>, std::__1::allocator<wchar_t> > >(std::__1::basic_string<wchar_t, std::__1::char_traits<wchar_t>, std::__1::allocator<wchar_t> >&) Line | Count | Source | 5859 | 636 | { | 5860 | | if constexpr (!detail::is_type_disabled<T> && | 5861 | | std::is_same_v< | 5862 | | context_type, | 5863 | 636 | basic_contiguous_scan_context<char_type>>) { | 5864 | 636 | auto rd = make_reader<T, char_type>(); | 5865 | 636 | return impl(rd, range, value); | 5866 | | } | 5867 | | else if constexpr (!detail::is_type_disabled<T>) { | 5868 | | auto rd = make_reader<T, char_type>(); | 5869 | | if (!is_segment_contiguous(range)) { | 5870 | | return impl(rd, range, value); | 5871 | | } | 5872 | | auto crange = get_as_contiguous(range); | 5873 | | SCN_TRY(it, impl(rd, crange, value)); | 5874 | | return ranges::next(range.begin(), | 5875 | | ranges::distance(crange.begin(), it)); | 5876 | | } | 5877 | | else { | 5878 | | SCN_EXPECT(false); | 5879 | | SCN_UNREACHABLE; | 5880 | | } | 5881 | 636 | } |
Unexecuted instantiation: scn::v3::scan_expected<char const*> scn::v3::impl::default_arg_reader<scn::v3::impl::basic_contiguous_scan_context<char> >::operator()<scn::v3::basic_regex_matches<char> >(scn::v3::basic_regex_matches<char>&) Unexecuted instantiation: scn::v3::scan_expected<char const*> scn::v3::impl::default_arg_reader<scn::v3::impl::basic_contiguous_scan_context<char> >::operator()<scn::v3::basic_regex_matches<wchar_t> >(scn::v3::basic_regex_matches<wchar_t>&) Unexecuted instantiation: scn::v3::scan_expected<char const*> scn::v3::impl::default_arg_reader<scn::v3::impl::basic_contiguous_scan_context<char> >::operator()<scn::v3::monostate>(scn::v3::monostate&) Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<char>::forward_iterator> scn::v3::impl::default_arg_reader<scn::v3::basic_scan_context<char> >::operator()<signed char>(signed char&) Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<char>::forward_iterator> scn::v3::impl::default_arg_reader<scn::v3::basic_scan_context<char> >::operator()<short>(short&) Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<char>::forward_iterator> scn::v3::impl::default_arg_reader<scn::v3::basic_scan_context<char> >::operator()<int>(int&) Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<char>::forward_iterator> scn::v3::impl::default_arg_reader<scn::v3::basic_scan_context<char> >::operator()<long>(long&) Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<char>::forward_iterator> scn::v3::impl::default_arg_reader<scn::v3::basic_scan_context<char> >::operator()<long long>(long long&) Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<char>::forward_iterator> scn::v3::impl::default_arg_reader<scn::v3::basic_scan_context<char> >::operator()<unsigned char>(unsigned char&) Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<char>::forward_iterator> scn::v3::impl::default_arg_reader<scn::v3::basic_scan_context<char> >::operator()<unsigned short>(unsigned short&) Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<char>::forward_iterator> scn::v3::impl::default_arg_reader<scn::v3::basic_scan_context<char> >::operator()<unsigned int>(unsigned int&) Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<char>::forward_iterator> scn::v3::impl::default_arg_reader<scn::v3::basic_scan_context<char> >::operator()<unsigned long>(unsigned long&) Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<char>::forward_iterator> scn::v3::impl::default_arg_reader<scn::v3::basic_scan_context<char> >::operator()<unsigned long long>(unsigned long long&) Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<char>::forward_iterator> scn::v3::impl::default_arg_reader<scn::v3::basic_scan_context<char> >::operator()<void*>(void*&) Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<char>::forward_iterator> scn::v3::impl::default_arg_reader<scn::v3::basic_scan_context<char> >::operator()<bool>(bool&) Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<char>::forward_iterator> scn::v3::impl::default_arg_reader<scn::v3::basic_scan_context<char> >::operator()<char>(char&) Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<char>::forward_iterator> scn::v3::impl::default_arg_reader<scn::v3::basic_scan_context<char> >::operator()<wchar_t>(wchar_t&) Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<char>::forward_iterator> scn::v3::impl::default_arg_reader<scn::v3::basic_scan_context<char> >::operator()<char32_t>(char32_t&) Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<char>::forward_iterator> scn::v3::impl::default_arg_reader<scn::v3::basic_scan_context<char> >::operator()<float>(float&) Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<char>::forward_iterator> scn::v3::impl::default_arg_reader<scn::v3::basic_scan_context<char> >::operator()<double>(double&) Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<char>::forward_iterator> scn::v3::impl::default_arg_reader<scn::v3::basic_scan_context<char> >::operator()<long double>(long double&) Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<char>::forward_iterator> scn::v3::impl::default_arg_reader<scn::v3::basic_scan_context<char> >::operator()<std::__1::basic_string_view<char, std::__1::char_traits<char> > >(std::__1::basic_string_view<char, std::__1::char_traits<char> >&) Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<char>::forward_iterator> scn::v3::impl::default_arg_reader<scn::v3::basic_scan_context<char> >::operator()<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&) Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<char>::forward_iterator> scn::v3::impl::default_arg_reader<scn::v3::basic_scan_context<char> >::operator()<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >(std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> >&) Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<char>::forward_iterator> scn::v3::impl::default_arg_reader<scn::v3::basic_scan_context<char> >::operator()<std::__1::basic_string<wchar_t, std::__1::char_traits<wchar_t>, std::__1::allocator<wchar_t> > >(std::__1::basic_string<wchar_t, std::__1::char_traits<wchar_t>, std::__1::allocator<wchar_t> >&) Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<char>::forward_iterator> scn::v3::impl::default_arg_reader<scn::v3::basic_scan_context<char> >::operator()<scn::v3::basic_regex_matches<char> >(scn::v3::basic_regex_matches<char>&) Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<char>::forward_iterator> scn::v3::impl::default_arg_reader<scn::v3::basic_scan_context<char> >::operator()<scn::v3::basic_regex_matches<wchar_t> >(scn::v3::basic_regex_matches<wchar_t>&) Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<char>::forward_iterator> scn::v3::impl::default_arg_reader<scn::v3::basic_scan_context<char> >::operator()<scn::v3::monostate>(scn::v3::monostate&) Unexecuted instantiation: scn::v3::scan_expected<wchar_t const*> scn::v3::impl::default_arg_reader<scn::v3::impl::basic_contiguous_scan_context<wchar_t> >::operator()<signed char>(signed char&) Unexecuted instantiation: scn::v3::scan_expected<wchar_t const*> scn::v3::impl::default_arg_reader<scn::v3::impl::basic_contiguous_scan_context<wchar_t> >::operator()<short>(short&) scn::v3::scan_expected<wchar_t const*> scn::v3::impl::default_arg_reader<scn::v3::impl::basic_contiguous_scan_context<wchar_t> >::operator()<int>(int&) Line | Count | Source | 5859 | 474 | { | 5860 | | if constexpr (!detail::is_type_disabled<T> && | 5861 | | std::is_same_v< | 5862 | | context_type, | 5863 | 474 | basic_contiguous_scan_context<char_type>>) { | 5864 | 474 | auto rd = make_reader<T, char_type>(); | 5865 | 474 | return impl(rd, range, value); | 5866 | | } | 5867 | | else if constexpr (!detail::is_type_disabled<T>) { | 5868 | | auto rd = make_reader<T, char_type>(); | 5869 | | if (!is_segment_contiguous(range)) { | 5870 | | return impl(rd, range, value); | 5871 | | } | 5872 | | auto crange = get_as_contiguous(range); | 5873 | | SCN_TRY(it, impl(rd, crange, value)); | 5874 | | return ranges::next(range.begin(), | 5875 | | ranges::distance(crange.begin(), it)); | 5876 | | } | 5877 | | else { | 5878 | | SCN_EXPECT(false); | 5879 | | SCN_UNREACHABLE; | 5880 | | } | 5881 | 474 | } |
Unexecuted instantiation: scn::v3::scan_expected<wchar_t const*> scn::v3::impl::default_arg_reader<scn::v3::impl::basic_contiguous_scan_context<wchar_t> >::operator()<long>(long&) Unexecuted instantiation: scn::v3::scan_expected<wchar_t const*> scn::v3::impl::default_arg_reader<scn::v3::impl::basic_contiguous_scan_context<wchar_t> >::operator()<long long>(long long&) Unexecuted instantiation: scn::v3::scan_expected<wchar_t const*> scn::v3::impl::default_arg_reader<scn::v3::impl::basic_contiguous_scan_context<wchar_t> >::operator()<unsigned char>(unsigned char&) Unexecuted instantiation: scn::v3::scan_expected<wchar_t const*> scn::v3::impl::default_arg_reader<scn::v3::impl::basic_contiguous_scan_context<wchar_t> >::operator()<unsigned short>(unsigned short&) scn::v3::scan_expected<wchar_t const*> scn::v3::impl::default_arg_reader<scn::v3::impl::basic_contiguous_scan_context<wchar_t> >::operator()<unsigned int>(unsigned int&) Line | Count | Source | 5859 | 474 | { | 5860 | | if constexpr (!detail::is_type_disabled<T> && | 5861 | | std::is_same_v< | 5862 | | context_type, | 5863 | 474 | basic_contiguous_scan_context<char_type>>) { | 5864 | 474 | auto rd = make_reader<T, char_type>(); | 5865 | 474 | return impl(rd, range, value); | 5866 | | } | 5867 | | else if constexpr (!detail::is_type_disabled<T>) { | 5868 | | auto rd = make_reader<T, char_type>(); | 5869 | | if (!is_segment_contiguous(range)) { | 5870 | | return impl(rd, range, value); | 5871 | | } | 5872 | | auto crange = get_as_contiguous(range); | 5873 | | SCN_TRY(it, impl(rd, crange, value)); | 5874 | | return ranges::next(range.begin(), | 5875 | | ranges::distance(crange.begin(), it)); | 5876 | | } | 5877 | | else { | 5878 | | SCN_EXPECT(false); | 5879 | | SCN_UNREACHABLE; | 5880 | | } | 5881 | 474 | } |
Unexecuted instantiation: scn::v3::scan_expected<wchar_t const*> scn::v3::impl::default_arg_reader<scn::v3::impl::basic_contiguous_scan_context<wchar_t> >::operator()<unsigned long>(unsigned long&) Unexecuted instantiation: scn::v3::scan_expected<wchar_t const*> scn::v3::impl::default_arg_reader<scn::v3::impl::basic_contiguous_scan_context<wchar_t> >::operator()<unsigned long long>(unsigned long long&) scn::v3::scan_expected<wchar_t const*> scn::v3::impl::default_arg_reader<scn::v3::impl::basic_contiguous_scan_context<wchar_t> >::operator()<void*>(void*&) Line | Count | Source | 5859 | 474 | { | 5860 | | if constexpr (!detail::is_type_disabled<T> && | 5861 | | std::is_same_v< | 5862 | | context_type, | 5863 | 474 | basic_contiguous_scan_context<char_type>>) { | 5864 | 474 | auto rd = make_reader<T, char_type>(); | 5865 | 474 | return impl(rd, range, value); | 5866 | | } | 5867 | | else if constexpr (!detail::is_type_disabled<T>) { | 5868 | | auto rd = make_reader<T, char_type>(); | 5869 | | if (!is_segment_contiguous(range)) { | 5870 | | return impl(rd, range, value); | 5871 | | } | 5872 | | auto crange = get_as_contiguous(range); | 5873 | | SCN_TRY(it, impl(rd, crange, value)); | 5874 | | return ranges::next(range.begin(), | 5875 | | ranges::distance(crange.begin(), it)); | 5876 | | } | 5877 | | else { | 5878 | | SCN_EXPECT(false); | 5879 | | SCN_UNREACHABLE; | 5880 | | } | 5881 | 474 | } |
scn::v3::scan_expected<wchar_t const*> scn::v3::impl::default_arg_reader<scn::v3::impl::basic_contiguous_scan_context<wchar_t> >::operator()<bool>(bool&) Line | Count | Source | 5859 | 474 | { | 5860 | | if constexpr (!detail::is_type_disabled<T> && | 5861 | | std::is_same_v< | 5862 | | context_type, | 5863 | 474 | basic_contiguous_scan_context<char_type>>) { | 5864 | 474 | auto rd = make_reader<T, char_type>(); | 5865 | 474 | return impl(rd, range, value); | 5866 | | } | 5867 | | else if constexpr (!detail::is_type_disabled<T>) { | 5868 | | auto rd = make_reader<T, char_type>(); | 5869 | | if (!is_segment_contiguous(range)) { | 5870 | | return impl(rd, range, value); | 5871 | | } | 5872 | | auto crange = get_as_contiguous(range); | 5873 | | SCN_TRY(it, impl(rd, crange, value)); | 5874 | | return ranges::next(range.begin(), | 5875 | | ranges::distance(crange.begin(), it)); | 5876 | | } | 5877 | | else { | 5878 | | SCN_EXPECT(false); | 5879 | | SCN_UNREACHABLE; | 5880 | | } | 5881 | 474 | } |
Unexecuted instantiation: scn::v3::scan_expected<wchar_t const*> scn::v3::impl::default_arg_reader<scn::v3::impl::basic_contiguous_scan_context<wchar_t> >::operator()<char>(char&) scn::v3::scan_expected<wchar_t const*> scn::v3::impl::default_arg_reader<scn::v3::impl::basic_contiguous_scan_context<wchar_t> >::operator()<wchar_t>(wchar_t&) Line | Count | Source | 5859 | 474 | { | 5860 | | if constexpr (!detail::is_type_disabled<T> && | 5861 | | std::is_same_v< | 5862 | | context_type, | 5863 | 474 | basic_contiguous_scan_context<char_type>>) { | 5864 | 474 | auto rd = make_reader<T, char_type>(); | 5865 | 474 | return impl(rd, range, value); | 5866 | | } | 5867 | | else if constexpr (!detail::is_type_disabled<T>) { | 5868 | | auto rd = make_reader<T, char_type>(); | 5869 | | if (!is_segment_contiguous(range)) { | 5870 | | return impl(rd, range, value); | 5871 | | } | 5872 | | auto crange = get_as_contiguous(range); | 5873 | | SCN_TRY(it, impl(rd, crange, value)); | 5874 | | return ranges::next(range.begin(), | 5875 | | ranges::distance(crange.begin(), it)); | 5876 | | } | 5877 | | else { | 5878 | | SCN_EXPECT(false); | 5879 | | SCN_UNREACHABLE; | 5880 | | } | 5881 | 474 | } |
Unexecuted instantiation: scn::v3::scan_expected<wchar_t const*> scn::v3::impl::default_arg_reader<scn::v3::impl::basic_contiguous_scan_context<wchar_t> >::operator()<char32_t>(char32_t&) Unexecuted instantiation: scn::v3::scan_expected<wchar_t const*> scn::v3::impl::default_arg_reader<scn::v3::impl::basic_contiguous_scan_context<wchar_t> >::operator()<float>(float&) scn::v3::scan_expected<wchar_t const*> scn::v3::impl::default_arg_reader<scn::v3::impl::basic_contiguous_scan_context<wchar_t> >::operator()<double>(double&) Line | Count | Source | 5859 | 474 | { | 5860 | | if constexpr (!detail::is_type_disabled<T> && | 5861 | | std::is_same_v< | 5862 | | context_type, | 5863 | 474 | basic_contiguous_scan_context<char_type>>) { | 5864 | 474 | auto rd = make_reader<T, char_type>(); | 5865 | 474 | return impl(rd, range, value); | 5866 | | } | 5867 | | else if constexpr (!detail::is_type_disabled<T>) { | 5868 | | auto rd = make_reader<T, char_type>(); | 5869 | | if (!is_segment_contiguous(range)) { | 5870 | | return impl(rd, range, value); | 5871 | | } | 5872 | | auto crange = get_as_contiguous(range); | 5873 | | SCN_TRY(it, impl(rd, crange, value)); | 5874 | | return ranges::next(range.begin(), | 5875 | | ranges::distance(crange.begin(), it)); | 5876 | | } | 5877 | | else { | 5878 | | SCN_EXPECT(false); | 5879 | | SCN_UNREACHABLE; | 5880 | | } | 5881 | 474 | } |
Unexecuted instantiation: scn::v3::scan_expected<wchar_t const*> scn::v3::impl::default_arg_reader<scn::v3::impl::basic_contiguous_scan_context<wchar_t> >::operator()<long double>(long double&) Unexecuted instantiation: scn::v3::scan_expected<wchar_t const*> scn::v3::impl::default_arg_reader<scn::v3::impl::basic_contiguous_scan_context<wchar_t> >::operator()<std::__1::basic_string_view<char, std::__1::char_traits<char> > >(std::__1::basic_string_view<char, std::__1::char_traits<char> >&) scn::v3::scan_expected<wchar_t const*> scn::v3::impl::default_arg_reader<scn::v3::impl::basic_contiguous_scan_context<wchar_t> >::operator()<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&) Line | Count | Source | 5859 | 474 | { | 5860 | | if constexpr (!detail::is_type_disabled<T> && | 5861 | | std::is_same_v< | 5862 | | context_type, | 5863 | 474 | basic_contiguous_scan_context<char_type>>) { | 5864 | 474 | auto rd = make_reader<T, char_type>(); | 5865 | 474 | return impl(rd, range, value); | 5866 | | } | 5867 | | else if constexpr (!detail::is_type_disabled<T>) { | 5868 | | auto rd = make_reader<T, char_type>(); | 5869 | | if (!is_segment_contiguous(range)) { | 5870 | | return impl(rd, range, value); | 5871 | | } | 5872 | | auto crange = get_as_contiguous(range); | 5873 | | SCN_TRY(it, impl(rd, crange, value)); | 5874 | | return ranges::next(range.begin(), | 5875 | | ranges::distance(crange.begin(), it)); | 5876 | | } | 5877 | | else { | 5878 | | SCN_EXPECT(false); | 5879 | | SCN_UNREACHABLE; | 5880 | | } | 5881 | 474 | } |
scn::v3::scan_expected<wchar_t const*> scn::v3::impl::default_arg_reader<scn::v3::impl::basic_contiguous_scan_context<wchar_t> >::operator()<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >(std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> >&) Line | Count | Source | 5859 | 474 | { | 5860 | | if constexpr (!detail::is_type_disabled<T> && | 5861 | | std::is_same_v< | 5862 | | context_type, | 5863 | 474 | basic_contiguous_scan_context<char_type>>) { | 5864 | 474 | auto rd = make_reader<T, char_type>(); | 5865 | 474 | return impl(rd, range, value); | 5866 | | } | 5867 | | else if constexpr (!detail::is_type_disabled<T>) { | 5868 | | auto rd = make_reader<T, char_type>(); | 5869 | | if (!is_segment_contiguous(range)) { | 5870 | | return impl(rd, range, value); | 5871 | | } | 5872 | | auto crange = get_as_contiguous(range); | 5873 | | SCN_TRY(it, impl(rd, crange, value)); | 5874 | | return ranges::next(range.begin(), | 5875 | | ranges::distance(crange.begin(), it)); | 5876 | | } | 5877 | | else { | 5878 | | SCN_EXPECT(false); | 5879 | | SCN_UNREACHABLE; | 5880 | | } | 5881 | 474 | } |
scn::v3::scan_expected<wchar_t const*> scn::v3::impl::default_arg_reader<scn::v3::impl::basic_contiguous_scan_context<wchar_t> >::operator()<std::__1::basic_string<wchar_t, std::__1::char_traits<wchar_t>, std::__1::allocator<wchar_t> > >(std::__1::basic_string<wchar_t, std::__1::char_traits<wchar_t>, std::__1::allocator<wchar_t> >&) Line | Count | Source | 5859 | 474 | { | 5860 | | if constexpr (!detail::is_type_disabled<T> && | 5861 | | std::is_same_v< | 5862 | | context_type, | 5863 | 474 | basic_contiguous_scan_context<char_type>>) { | 5864 | 474 | auto rd = make_reader<T, char_type>(); | 5865 | 474 | return impl(rd, range, value); | 5866 | | } | 5867 | | else if constexpr (!detail::is_type_disabled<T>) { | 5868 | | auto rd = make_reader<T, char_type>(); | 5869 | | if (!is_segment_contiguous(range)) { | 5870 | | return impl(rd, range, value); | 5871 | | } | 5872 | | auto crange = get_as_contiguous(range); | 5873 | | SCN_TRY(it, impl(rd, crange, value)); | 5874 | | return ranges::next(range.begin(), | 5875 | | ranges::distance(crange.begin(), it)); | 5876 | | } | 5877 | | else { | 5878 | | SCN_EXPECT(false); | 5879 | | SCN_UNREACHABLE; | 5880 | | } | 5881 | 474 | } |
Unexecuted instantiation: scn::v3::scan_expected<wchar_t const*> scn::v3::impl::default_arg_reader<scn::v3::impl::basic_contiguous_scan_context<wchar_t> >::operator()<scn::v3::basic_regex_matches<char> >(scn::v3::basic_regex_matches<char>&) Unexecuted instantiation: scn::v3::scan_expected<wchar_t const*> scn::v3::impl::default_arg_reader<scn::v3::impl::basic_contiguous_scan_context<wchar_t> >::operator()<scn::v3::basic_regex_matches<wchar_t> >(scn::v3::basic_regex_matches<wchar_t>&) Unexecuted instantiation: scn::v3::scan_expected<wchar_t const*> scn::v3::impl::default_arg_reader<scn::v3::impl::basic_contiguous_scan_context<wchar_t> >::operator()<scn::v3::monostate>(scn::v3::monostate&) Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v3::impl::default_arg_reader<scn::v3::basic_scan_context<wchar_t> >::operator()<signed char>(signed char&) Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v3::impl::default_arg_reader<scn::v3::basic_scan_context<wchar_t> >::operator()<short>(short&) Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v3::impl::default_arg_reader<scn::v3::basic_scan_context<wchar_t> >::operator()<int>(int&) Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v3::impl::default_arg_reader<scn::v3::basic_scan_context<wchar_t> >::operator()<long>(long&) Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v3::impl::default_arg_reader<scn::v3::basic_scan_context<wchar_t> >::operator()<long long>(long long&) Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v3::impl::default_arg_reader<scn::v3::basic_scan_context<wchar_t> >::operator()<unsigned char>(unsigned char&) Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v3::impl::default_arg_reader<scn::v3::basic_scan_context<wchar_t> >::operator()<unsigned short>(unsigned short&) Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v3::impl::default_arg_reader<scn::v3::basic_scan_context<wchar_t> >::operator()<unsigned int>(unsigned int&) Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v3::impl::default_arg_reader<scn::v3::basic_scan_context<wchar_t> >::operator()<unsigned long>(unsigned long&) Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v3::impl::default_arg_reader<scn::v3::basic_scan_context<wchar_t> >::operator()<unsigned long long>(unsigned long long&) Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v3::impl::default_arg_reader<scn::v3::basic_scan_context<wchar_t> >::operator()<void*>(void*&) Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v3::impl::default_arg_reader<scn::v3::basic_scan_context<wchar_t> >::operator()<bool>(bool&) Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v3::impl::default_arg_reader<scn::v3::basic_scan_context<wchar_t> >::operator()<char>(char&) Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v3::impl::default_arg_reader<scn::v3::basic_scan_context<wchar_t> >::operator()<wchar_t>(wchar_t&) Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v3::impl::default_arg_reader<scn::v3::basic_scan_context<wchar_t> >::operator()<char32_t>(char32_t&) Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v3::impl::default_arg_reader<scn::v3::basic_scan_context<wchar_t> >::operator()<float>(float&) Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v3::impl::default_arg_reader<scn::v3::basic_scan_context<wchar_t> >::operator()<double>(double&) Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v3::impl::default_arg_reader<scn::v3::basic_scan_context<wchar_t> >::operator()<long double>(long double&) Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v3::impl::default_arg_reader<scn::v3::basic_scan_context<wchar_t> >::operator()<std::__1::basic_string_view<char, std::__1::char_traits<char> > >(std::__1::basic_string_view<char, std::__1::char_traits<char> >&) Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v3::impl::default_arg_reader<scn::v3::basic_scan_context<wchar_t> >::operator()<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&) Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v3::impl::default_arg_reader<scn::v3::basic_scan_context<wchar_t> >::operator()<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >(std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> >&) Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v3::impl::default_arg_reader<scn::v3::basic_scan_context<wchar_t> >::operator()<std::__1::basic_string<wchar_t, std::__1::char_traits<wchar_t>, std::__1::allocator<wchar_t> > >(std::__1::basic_string<wchar_t, std::__1::char_traits<wchar_t>, std::__1::allocator<wchar_t> >&) Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v3::impl::default_arg_reader<scn::v3::basic_scan_context<wchar_t> >::operator()<scn::v3::basic_regex_matches<char> >(scn::v3::basic_regex_matches<char>&) Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v3::impl::default_arg_reader<scn::v3::basic_scan_context<wchar_t> >::operator()<scn::v3::basic_regex_matches<wchar_t> >(scn::v3::basic_regex_matches<wchar_t>&) Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v3::impl::default_arg_reader<scn::v3::basic_scan_context<wchar_t> >::operator()<scn::v3::monostate>(scn::v3::monostate&) |
5882 | | |
5883 | | basic_scan_context<char_type> make_custom_ctx() |
5884 | 0 | { |
5885 | | if constexpr (std::is_same_v< |
5886 | | context_type, |
5887 | 0 | basic_contiguous_scan_context<char_type>>) { |
5888 | 0 | auto it = |
5889 | 0 | typename detail::basic_scan_buffer<char_type>::forward_iterator{ |
5890 | 0 | std::basic_string_view<char_type>(range.data(), |
5891 | 0 | range.size()), |
5892 | 0 | 0}; |
5893 | 0 | return {it, args, loc}; |
5894 | | } |
5895 | 0 | else { |
5896 | 0 | return {range.begin(), args, loc}; |
5897 | 0 | } |
5898 | 0 | } Unexecuted instantiation: scn::v3::impl::default_arg_reader<scn::v3::impl::basic_contiguous_scan_context<char> >::make_custom_ctx() Unexecuted instantiation: scn::v3::impl::default_arg_reader<scn::v3::basic_scan_context<char> >::make_custom_ctx() Unexecuted instantiation: scn::v3::impl::default_arg_reader<scn::v3::impl::basic_contiguous_scan_context<wchar_t> >::make_custom_ctx() Unexecuted instantiation: scn::v3::impl::default_arg_reader<scn::v3::basic_scan_context<wchar_t> >::make_custom_ctx() |
5899 | | |
5900 | | scan_expected<iterator> operator()( |
5901 | | typename context_type::arg_type::handle h) |
5902 | 0 | { |
5903 | 0 | if constexpr (!detail::is_type_disabled<void>) { |
5904 | 0 | basic_scan_parse_context<char_type> parse_ctx{{}}; |
5905 | 0 | auto ctx = make_custom_ctx(); |
5906 | 0 | if (auto e = h.scan(parse_ctx, ctx); !e) { |
5907 | 0 | return unexpected(e); |
5908 | 0 | } |
5909 | | |
5910 | | if constexpr (std::is_same_v< |
5911 | | context_type, |
5912 | 0 | basic_contiguous_scan_context<char_type>>) { |
5913 | 0 | return range.begin() + ctx.begin().position(); |
5914 | | } |
5915 | 0 | else { |
5916 | 0 | return ctx.begin(); |
5917 | 0 | } |
5918 | | } |
5919 | | else { |
5920 | | SCN_EXPECT(false); |
5921 | | SCN_UNREACHABLE; |
5922 | | } |
5923 | 0 | } Unexecuted instantiation: scn::v3::impl::default_arg_reader<scn::v3::impl::basic_contiguous_scan_context<char> >::operator()(scn::v3::basic_scan_arg<scn::v3::basic_scan_context<char> >::handle) Unexecuted instantiation: scn::v3::impl::default_arg_reader<scn::v3::basic_scan_context<char> >::operator()(scn::v3::basic_scan_arg<scn::v3::basic_scan_context<char> >::handle) Unexecuted instantiation: scn::v3::impl::default_arg_reader<scn::v3::impl::basic_contiguous_scan_context<wchar_t> >::operator()(scn::v3::basic_scan_arg<scn::v3::basic_scan_context<wchar_t> >::handle) Unexecuted instantiation: scn::v3::impl::default_arg_reader<scn::v3::basic_scan_context<wchar_t> >::operator()(scn::v3::basic_scan_arg<scn::v3::basic_scan_context<wchar_t> >::handle) |
5924 | | |
5925 | | range_type range; |
5926 | | args_type args; |
5927 | | detail::locale_ref loc; |
5928 | | }; |
5929 | | |
5930 | | template <typename Iterator> |
5931 | | using skip_fill_result = std::pair<Iterator, std::ptrdiff_t>; |
5932 | | |
5933 | | template <typename Range> |
5934 | | auto skip_fill(Range range, |
5935 | | std::ptrdiff_t max_width, |
5936 | | const detail::fill_type& fill, |
5937 | | bool want_skipped_width) |
5938 | | -> scan_expected<skip_fill_result<ranges::iterator_t<Range>>> |
5939 | 3.55k | { |
5940 | 3.55k | using char_type = detail::char_t<Range>; |
5941 | 3.55k | using result_type = skip_fill_result<ranges::iterator_t<Range>>; |
5942 | | |
5943 | 3.55k | if (fill.size() <= sizeof(char_type)) { |
5944 | 2.92k | const auto fill_ch = fill.template get_code_unit<char_type>(); |
5945 | 4.01k | const auto pred = [=](char_type ch) { return ch == fill_ch; };Unexecuted instantiation: _ZZN3scn2v34impl9skip_fillINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS4_18default_sentinel_tEEEEEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT_EEEElEEEESI_lRKNS8_9fill_typeEbENKUlcE_clEc Unexecuted instantiation: _ZZN3scn2v34impl9skip_fillINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRT_EEEElEEEESG_lRKNS7_9fill_typeEbENKUlcE_clEc Unexecuted instantiation: _ZZN3scn2v34impl9skip_fillINS1_15take_width_viewINSt3__117basic_string_viewIcNS4_11char_traitsIcEEEEEEEENS0_13scan_expectedINS4_4pairIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT_EEEElEEEESD_lRKNS0_6detail9fill_typeEbENKUlcE_clEc Unexecuted instantiation: _ZZN3scn2v34impl9skip_fillINSt3__117basic_string_viewIcNS3_11char_traitsIcEEEEEENS0_13scan_expectedINS3_4pairIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT_EEEElEEEESB_lRKNS0_6detail9fill_typeEbENKUlcE_clEc _ZZN3scn2v34impl9skip_fillINS0_6ranges6detail9subrange_8subrangeIPKcS8_EEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRT_EEEElEEEESD_lRKNS0_6detail9fill_typeEbENKUlcE_clEc Line | Count | Source | 5945 | 2.15k | const auto pred = [=](char_type ch) { return ch == fill_ch; }; |
Unexecuted instantiation: _ZZN3scn2v34impl9skip_fillINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS4_18default_sentinel_tEEEEEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT_EEEElEEEESI_lRKNS8_9fill_typeEbENKUlwE_clEw Unexecuted instantiation: _ZZN3scn2v34impl9skip_fillINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRT_EEEElEEEESG_lRKNS7_9fill_typeEbENKUlwE_clEw Unexecuted instantiation: _ZZN3scn2v34impl9skip_fillINS1_15take_width_viewINSt3__117basic_string_viewIwNS4_11char_traitsIwEEEEEEEENS0_13scan_expectedINS4_4pairIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT_EEEElEEEESD_lRKNS0_6detail9fill_typeEbENKUlwE_clEw Unexecuted instantiation: _ZZN3scn2v34impl9skip_fillINSt3__117basic_string_viewIwNS3_11char_traitsIwEEEEEENS0_13scan_expectedINS3_4pairIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT_EEEElEEEESB_lRKNS0_6detail9fill_typeEbENKUlwE_clEw _ZZN3scn2v34impl9skip_fillINS0_6ranges6detail9subrange_8subrangeIPKwS8_EEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRT_EEEElEEEESD_lRKNS0_6detail9fill_typeEbENKUlwE_clEw Line | Count | Source | 5945 | 960 | const auto pred = [=](char_type ch) { return ch == fill_ch; }; |
_ZZN3scn2v34impl9skip_fillINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEEEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT_EEEElEEEESF_lRKNS0_6detail9fill_typeEbENKUlcE_clEc Line | Count | Source | 5945 | 606 | const auto pred = [=](char_type ch) { return ch == fill_ch; }; |
_ZZN3scn2v34impl9skip_fillINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEEEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT_EEEElEEEESF_lRKNS0_6detail9fill_typeEbENKUlwE_clEw Line | Count | Source | 5945 | 296 | const auto pred = [=](char_type ch) { return ch == fill_ch; }; |
|
5946 | | |
5947 | 2.92k | if (max_width == 0) { |
5948 | 2.08k | auto it = read_while_code_unit(range, pred); |
5949 | | |
5950 | 2.08k | if (want_skipped_width) { |
5951 | 190 | auto prefix_width = |
5952 | 190 | static_cast<std::ptrdiff_t>( |
5953 | 190 | calculate_text_width(static_cast<char32_t>(fill_ch))) * |
5954 | 190 | ranges::distance(range.begin(), it); |
5955 | 190 | return result_type{it, prefix_width}; |
5956 | 190 | } |
5957 | 1.89k | return result_type{it, 0}; |
5958 | 2.08k | } |
5959 | | |
5960 | 836 | auto max_width_view = take_width(range, max_width); |
5961 | 836 | auto w_it = read_while_code_unit(max_width_view, pred); |
5962 | | |
5963 | 836 | if (want_skipped_width) { |
5964 | 836 | return result_type{w_it.base(), max_width - w_it.count()}; |
5965 | 836 | } |
5966 | 0 | return result_type{w_it.base(), 0}; |
5967 | 836 | } |
5968 | | |
5969 | 638 | const auto fill_chars = fill.template get_code_units<char_type>(); |
5970 | 638 | if (max_width == 0) { |
5971 | 200 | auto it = read_while_code_units(range, fill_chars); |
5972 | | |
5973 | 200 | if (want_skipped_width) { |
5974 | 52 | auto prefix_width = |
5975 | 52 | static_cast<std::ptrdiff_t>(calculate_text_width(fill_chars)) * |
5976 | 52 | ranges::distance(range.begin(), it) / ranges::ssize(fill_chars); |
5977 | 52 | return result_type{it, prefix_width}; |
5978 | 52 | } |
5979 | 148 | return result_type{it, 0}; |
5980 | 200 | } |
5981 | | |
5982 | 438 | auto max_width_view = take_width(range, max_width); |
5983 | 438 | auto w_it = read_while_code_units(max_width_view, fill_chars); |
5984 | | |
5985 | 438 | if (want_skipped_width) { |
5986 | 438 | return result_type{w_it.base(), max_width - w_it.count()}; |
5987 | 438 | } |
5988 | 0 | return result_type{w_it.base(), 0}; |
5989 | 438 | } Unexecuted instantiation: _ZN3scn2v34impl9skip_fillINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS4_18default_sentinel_tEEEEEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT_EEEElEEEESI_lRKNS8_9fill_typeEb Unexecuted instantiation: _ZN3scn2v34impl9skip_fillINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRT_EEEElEEEESG_lRKNS7_9fill_typeEb Unexecuted instantiation: _ZN3scn2v34impl9skip_fillINS1_15take_width_viewINSt3__117basic_string_viewIcNS4_11char_traitsIcEEEEEEEENS0_13scan_expectedINS4_4pairIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT_EEEElEEEESD_lRKNS0_6detail9fill_typeEb Unexecuted instantiation: _ZN3scn2v34impl9skip_fillINSt3__117basic_string_viewIcNS3_11char_traitsIcEEEEEENS0_13scan_expectedINS3_4pairIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT_EEEElEEEESB_lRKNS0_6detail9fill_typeEb _ZN3scn2v34impl9skip_fillINS0_6ranges6detail9subrange_8subrangeIPKcS8_EEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRT_EEEElEEEESD_lRKNS0_6detail9fill_typeEb Line | Count | Source | 5939 | 2.12k | { | 5940 | 2.12k | using char_type = detail::char_t<Range>; | 5941 | 2.12k | using result_type = skip_fill_result<ranges::iterator_t<Range>>; | 5942 | | | 5943 | 2.12k | if (fill.size() <= sizeof(char_type)) { | 5944 | 1.73k | const auto fill_ch = fill.template get_code_unit<char_type>(); | 5945 | 1.73k | const auto pred = [=](char_type ch) { return ch == fill_ch; }; | 5946 | | | 5947 | 1.73k | if (max_width == 0) { | 5948 | 1.63k | auto it = read_while_code_unit(range, pred); | 5949 | | | 5950 | 1.63k | if (want_skipped_width) { | 5951 | 124 | auto prefix_width = | 5952 | 124 | static_cast<std::ptrdiff_t>( | 5953 | 124 | calculate_text_width(static_cast<char32_t>(fill_ch))) * | 5954 | 124 | ranges::distance(range.begin(), it); | 5955 | 124 | return result_type{it, prefix_width}; | 5956 | 124 | } | 5957 | 1.50k | return result_type{it, 0}; | 5958 | 1.63k | } | 5959 | | | 5960 | 104 | auto max_width_view = take_width(range, max_width); | 5961 | 104 | auto w_it = read_while_code_unit(max_width_view, pred); | 5962 | | | 5963 | 104 | if (want_skipped_width) { | 5964 | 104 | return result_type{w_it.base(), max_width - w_it.count()}; | 5965 | 104 | } | 5966 | 0 | return result_type{w_it.base(), 0}; | 5967 | 104 | } | 5968 | | | 5969 | 384 | const auto fill_chars = fill.template get_code_units<char_type>(); | 5970 | 384 | if (max_width == 0) { | 5971 | 200 | auto it = read_while_code_units(range, fill_chars); | 5972 | | | 5973 | 200 | if (want_skipped_width) { | 5974 | 52 | auto prefix_width = | 5975 | 52 | static_cast<std::ptrdiff_t>(calculate_text_width(fill_chars)) * | 5976 | 52 | ranges::distance(range.begin(), it) / ranges::ssize(fill_chars); | 5977 | 52 | return result_type{it, prefix_width}; | 5978 | 52 | } | 5979 | 148 | return result_type{it, 0}; | 5980 | 200 | } | 5981 | | | 5982 | 184 | auto max_width_view = take_width(range, max_width); | 5983 | 184 | auto w_it = read_while_code_units(max_width_view, fill_chars); | 5984 | | | 5985 | 184 | if (want_skipped_width) { | 5986 | 184 | return result_type{w_it.base(), max_width - w_it.count()}; | 5987 | 184 | } | 5988 | 0 | return result_type{w_it.base(), 0}; | 5989 | 184 | } |
Unexecuted instantiation: _ZN3scn2v34impl9skip_fillINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS4_18default_sentinel_tEEEEEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT_EEEElEEEESI_lRKNS8_9fill_typeEb Unexecuted instantiation: _ZN3scn2v34impl9skip_fillINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRT_EEEElEEEESG_lRKNS7_9fill_typeEb Unexecuted instantiation: _ZN3scn2v34impl9skip_fillINS1_15take_width_viewINSt3__117basic_string_viewIwNS4_11char_traitsIwEEEEEEEENS0_13scan_expectedINS4_4pairIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT_EEEElEEEESD_lRKNS0_6detail9fill_typeEb Unexecuted instantiation: _ZN3scn2v34impl9skip_fillINSt3__117basic_string_viewIwNS3_11char_traitsIwEEEEEENS0_13scan_expectedINS3_4pairIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT_EEEElEEEESB_lRKNS0_6detail9fill_typeEb _ZN3scn2v34impl9skip_fillINS0_6ranges6detail9subrange_8subrangeIPKwS8_EEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRT_EEEElEEEESD_lRKNS0_6detail9fill_typeEb Line | Count | Source | 5939 | 510 | { | 5940 | 510 | using char_type = detail::char_t<Range>; | 5941 | 510 | using result_type = skip_fill_result<ranges::iterator_t<Range>>; | 5942 | | | 5943 | 510 | if (fill.size() <= sizeof(char_type)) { | 5944 | 510 | const auto fill_ch = fill.template get_code_unit<char_type>(); | 5945 | 510 | const auto pred = [=](char_type ch) { return ch == fill_ch; }; | 5946 | | | 5947 | 510 | if (max_width == 0) { | 5948 | 452 | auto it = read_while_code_unit(range, pred); | 5949 | | | 5950 | 452 | if (want_skipped_width) { | 5951 | 66 | auto prefix_width = | 5952 | 66 | static_cast<std::ptrdiff_t>( | 5953 | 66 | calculate_text_width(static_cast<char32_t>(fill_ch))) * | 5954 | 66 | ranges::distance(range.begin(), it); | 5955 | 66 | return result_type{it, prefix_width}; | 5956 | 66 | } | 5957 | 386 | return result_type{it, 0}; | 5958 | 452 | } | 5959 | | | 5960 | 58 | auto max_width_view = take_width(range, max_width); | 5961 | 58 | auto w_it = read_while_code_unit(max_width_view, pred); | 5962 | | | 5963 | 58 | if (want_skipped_width) { | 5964 | 58 | return result_type{w_it.base(), max_width - w_it.count()}; | 5965 | 58 | } | 5966 | 0 | return result_type{w_it.base(), 0}; | 5967 | 58 | } | 5968 | | | 5969 | 0 | const auto fill_chars = fill.template get_code_units<char_type>(); | 5970 | 0 | if (max_width == 0) { | 5971 | 0 | auto it = read_while_code_units(range, fill_chars); | 5972 | |
| 5973 | 0 | if (want_skipped_width) { | 5974 | 0 | auto prefix_width = | 5975 | 0 | static_cast<std::ptrdiff_t>(calculate_text_width(fill_chars)) * | 5976 | 0 | ranges::distance(range.begin(), it) / ranges::ssize(fill_chars); | 5977 | 0 | return result_type{it, prefix_width}; | 5978 | 0 | } | 5979 | 0 | return result_type{it, 0}; | 5980 | 0 | } | 5981 | | | 5982 | 0 | auto max_width_view = take_width(range, max_width); | 5983 | 0 | auto w_it = read_while_code_units(max_width_view, fill_chars); | 5984 | |
| 5985 | 0 | if (want_skipped_width) { | 5986 | 0 | return result_type{w_it.base(), max_width - w_it.count()}; | 5987 | 0 | } | 5988 | 0 | return result_type{w_it.base(), 0}; | 5989 | 0 | } |
_ZN3scn2v34impl9skip_fillINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEEEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT_EEEElEEEESF_lRKNS0_6detail9fill_typeEb Line | Count | Source | 5939 | 678 | { | 5940 | 678 | using char_type = detail::char_t<Range>; | 5941 | 678 | using result_type = skip_fill_result<ranges::iterator_t<Range>>; | 5942 | | | 5943 | 678 | if (fill.size() <= sizeof(char_type)) { | 5944 | 424 | const auto fill_ch = fill.template get_code_unit<char_type>(); | 5945 | 424 | const auto pred = [=](char_type ch) { return ch == fill_ch; }; | 5946 | | | 5947 | 424 | if (max_width == 0) { | 5948 | 0 | auto it = read_while_code_unit(range, pred); | 5949 | |
| 5950 | 0 | if (want_skipped_width) { | 5951 | 0 | auto prefix_width = | 5952 | 0 | static_cast<std::ptrdiff_t>( | 5953 | 0 | calculate_text_width(static_cast<char32_t>(fill_ch))) * | 5954 | 0 | ranges::distance(range.begin(), it); | 5955 | 0 | return result_type{it, prefix_width}; | 5956 | 0 | } | 5957 | 0 | return result_type{it, 0}; | 5958 | 0 | } | 5959 | | | 5960 | 424 | auto max_width_view = take_width(range, max_width); | 5961 | 424 | auto w_it = read_while_code_unit(max_width_view, pred); | 5962 | | | 5963 | 424 | if (want_skipped_width) { | 5964 | 424 | return result_type{w_it.base(), max_width - w_it.count()}; | 5965 | 424 | } | 5966 | 0 | return result_type{w_it.base(), 0}; | 5967 | 424 | } | 5968 | | | 5969 | 254 | const auto fill_chars = fill.template get_code_units<char_type>(); | 5970 | 254 | if (max_width == 0) { | 5971 | 0 | auto it = read_while_code_units(range, fill_chars); | 5972 | |
| 5973 | 0 | if (want_skipped_width) { | 5974 | 0 | auto prefix_width = | 5975 | 0 | static_cast<std::ptrdiff_t>(calculate_text_width(fill_chars)) * | 5976 | 0 | ranges::distance(range.begin(), it) / ranges::ssize(fill_chars); | 5977 | 0 | return result_type{it, prefix_width}; | 5978 | 0 | } | 5979 | 0 | return result_type{it, 0}; | 5980 | 0 | } | 5981 | | | 5982 | 254 | auto max_width_view = take_width(range, max_width); | 5983 | 254 | auto w_it = read_while_code_units(max_width_view, fill_chars); | 5984 | | | 5985 | 254 | if (want_skipped_width) { | 5986 | 254 | return result_type{w_it.base(), max_width - w_it.count()}; | 5987 | 254 | } | 5988 | 0 | return result_type{w_it.base(), 0}; | 5989 | 254 | } |
_ZN3scn2v34impl9skip_fillINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEEEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT_EEEElEEEESF_lRKNS0_6detail9fill_typeEb Line | Count | Source | 5939 | 250 | { | 5940 | 250 | using char_type = detail::char_t<Range>; | 5941 | 250 | using result_type = skip_fill_result<ranges::iterator_t<Range>>; | 5942 | | | 5943 | 250 | if (fill.size() <= sizeof(char_type)) { | 5944 | 250 | const auto fill_ch = fill.template get_code_unit<char_type>(); | 5945 | 250 | const auto pred = [=](char_type ch) { return ch == fill_ch; }; | 5946 | | | 5947 | 250 | if (max_width == 0) { | 5948 | 0 | auto it = read_while_code_unit(range, pred); | 5949 | |
| 5950 | 0 | if (want_skipped_width) { | 5951 | 0 | auto prefix_width = | 5952 | 0 | static_cast<std::ptrdiff_t>( | 5953 | 0 | calculate_text_width(static_cast<char32_t>(fill_ch))) * | 5954 | 0 | ranges::distance(range.begin(), it); | 5955 | 0 | return result_type{it, prefix_width}; | 5956 | 0 | } | 5957 | 0 | return result_type{it, 0}; | 5958 | 0 | } | 5959 | | | 5960 | 250 | auto max_width_view = take_width(range, max_width); | 5961 | 250 | auto w_it = read_while_code_unit(max_width_view, pred); | 5962 | | | 5963 | 250 | if (want_skipped_width) { | 5964 | 250 | return result_type{w_it.base(), max_width - w_it.count()}; | 5965 | 250 | } | 5966 | 0 | return result_type{w_it.base(), 0}; | 5967 | 250 | } | 5968 | | | 5969 | 0 | const auto fill_chars = fill.template get_code_units<char_type>(); | 5970 | 0 | if (max_width == 0) { | 5971 | 0 | auto it = read_while_code_units(range, fill_chars); | 5972 | |
| 5973 | 0 | if (want_skipped_width) { | 5974 | 0 | auto prefix_width = | 5975 | 0 | static_cast<std::ptrdiff_t>(calculate_text_width(fill_chars)) * | 5976 | 0 | ranges::distance(range.begin(), it) / ranges::ssize(fill_chars); | 5977 | 0 | return result_type{it, prefix_width}; | 5978 | 0 | } | 5979 | 0 | return result_type{it, 0}; | 5980 | 0 | } | 5981 | | | 5982 | 0 | auto max_width_view = take_width(range, max_width); | 5983 | 0 | auto w_it = read_while_code_units(max_width_view, fill_chars); | 5984 | |
| 5985 | 0 | if (want_skipped_width) { | 5986 | 0 | return result_type{w_it.base(), max_width - w_it.count()}; | 5987 | 0 | } | 5988 | 0 | return result_type{w_it.base(), 0}; | 5989 | 0 | } |
|
5990 | | |
5991 | | SCN_MAYBE_UNUSED constexpr scan_error check_widths_for_arg_reader( |
5992 | | const detail::format_specs& specs, |
5993 | | std::ptrdiff_t prefix_width, |
5994 | | std::ptrdiff_t value_width, |
5995 | | std::ptrdiff_t postfix_width) |
5996 | 8.23k | { |
5997 | 8.23k | if (specs.width != 0) { |
5998 | 2.04k | if (prefix_width + value_width + postfix_width < specs.width) { |
5999 | 960 | return {scan_error::invalid_scanned_value, |
6000 | 960 | "Scanned value too narrow, width did not exceed what " |
6001 | 960 | "was specified in the format string"}; |
6002 | 960 | } |
6003 | 2.04k | } |
6004 | 7.27k | if (specs.precision != 0) { |
6005 | 1.86k | if (prefix_width + value_width + postfix_width > specs.precision) { |
6006 | 108 | return {scan_error::invalid_scanned_value, |
6007 | 108 | "Scanned value too wide, width exceeded the specified " |
6008 | 108 | "precision"}; |
6009 | 108 | } |
6010 | 1.86k | } |
6011 | 7.16k | return {}; |
6012 | 7.27k | } |
6013 | | |
6014 | | template <typename Context> |
6015 | | struct arg_reader { |
6016 | | using context_type = Context; |
6017 | | using char_type = typename context_type::char_type; |
6018 | | |
6019 | | using range_type = typename context_type::range_type; |
6020 | | using iterator = ranges::iterator_t<range_type>; |
6021 | | |
6022 | | template <typename Range> |
6023 | | auto impl_prefix(Range rng, bool rd_skip_ws_before_read) |
6024 | | -> scan_expected<skip_fill_result<ranges::iterator_t<Range>>> |
6025 | 29.2k | { |
6026 | 29.2k | const bool need_skipped_width = |
6027 | 29.2k | specs.width != 0 || specs.precision != 0; |
6028 | 29.2k | using result_type = skip_fill_result<ranges::iterator_t<Range>>; |
6029 | | |
6030 | | // Read prefix |
6031 | 29.2k | if (specs.align == detail::align_type::right || |
6032 | 29.2k | specs.align == detail::align_type::center) { |
6033 | 2.86k | return skip_fill(rng, specs.precision, specs.fill, |
6034 | 2.86k | need_skipped_width); |
6035 | 2.86k | } |
6036 | 26.3k | if (specs.align == detail::align_type::none && rd_skip_ws_before_read) { |
6037 | | // Default alignment: |
6038 | | // Skip preceding whitespace, if required by the reader |
6039 | 6.54k | if (specs.precision != 0) { |
6040 | 2.60k | auto max_width_view = take_width(rng, specs.precision); |
6041 | 2.60k | SCN_TRY(w_it, skip_classic_whitespace(max_width_view) |
6042 | 2.43k | .transform_error(make_eof_scan_error)); |
6043 | 2.43k | return result_type{w_it.base(), specs.precision - w_it.count()}; |
6044 | 2.60k | } |
6045 | 7.88k | SCN_TRY(it, skip_classic_whitespace(rng).transform_error( |
6046 | 7.88k | make_eof_scan_error)); |
6047 | | |
6048 | 7.88k | if (need_skipped_width) { |
6049 | 2.86k | return result_type{ |
6050 | 2.86k | it, |
6051 | 2.86k | calculate_text_width(make_contiguous_buffer( |
6052 | 2.86k | ranges::subrange{rng.begin(), it}) |
6053 | 2.86k | .view())}; |
6054 | 2.86k | } |
6055 | 1.08k | return result_type{it, 0}; |
6056 | 7.88k | } |
6057 | | |
6058 | 19.7k | return result_type{rng.begin(), 0}; |
6059 | 26.3k | } Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS0_18basic_scan_contextIcEEE11impl_prefixINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS8_18default_sentinel_tEEEEEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRT_EEEElEEEESM_b Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS0_18basic_scan_contextIcEEE11impl_prefixINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS7_18default_sentinel_tEEEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS7_5beginEEclsr3stdE7declvalIRT_EEEElEEEESK_b Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS0_18basic_scan_contextIcEEE11impl_prefixINS1_15take_width_viewINSt3__117basic_string_viewIcNS8_11char_traitsIcEEEEEEEENS0_13scan_expectedINS8_4pairIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT_EEEElEEEESH_b Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS0_18basic_scan_contextIcEEE11impl_prefixINSt3__117basic_string_viewIcNS7_11char_traitsIcEEEEEENS0_13scan_expectedINS7_4pairIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT_EEEElEEEESF_b Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS0_18basic_scan_contextIwEEE11impl_prefixINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS8_18default_sentinel_tEEEEEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRT_EEEElEEEESM_b Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS0_18basic_scan_contextIwEEE11impl_prefixINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS7_18default_sentinel_tEEEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS7_5beginEEclsr3stdE7declvalIRT_EEEElEEEESK_b Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS0_18basic_scan_contextIwEEE11impl_prefixINS1_15take_width_viewINSt3__117basic_string_viewIwNS8_11char_traitsIwEEEEEEEENS0_13scan_expectedINS8_4pairIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT_EEEElEEEESH_b Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS0_18basic_scan_contextIwEEE11impl_prefixINSt3__117basic_string_viewIwNS7_11char_traitsIwEEEEEENS0_13scan_expectedINS7_4pairIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT_EEEElEEEESF_b _ZN3scn2v34impl10arg_readerINS1_29basic_contiguous_scan_contextIcEEE11impl_prefixINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSD_EEEEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRT_EEEElEEEESJ_b Line | Count | Source | 6025 | 3.68k | { | 6026 | 3.68k | const bool need_skipped_width = | 6027 | 3.68k | specs.width != 0 || specs.precision != 0; | 6028 | 3.68k | using result_type = skip_fill_result<ranges::iterator_t<Range>>; | 6029 | | | 6030 | | // Read prefix | 6031 | 3.68k | if (specs.align == detail::align_type::right || | 6032 | 3.68k | specs.align == detail::align_type::center) { | 6033 | 678 | return skip_fill(rng, specs.precision, specs.fill, | 6034 | 678 | need_skipped_width); | 6035 | 678 | } | 6036 | 3.01k | if (specs.align == detail::align_type::none && rd_skip_ws_before_read) { | 6037 | | // Default alignment: | 6038 | | // Skip preceding whitespace, if required by the reader | 6039 | 1.89k | if (specs.precision != 0) { | 6040 | 1.89k | auto max_width_view = take_width(rng, specs.precision); | 6041 | 1.89k | SCN_TRY(w_it, skip_classic_whitespace(max_width_view) | 6042 | 1.71k | .transform_error(make_eof_scan_error)); | 6043 | 1.71k | return result_type{w_it.base(), specs.precision - w_it.count()}; | 6044 | 1.89k | } | 6045 | 0 | SCN_TRY(it, skip_classic_whitespace(rng).transform_error( | 6046 | 0 | make_eof_scan_error)); | 6047 | |
| 6048 | 0 | if (need_skipped_width) { | 6049 | 0 | return result_type{ | 6050 | 0 | it, | 6051 | 0 | calculate_text_width(make_contiguous_buffer( | 6052 | 0 | ranges::subrange{rng.begin(), it}) | 6053 | 0 | .view())}; | 6054 | 0 | } | 6055 | 0 | return result_type{it, 0}; | 6056 | 0 | } | 6057 | | | 6058 | 1.11k | return result_type{rng.begin(), 0}; | 6059 | 3.01k | } |
_ZN3scn2v34impl10arg_readerINS1_29basic_contiguous_scan_contextIcEEE11impl_prefixINS0_6ranges6detail9subrange_8subrangeIPKcSC_EEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS7_5beginEEclsr3stdE7declvalIRT_EEEElEEEESH_b Line | Count | Source | 6025 | 14.9k | { | 6026 | 14.9k | const bool need_skipped_width = | 6027 | 14.9k | specs.width != 0 || specs.precision != 0; | 6028 | 14.9k | using result_type = skip_fill_result<ranges::iterator_t<Range>>; | 6029 | | | 6030 | | // Read prefix | 6031 | 14.9k | if (specs.align == detail::align_type::right || | 6032 | 14.9k | specs.align == detail::align_type::center) { | 6033 | 1.61k | return skip_fill(rng, specs.precision, specs.fill, | 6034 | 1.61k | need_skipped_width); | 6035 | 1.61k | } | 6036 | 13.3k | if (specs.align == detail::align_type::none && rd_skip_ws_before_read) { | 6037 | | // Default alignment: | 6038 | | // Skip preceding whitespace, if required by the reader | 6039 | 1.64k | if (specs.precision != 0) { | 6040 | 0 | auto max_width_view = take_width(rng, specs.precision); | 6041 | 0 | SCN_TRY(w_it, skip_classic_whitespace(max_width_view) | 6042 | 0 | .transform_error(make_eof_scan_error)); | 6043 | 0 | return result_type{w_it.base(), specs.precision - w_it.count()}; | 6044 | 0 | } | 6045 | 3.28k | SCN_TRY(it, skip_classic_whitespace(rng).transform_error( | 6046 | 3.28k | make_eof_scan_error)); | 6047 | | | 6048 | 3.28k | if (need_skipped_width) { | 6049 | 1.02k | return result_type{ | 6050 | 1.02k | it, | 6051 | 1.02k | calculate_text_width(make_contiguous_buffer( | 6052 | 1.02k | ranges::subrange{rng.begin(), it}) | 6053 | 1.02k | .view())}; | 6054 | 1.02k | } | 6055 | 620 | return result_type{it, 0}; | 6056 | 3.28k | } | 6057 | | | 6058 | 11.7k | return result_type{rng.begin(), 0}; | 6059 | 13.3k | } |
_ZN3scn2v34impl10arg_readerINS1_29basic_contiguous_scan_contextIwEEE11impl_prefixINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSD_EEEEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRT_EEEElEEEESJ_b Line | Count | Source | 6025 | 1.42k | { | 6026 | 1.42k | const bool need_skipped_width = | 6027 | 1.42k | specs.width != 0 || specs.precision != 0; | 6028 | 1.42k | using result_type = skip_fill_result<ranges::iterator_t<Range>>; | 6029 | | | 6030 | | // Read prefix | 6031 | 1.42k | if (specs.align == detail::align_type::right || | 6032 | 1.42k | specs.align == detail::align_type::center) { | 6033 | 250 | return skip_fill(rng, specs.precision, specs.fill, | 6034 | 250 | need_skipped_width); | 6035 | 250 | } | 6036 | 1.17k | if (specs.align == detail::align_type::none && rd_skip_ws_before_read) { | 6037 | | // Default alignment: | 6038 | | // Skip preceding whitespace, if required by the reader | 6039 | 714 | if (specs.precision != 0) { | 6040 | 714 | auto max_width_view = take_width(rng, specs.precision); | 6041 | 714 | SCN_TRY(w_it, skip_classic_whitespace(max_width_view) | 6042 | 714 | .transform_error(make_eof_scan_error)); | 6043 | 714 | return result_type{w_it.base(), specs.precision - w_it.count()}; | 6044 | 714 | } | 6045 | 0 | SCN_TRY(it, skip_classic_whitespace(rng).transform_error( | 6046 | 0 | make_eof_scan_error)); | 6047 | |
| 6048 | 0 | if (need_skipped_width) { | 6049 | 0 | return result_type{ | 6050 | 0 | it, | 6051 | 0 | calculate_text_width(make_contiguous_buffer( | 6052 | 0 | ranges::subrange{rng.begin(), it}) | 6053 | 0 | .view())}; | 6054 | 0 | } | 6055 | 0 | return result_type{it, 0}; | 6056 | 0 | } | 6057 | | | 6058 | 456 | return result_type{rng.begin(), 0}; | 6059 | 1.17k | } |
_ZN3scn2v34impl10arg_readerINS1_29basic_contiguous_scan_contextIwEEE11impl_prefixINS0_6ranges6detail9subrange_8subrangeIPKwSC_EEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS7_5beginEEclsr3stdE7declvalIRT_EEEElEEEESH_b Line | Count | Source | 6025 | 9.13k | { | 6026 | 9.13k | const bool need_skipped_width = | 6027 | 9.13k | specs.width != 0 || specs.precision != 0; | 6028 | 9.13k | using result_type = skip_fill_result<ranges::iterator_t<Range>>; | 6029 | | | 6030 | | // Read prefix | 6031 | 9.13k | if (specs.align == detail::align_type::right || | 6032 | 9.13k | specs.align == detail::align_type::center) { | 6033 | 320 | return skip_fill(rng, specs.precision, specs.fill, | 6034 | 320 | need_skipped_width); | 6035 | 320 | } | 6036 | 8.81k | if (specs.align == detail::align_type::none && rd_skip_ws_before_read) { | 6037 | | // Default alignment: | 6038 | | // Skip preceding whitespace, if required by the reader | 6039 | 2.29k | if (specs.precision != 0) { | 6040 | 0 | auto max_width_view = take_width(rng, specs.precision); | 6041 | 0 | SCN_TRY(w_it, skip_classic_whitespace(max_width_view) | 6042 | 0 | .transform_error(make_eof_scan_error)); | 6043 | 0 | return result_type{w_it.base(), specs.precision - w_it.count()}; | 6044 | 0 | } | 6045 | 4.59k | SCN_TRY(it, skip_classic_whitespace(rng).transform_error( | 6046 | 4.59k | make_eof_scan_error)); | 6047 | | | 6048 | 4.59k | if (need_skipped_width) { | 6049 | 1.83k | return result_type{ | 6050 | 1.83k | it, | 6051 | 1.83k | calculate_text_width(make_contiguous_buffer( | 6052 | 1.83k | ranges::subrange{rng.begin(), it}) | 6053 | 1.83k | .view())}; | 6054 | 1.83k | } | 6055 | 460 | return result_type{it, 0}; | 6056 | 4.59k | } | 6057 | | | 6058 | 6.51k | return result_type{rng.begin(), 0}; | 6059 | 8.81k | } |
|
6060 | | |
6061 | | template <typename Range> |
6062 | | auto impl_postfix(Range rng, |
6063 | | bool rd_skip_ws_before_read, |
6064 | | std::ptrdiff_t prefix_width, |
6065 | | std::ptrdiff_t value_width) |
6066 | | -> scan_expected<skip_fill_result<ranges::iterator_t<Range>>> |
6067 | 6.21k | { |
6068 | 6.21k | const bool need_skipped_width = |
6069 | 6.21k | specs.width != 0 || specs.precision != 0; |
6070 | 6.21k | using result_type = skip_fill_result<ranges::iterator_t<Range>>; |
6071 | | |
6072 | 6.21k | if (specs.align == detail::align_type::left || |
6073 | 6.21k | specs.align == detail::align_type::center) { |
6074 | 830 | if (specs.precision != 0 && |
6075 | 830 | specs.precision - value_width - prefix_width == 0) { |
6076 | 136 | return result_type{rng.begin(), 0}; |
6077 | 136 | } |
6078 | 694 | return skip_fill(rng, specs.precision - value_width - prefix_width, |
6079 | 694 | specs.fill, need_skipped_width); |
6080 | 830 | } |
6081 | 5.38k | if (specs.align == detail::align_type::none && |
6082 | 5.38k | !rd_skip_ws_before_read && |
6083 | 5.38k | ((specs.width != 0 && prefix_width + value_width < specs.width) || |
6084 | 4.73k | (specs.precision != 0 && |
6085 | 4.09k | prefix_width + value_width < specs.precision))) { |
6086 | 1.29k | if (specs.precision != 0) { |
6087 | 648 | const auto initial_width = |
6088 | 648 | specs.precision - prefix_width - value_width; |
6089 | 648 | auto max_width_view = take_width(rng, initial_width); |
6090 | 648 | SCN_TRY(w_it, skip_classic_whitespace(max_width_view, true) |
6091 | 648 | .transform_error(make_eof_scan_error)); |
6092 | 648 | return result_type{w_it.base(), initial_width - w_it.count()}; |
6093 | 648 | } |
6094 | 1.28k | SCN_TRY(it, skip_classic_whitespace(rng, true).transform_error( |
6095 | 1.28k | make_eof_scan_error)); |
6096 | | |
6097 | 1.28k | if (need_skipped_width) { |
6098 | 642 | return result_type{ |
6099 | 642 | it, |
6100 | 642 | calculate_text_width(make_contiguous_buffer( |
6101 | 642 | ranges::subrange{rng.begin(), it}) |
6102 | 642 | .view())}; |
6103 | 642 | } |
6104 | 0 | return result_type{it, 0}; |
6105 | 1.28k | } |
6106 | 4.09k | return result_type{rng.begin(), 0}; |
6107 | 5.38k | } Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS0_18basic_scan_contextIcEEE12impl_postfixINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS7_18default_sentinel_tEEEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS7_5beginEEclsr3stdE7declvalIRT_EEEElEEEESK_bll Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS0_18basic_scan_contextIcEEE12impl_postfixINS0_6ranges6detail9subrange_8subrangeIPKcSC_EEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS7_5beginEEclsr3stdE7declvalIRT_EEEElEEEESH_bll Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS0_18basic_scan_contextIwEEE12impl_postfixINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS7_18default_sentinel_tEEEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS7_5beginEEclsr3stdE7declvalIRT_EEEElEEEESK_bll Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS0_18basic_scan_contextIwEEE12impl_postfixINS0_6ranges6detail9subrange_8subrangeIPKwSC_EEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS7_5beginEEclsr3stdE7declvalIRT_EEEElEEEESH_bll _ZN3scn2v34impl10arg_readerINS1_29basic_contiguous_scan_contextIcEEE12impl_postfixINS0_6ranges6detail9subrange_8subrangeIPKcSC_EEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS7_5beginEEclsr3stdE7declvalIRT_EEEElEEEESH_bll Line | Count | Source | 6067 | 4.21k | { | 6068 | 4.21k | const bool need_skipped_width = | 6069 | 4.21k | specs.width != 0 || specs.precision != 0; | 6070 | 4.21k | using result_type = skip_fill_result<ranges::iterator_t<Range>>; | 6071 | | | 6072 | 4.21k | if (specs.align == detail::align_type::left || | 6073 | 4.21k | specs.align == detail::align_type::center) { | 6074 | 596 | if (specs.precision != 0 && | 6075 | 596 | specs.precision - value_width - prefix_width == 0) { | 6076 | 92 | return result_type{rng.begin(), 0}; | 6077 | 92 | } | 6078 | 504 | return skip_fill(rng, specs.precision - value_width - prefix_width, | 6079 | 504 | specs.fill, need_skipped_width); | 6080 | 596 | } | 6081 | 3.61k | if (specs.align == detail::align_type::none && | 6082 | 3.61k | !rd_skip_ws_before_read && | 6083 | 3.61k | ((specs.width != 0 && prefix_width + value_width < specs.width) || | 6084 | 3.18k | (specs.precision != 0 && | 6085 | 2.98k | prefix_width + value_width < specs.precision))) { | 6086 | 664 | if (specs.precision != 0) { | 6087 | 468 | const auto initial_width = | 6088 | 468 | specs.precision - prefix_width - value_width; | 6089 | 468 | auto max_width_view = take_width(rng, initial_width); | 6090 | 468 | SCN_TRY(w_it, skip_classic_whitespace(max_width_view, true) | 6091 | 468 | .transform_error(make_eof_scan_error)); | 6092 | 468 | return result_type{w_it.base(), initial_width - w_it.count()}; | 6093 | 468 | } | 6094 | 392 | SCN_TRY(it, skip_classic_whitespace(rng, true).transform_error( | 6095 | 392 | make_eof_scan_error)); | 6096 | | | 6097 | 392 | if (need_skipped_width) { | 6098 | 196 | return result_type{ | 6099 | 196 | it, | 6100 | 196 | calculate_text_width(make_contiguous_buffer( | 6101 | 196 | ranges::subrange{rng.begin(), it}) | 6102 | 196 | .view())}; | 6103 | 196 | } | 6104 | 0 | return result_type{it, 0}; | 6105 | 392 | } | 6106 | 2.95k | return result_type{rng.begin(), 0}; | 6107 | 3.61k | } |
_ZN3scn2v34impl10arg_readerINS1_29basic_contiguous_scan_contextIwEEE12impl_postfixINS0_6ranges6detail9subrange_8subrangeIPKwSC_EEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS7_5beginEEclsr3stdE7declvalIRT_EEEElEEEESH_bll Line | Count | Source | 6067 | 2.00k | { | 6068 | 2.00k | const bool need_skipped_width = | 6069 | 2.00k | specs.width != 0 || specs.precision != 0; | 6070 | 2.00k | using result_type = skip_fill_result<ranges::iterator_t<Range>>; | 6071 | | | 6072 | 2.00k | if (specs.align == detail::align_type::left || | 6073 | 2.00k | specs.align == detail::align_type::center) { | 6074 | 234 | if (specs.precision != 0 && | 6075 | 234 | specs.precision - value_width - prefix_width == 0) { | 6076 | 44 | return result_type{rng.begin(), 0}; | 6077 | 44 | } | 6078 | 190 | return skip_fill(rng, specs.precision - value_width - prefix_width, | 6079 | 190 | specs.fill, need_skipped_width); | 6080 | 234 | } | 6081 | 1.76k | if (specs.align == detail::align_type::none && | 6082 | 1.76k | !rd_skip_ws_before_read && | 6083 | 1.76k | ((specs.width != 0 && prefix_width + value_width < specs.width) || | 6084 | 1.55k | (specs.precision != 0 && | 6085 | 1.10k | prefix_width + value_width < specs.precision))) { | 6086 | 626 | if (specs.precision != 0) { | 6087 | 180 | const auto initial_width = | 6088 | 180 | specs.precision - prefix_width - value_width; | 6089 | 180 | auto max_width_view = take_width(rng, initial_width); | 6090 | 180 | SCN_TRY(w_it, skip_classic_whitespace(max_width_view, true) | 6091 | 180 | .transform_error(make_eof_scan_error)); | 6092 | 180 | return result_type{w_it.base(), initial_width - w_it.count()}; | 6093 | 180 | } | 6094 | 892 | SCN_TRY(it, skip_classic_whitespace(rng, true).transform_error( | 6095 | 892 | make_eof_scan_error)); | 6096 | | | 6097 | 892 | if (need_skipped_width) { | 6098 | 446 | return result_type{ | 6099 | 446 | it, | 6100 | 446 | calculate_text_width(make_contiguous_buffer( | 6101 | 446 | ranges::subrange{rng.begin(), it}) | 6102 | 446 | .view())}; | 6103 | 446 | } | 6104 | 0 | return result_type{it, 0}; | 6105 | 892 | } | 6106 | 1.14k | return result_type{rng.begin(), 0}; | 6107 | 1.76k | } |
|
6108 | | |
6109 | | template <typename Reader, typename Range, typename T> |
6110 | | auto impl(Reader& rd, Range rng, T& value) |
6111 | | -> scan_expected<ranges::iterator_t<Range>> |
6112 | 29.2k | { |
6113 | 29.2k | const bool need_skipped_width = |
6114 | 29.2k | specs.width != 0 || specs.precision != 0; |
6115 | | |
6116 | | // Read prefix |
6117 | 29.2k | auto it = rng.begin(); |
6118 | 29.2k | std::ptrdiff_t prefix_width = 0; |
6119 | 29.2k | if (specs.precision != 0) { |
6120 | 5.10k | auto max_width_view = take_width(rng, specs.precision); |
6121 | 5.10k | SCN_TRY(prefix_result, |
6122 | 4.93k | impl_prefix(max_width_view, rd.skip_ws_before_read())); |
6123 | 4.93k | it = prefix_result.first.base(); |
6124 | 4.93k | prefix_width = prefix_result.second; |
6125 | 4.93k | } |
6126 | 24.1k | else { |
6127 | 24.1k | SCN_TRY(prefix_result, impl_prefix(rng, rd.skip_ws_before_read())); |
6128 | 24.1k | std::tie(it, prefix_width) = prefix_result; |
6129 | 24.1k | } |
6130 | 29.0k | auto prefix_end_it = it; |
6131 | | |
6132 | | // Read value |
6133 | 29.0k | std::ptrdiff_t value_width = 0; |
6134 | 29.0k | if (specs.precision != 0) { |
6135 | 4.93k | if (specs.precision <= prefix_width) { |
6136 | 88 | return unexpected_scan_error( |
6137 | 88 | scan_error::invalid_scanned_value, |
6138 | 88 | "Too many fill characters before value, " |
6139 | 88 | "precision exceeded before reading value"); |
6140 | 88 | } |
6141 | | |
6142 | 4.84k | const auto initial_width = specs.precision - prefix_width; |
6143 | 4.84k | auto max_width_view = |
6144 | 4.84k | take_width(ranges::subrange{it, rng.end()}, initial_width); |
6145 | 4.84k | SCN_TRY(w_it, rd.read_specs(max_width_view, specs, value, loc)); |
6146 | 1.86k | it = w_it.base(); |
6147 | 1.86k | value_width = initial_width - w_it.count(); |
6148 | 1.86k | } |
6149 | 24.1k | else { |
6150 | 24.1k | SCN_TRY_ASSIGN(it, rd.read_specs(ranges::subrange{it, rng.end()}, |
6151 | 6.37k | specs, value, loc)); |
6152 | | |
6153 | 6.37k | if (need_skipped_width) { |
6154 | 2.00k | value_width = calculate_text_width( |
6155 | 2.00k | make_contiguous_buffer(ranges::subrange{prefix_end_it, it}) |
6156 | 2.00k | .view()); |
6157 | 2.00k | } |
6158 | 6.37k | } |
6159 | | |
6160 | | // Read postfix |
6161 | 8.23k | std::ptrdiff_t postfix_width = 0; |
6162 | 8.23k | if (it != rng.end()) { |
6163 | 6.21k | SCN_TRY(postfix_result, |
6164 | 6.21k | impl_postfix(ranges::subrange{it, rng.end()}, |
6165 | 6.21k | rd.skip_ws_before_read(), prefix_width, |
6166 | 6.21k | value_width)); |
6167 | 6.21k | std::tie(it, postfix_width) = postfix_result; |
6168 | 6.21k | } |
6169 | | |
6170 | 8.23k | if (auto e = check_widths_for_arg_reader(specs, prefix_width, |
6171 | 8.23k | value_width, postfix_width); |
6172 | 8.23k | !e) { |
6173 | 1.06k | return unexpected(e); |
6174 | 1.06k | } |
6175 | | |
6176 | 7.16k | return it; |
6177 | 8.23k | } Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS0_18basic_scan_contextIcEEE4implINS1_20reader_impl_for_charIcEENS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEcEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SK_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS0_18basic_scan_contextIcEEE4implINS1_20reader_impl_for_charIcEENSt3__117basic_string_viewIcNS9_11char_traitsIcEEEEcEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SG_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS0_18basic_scan_contextIcEEE4implINS1_19reader_impl_for_intIcEENS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEaEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SK_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS0_18basic_scan_contextIcEEE4implINS1_19reader_impl_for_intIcEENSt3__117basic_string_viewIcNS9_11char_traitsIcEEEEaEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SG_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS0_18basic_scan_contextIcEEE4implINS1_19reader_impl_for_intIcEENS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEsEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SK_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS0_18basic_scan_contextIcEEE4implINS1_19reader_impl_for_intIcEENSt3__117basic_string_viewIcNS9_11char_traitsIcEEEEsEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SG_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS0_18basic_scan_contextIcEEE4implINS1_19reader_impl_for_intIcEENS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEiEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SK_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS0_18basic_scan_contextIcEEE4implINS1_19reader_impl_for_intIcEENSt3__117basic_string_viewIcNS9_11char_traitsIcEEEEiEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SG_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS0_18basic_scan_contextIcEEE4implINS1_19reader_impl_for_intIcEENS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEElEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SK_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS0_18basic_scan_contextIcEEE4implINS1_19reader_impl_for_intIcEENSt3__117basic_string_viewIcNS9_11char_traitsIcEEEElEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SG_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS0_18basic_scan_contextIcEEE4implINS1_19reader_impl_for_intIcEENS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEExEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SK_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS0_18basic_scan_contextIcEEE4implINS1_19reader_impl_for_intIcEENSt3__117basic_string_viewIcNS9_11char_traitsIcEEEExEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SG_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS0_18basic_scan_contextIcEEE4implINS1_19reader_impl_for_intIcEENS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEhEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SK_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS0_18basic_scan_contextIcEEE4implINS1_19reader_impl_for_intIcEENSt3__117basic_string_viewIcNS9_11char_traitsIcEEEEhEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SG_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS0_18basic_scan_contextIcEEE4implINS1_19reader_impl_for_intIcEENS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEtEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SK_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS0_18basic_scan_contextIcEEE4implINS1_19reader_impl_for_intIcEENSt3__117basic_string_viewIcNS9_11char_traitsIcEEEEtEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SG_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS0_18basic_scan_contextIcEEE4implINS1_19reader_impl_for_intIcEENS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEjEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SK_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS0_18basic_scan_contextIcEEE4implINS1_19reader_impl_for_intIcEENSt3__117basic_string_viewIcNS9_11char_traitsIcEEEEjEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SG_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS0_18basic_scan_contextIcEEE4implINS1_19reader_impl_for_intIcEENS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEmEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SK_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS0_18basic_scan_contextIcEEE4implINS1_19reader_impl_for_intIcEENSt3__117basic_string_viewIcNS9_11char_traitsIcEEEEmEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SG_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS0_18basic_scan_contextIcEEE4implINS1_19reader_impl_for_intIcEENS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEyEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SK_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS0_18basic_scan_contextIcEEE4implINS1_19reader_impl_for_intIcEENSt3__117basic_string_viewIcNS9_11char_traitsIcEEEEyEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SG_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS0_18basic_scan_contextIcEEE4implINS1_21reader_impl_for_floatIcEENS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEfEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SK_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS0_18basic_scan_contextIcEEE4implINS1_21reader_impl_for_floatIcEENSt3__117basic_string_viewIcNS9_11char_traitsIcEEEEfEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SG_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS0_18basic_scan_contextIcEEE4implINS1_21reader_impl_for_floatIcEENS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEdEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SK_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS0_18basic_scan_contextIcEEE4implINS1_21reader_impl_for_floatIcEENSt3__117basic_string_viewIcNS9_11char_traitsIcEEEEdEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SG_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS0_18basic_scan_contextIcEEE4implINS1_21reader_impl_for_floatIcEENS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEeEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SK_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS0_18basic_scan_contextIcEEE4implINS1_21reader_impl_for_floatIcEENSt3__117basic_string_viewIcNS9_11char_traitsIcEEEEeEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SG_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS0_18basic_scan_contextIcEEE4implINS1_22reader_impl_for_stringIcEENS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEENSt3__112basic_stringIcNSJ_11char_traitsIcEENSJ_9allocatorIcEEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SR_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS0_18basic_scan_contextIcEEE4implINS1_22reader_impl_for_stringIcEENSt3__117basic_string_viewIcNS9_11char_traitsIcEEEENS9_12basic_stringIcSC_NS9_9allocatorIcEEEEEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SK_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS0_18basic_scan_contextIcEEE4implINS1_22reader_impl_for_stringIcEENS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEENSt3__112basic_stringIwNSJ_11char_traitsIwEENSJ_9allocatorIwEEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SR_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS0_18basic_scan_contextIcEEE4implINS1_22reader_impl_for_stringIcEENSt3__117basic_string_viewIcNS9_11char_traitsIcEEEENS9_12basic_stringIwNSB_IwEENS9_9allocatorIwEEEEEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SL_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS0_18basic_scan_contextIcEEE4implINS1_22reader_impl_for_stringIcEENS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEENSt3__117basic_string_viewIcNSJ_11char_traitsIcEEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SP_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS0_18basic_scan_contextIcEEE4implINS1_22reader_impl_for_stringIcEENSt3__117basic_string_viewIcNS9_11char_traitsIcEEEESD_EENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SG_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS0_18basic_scan_contextIcEEE4implINS1_22reader_impl_for_stringIcEENS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEENSt3__117basic_string_viewIwNSJ_11char_traitsIwEEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SP_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS0_18basic_scan_contextIcEEE4implINS1_22reader_impl_for_stringIcEENSt3__117basic_string_viewIcNS9_11char_traitsIcEEEENSA_IwNSB_IwEEEEEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS0_18basic_scan_contextIcEEE4implINS1_29reader_impl_for_regex_matchesIcEENS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEENS0_19basic_regex_matchesIcEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SM_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS0_18basic_scan_contextIcEEE4implINS1_29reader_impl_for_regex_matchesIcEENSt3__117basic_string_viewIcNS9_11char_traitsIcEEEENS0_19basic_regex_matchesIcEEEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS0_18basic_scan_contextIcEEE4implINS1_29reader_impl_for_regex_matchesIcEENS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEENS0_19basic_regex_matchesIwEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SM_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS0_18basic_scan_contextIcEEE4implINS1_29reader_impl_for_regex_matchesIcEENSt3__117basic_string_viewIcNS9_11char_traitsIcEEEENS0_19basic_regex_matchesIwEEEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS0_18basic_scan_contextIwEEE4implINS1_21reader_impl_for_wcharIwEENS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEwEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SK_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS0_18basic_scan_contextIwEEE4implINS1_21reader_impl_for_wcharIwEENSt3__117basic_string_viewIwNS9_11char_traitsIwEEEEwEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SG_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS0_18basic_scan_contextIwEEE4implINS1_19reader_impl_for_intIwEENS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEaEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SK_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS0_18basic_scan_contextIwEEE4implINS1_19reader_impl_for_intIwEENSt3__117basic_string_viewIwNS9_11char_traitsIwEEEEaEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SG_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS0_18basic_scan_contextIwEEE4implINS1_19reader_impl_for_intIwEENS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEsEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SK_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS0_18basic_scan_contextIwEEE4implINS1_19reader_impl_for_intIwEENSt3__117basic_string_viewIwNS9_11char_traitsIwEEEEsEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SG_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS0_18basic_scan_contextIwEEE4implINS1_19reader_impl_for_intIwEENS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEiEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SK_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS0_18basic_scan_contextIwEEE4implINS1_19reader_impl_for_intIwEENSt3__117basic_string_viewIwNS9_11char_traitsIwEEEEiEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SG_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS0_18basic_scan_contextIwEEE4implINS1_19reader_impl_for_intIwEENS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEElEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SK_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS0_18basic_scan_contextIwEEE4implINS1_19reader_impl_for_intIwEENSt3__117basic_string_viewIwNS9_11char_traitsIwEEEElEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SG_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS0_18basic_scan_contextIwEEE4implINS1_19reader_impl_for_intIwEENS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEExEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SK_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS0_18basic_scan_contextIwEEE4implINS1_19reader_impl_for_intIwEENSt3__117basic_string_viewIwNS9_11char_traitsIwEEEExEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SG_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS0_18basic_scan_contextIwEEE4implINS1_19reader_impl_for_intIwEENS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEhEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SK_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS0_18basic_scan_contextIwEEE4implINS1_19reader_impl_for_intIwEENSt3__117basic_string_viewIwNS9_11char_traitsIwEEEEhEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SG_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS0_18basic_scan_contextIwEEE4implINS1_19reader_impl_for_intIwEENS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEtEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SK_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS0_18basic_scan_contextIwEEE4implINS1_19reader_impl_for_intIwEENSt3__117basic_string_viewIwNS9_11char_traitsIwEEEEtEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SG_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS0_18basic_scan_contextIwEEE4implINS1_19reader_impl_for_intIwEENS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEjEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SK_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS0_18basic_scan_contextIwEEE4implINS1_19reader_impl_for_intIwEENSt3__117basic_string_viewIwNS9_11char_traitsIwEEEEjEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SG_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS0_18basic_scan_contextIwEEE4implINS1_19reader_impl_for_intIwEENS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEmEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SK_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS0_18basic_scan_contextIwEEE4implINS1_19reader_impl_for_intIwEENSt3__117basic_string_viewIwNS9_11char_traitsIwEEEEmEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SG_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS0_18basic_scan_contextIwEEE4implINS1_19reader_impl_for_intIwEENS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEyEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SK_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS0_18basic_scan_contextIwEEE4implINS1_19reader_impl_for_intIwEENSt3__117basic_string_viewIwNS9_11char_traitsIwEEEEyEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SG_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS0_18basic_scan_contextIwEEE4implINS1_21reader_impl_for_floatIwEENS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEfEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SK_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS0_18basic_scan_contextIwEEE4implINS1_21reader_impl_for_floatIwEENSt3__117basic_string_viewIwNS9_11char_traitsIwEEEEfEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SG_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS0_18basic_scan_contextIwEEE4implINS1_21reader_impl_for_floatIwEENS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEdEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SK_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS0_18basic_scan_contextIwEEE4implINS1_21reader_impl_for_floatIwEENSt3__117basic_string_viewIwNS9_11char_traitsIwEEEEdEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SG_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS0_18basic_scan_contextIwEEE4implINS1_21reader_impl_for_floatIwEENS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEeEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SK_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS0_18basic_scan_contextIwEEE4implINS1_21reader_impl_for_floatIwEENSt3__117basic_string_viewIwNS9_11char_traitsIwEEEEeEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SG_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS0_18basic_scan_contextIwEEE4implINS1_22reader_impl_for_stringIwEENS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEENSt3__112basic_stringIcNSJ_11char_traitsIcEENSJ_9allocatorIcEEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SR_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS0_18basic_scan_contextIwEEE4implINS1_22reader_impl_for_stringIwEENSt3__117basic_string_viewIwNS9_11char_traitsIwEEEENS9_12basic_stringIcNSB_IcEENS9_9allocatorIcEEEEEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SL_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS0_18basic_scan_contextIwEEE4implINS1_22reader_impl_for_stringIwEENS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEENSt3__112basic_stringIwNSJ_11char_traitsIwEENSJ_9allocatorIwEEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SR_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS0_18basic_scan_contextIwEEE4implINS1_22reader_impl_for_stringIwEENSt3__117basic_string_viewIwNS9_11char_traitsIwEEEENS9_12basic_stringIwSC_NS9_9allocatorIwEEEEEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SK_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS0_18basic_scan_contextIwEEE4implINS1_22reader_impl_for_stringIwEENS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEENSt3__117basic_string_viewIcNSJ_11char_traitsIcEEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SP_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS0_18basic_scan_contextIwEEE4implINS1_22reader_impl_for_stringIwEENSt3__117basic_string_viewIwNS9_11char_traitsIwEEEENSA_IcNSB_IcEEEEEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS0_18basic_scan_contextIwEEE4implINS1_22reader_impl_for_stringIwEENS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEENSt3__117basic_string_viewIwNSJ_11char_traitsIwEEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SP_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS0_18basic_scan_contextIwEEE4implINS1_22reader_impl_for_stringIwEENSt3__117basic_string_viewIwNS9_11char_traitsIwEEEESD_EENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SG_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS0_18basic_scan_contextIwEEE4implINS1_29reader_impl_for_regex_matchesIwEENS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEENS0_19basic_regex_matchesIcEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SM_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS0_18basic_scan_contextIwEEE4implINS1_29reader_impl_for_regex_matchesIwEENSt3__117basic_string_viewIwNS9_11char_traitsIwEEEENS0_19basic_regex_matchesIcEEEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS0_18basic_scan_contextIwEEE4implINS1_29reader_impl_for_regex_matchesIwEENS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEENS0_19basic_regex_matchesIwEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SM_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS0_18basic_scan_contextIwEEE4implINS1_29reader_impl_for_regex_matchesIwEENSt3__117basic_string_viewIwNS9_11char_traitsIwEEEENS0_19basic_regex_matchesIwEEEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS1_29basic_contiguous_scan_contextIcEEE4implINS1_19reader_impl_for_intIcEENS0_6ranges6detail9subrange_8subrangeIPKcSE_EEaEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS1_29basic_contiguous_scan_contextIcEEE4implINS1_19reader_impl_for_intIcEENS0_6ranges6detail9subrange_8subrangeIPKcSE_EEsEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ _ZN3scn2v34impl10arg_readerINS1_29basic_contiguous_scan_contextIcEEE4implINS1_19reader_impl_for_intIcEENS0_6ranges6detail9subrange_8subrangeIPKcSE_EEiEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Line | Count | Source | 6112 | 574 | { | 6113 | 574 | const bool need_skipped_width = | 6114 | 574 | specs.width != 0 || specs.precision != 0; | 6115 | | | 6116 | | // Read prefix | 6117 | 574 | auto it = rng.begin(); | 6118 | 574 | std::ptrdiff_t prefix_width = 0; | 6119 | 574 | if (specs.precision != 0) { | 6120 | 296 | auto max_width_view = take_width(rng, specs.precision); | 6121 | 296 | SCN_TRY(prefix_result, | 6122 | 272 | impl_prefix(max_width_view, rd.skip_ws_before_read())); | 6123 | 272 | it = prefix_result.first.base(); | 6124 | 272 | prefix_width = prefix_result.second; | 6125 | 272 | } | 6126 | 278 | else { | 6127 | 278 | SCN_TRY(prefix_result, impl_prefix(rng, rd.skip_ws_before_read())); | 6128 | 278 | std::tie(it, prefix_width) = prefix_result; | 6129 | 278 | } | 6130 | 550 | auto prefix_end_it = it; | 6131 | | | 6132 | | // Read value | 6133 | 550 | std::ptrdiff_t value_width = 0; | 6134 | 550 | if (specs.precision != 0) { | 6135 | 272 | if (specs.precision <= prefix_width) { | 6136 | 6 | return unexpected_scan_error( | 6137 | 6 | scan_error::invalid_scanned_value, | 6138 | 6 | "Too many fill characters before value, " | 6139 | 6 | "precision exceeded before reading value"); | 6140 | 6 | } | 6141 | | | 6142 | 266 | const auto initial_width = specs.precision - prefix_width; | 6143 | 266 | auto max_width_view = | 6144 | 266 | take_width(ranges::subrange{it, rng.end()}, initial_width); | 6145 | 266 | SCN_TRY(w_it, rd.read_specs(max_width_view, specs, value, loc)); | 6146 | 0 | it = w_it.base(); | 6147 | 0 | value_width = initial_width - w_it.count(); | 6148 | 0 | } | 6149 | 278 | else { | 6150 | 278 | SCN_TRY_ASSIGN(it, rd.read_specs(ranges::subrange{it, rng.end()}, | 6151 | 0 | specs, value, loc)); | 6152 | |
| 6153 | 0 | if (need_skipped_width) { | 6154 | 0 | value_width = calculate_text_width( | 6155 | 0 | make_contiguous_buffer(ranges::subrange{prefix_end_it, it}) | 6156 | 0 | .view()); | 6157 | 0 | } | 6158 | 0 | } | 6159 | | | 6160 | | // Read postfix | 6161 | 0 | std::ptrdiff_t postfix_width = 0; | 6162 | 0 | if (it != rng.end()) { | 6163 | 0 | SCN_TRY(postfix_result, | 6164 | 0 | impl_postfix(ranges::subrange{it, rng.end()}, | 6165 | 0 | rd.skip_ws_before_read(), prefix_width, | 6166 | 0 | value_width)); | 6167 | 0 | std::tie(it, postfix_width) = postfix_result; | 6168 | 0 | } | 6169 | | | 6170 | 0 | if (auto e = check_widths_for_arg_reader(specs, prefix_width, | 6171 | 0 | value_width, postfix_width); | 6172 | 0 | !e) { | 6173 | 0 | return unexpected(e); | 6174 | 0 | } | 6175 | | | 6176 | 0 | return it; | 6177 | 0 | } |
Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS1_29basic_contiguous_scan_contextIcEEE4implINS1_19reader_impl_for_intIcEENS0_6ranges6detail9subrange_8subrangeIPKcSE_EElEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS1_29basic_contiguous_scan_contextIcEEE4implINS1_19reader_impl_for_intIcEENS0_6ranges6detail9subrange_8subrangeIPKcSE_EExEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS1_29basic_contiguous_scan_contextIcEEE4implINS1_19reader_impl_for_intIcEENS0_6ranges6detail9subrange_8subrangeIPKcSE_EEhEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS1_29basic_contiguous_scan_contextIcEEE4implINS1_19reader_impl_for_intIcEENS0_6ranges6detail9subrange_8subrangeIPKcSE_EEtEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ _ZN3scn2v34impl10arg_readerINS1_29basic_contiguous_scan_contextIcEEE4implINS1_19reader_impl_for_intIcEENS0_6ranges6detail9subrange_8subrangeIPKcSE_EEjEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Line | Count | Source | 6112 | 574 | { | 6113 | 574 | const bool need_skipped_width = | 6114 | 574 | specs.width != 0 || specs.precision != 0; | 6115 | | | 6116 | | // Read prefix | 6117 | 574 | auto it = rng.begin(); | 6118 | 574 | std::ptrdiff_t prefix_width = 0; | 6119 | 574 | if (specs.precision != 0) { | 6120 | 296 | auto max_width_view = take_width(rng, specs.precision); | 6121 | 296 | SCN_TRY(prefix_result, | 6122 | 272 | impl_prefix(max_width_view, rd.skip_ws_before_read())); | 6123 | 272 | it = prefix_result.first.base(); | 6124 | 272 | prefix_width = prefix_result.second; | 6125 | 272 | } | 6126 | 278 | else { | 6127 | 278 | SCN_TRY(prefix_result, impl_prefix(rng, rd.skip_ws_before_read())); | 6128 | 278 | std::tie(it, prefix_width) = prefix_result; | 6129 | 278 | } | 6130 | 550 | auto prefix_end_it = it; | 6131 | | | 6132 | | // Read value | 6133 | 550 | std::ptrdiff_t value_width = 0; | 6134 | 550 | if (specs.precision != 0) { | 6135 | 272 | if (specs.precision <= prefix_width) { | 6136 | 6 | return unexpected_scan_error( | 6137 | 6 | scan_error::invalid_scanned_value, | 6138 | 6 | "Too many fill characters before value, " | 6139 | 6 | "precision exceeded before reading value"); | 6140 | 6 | } | 6141 | | | 6142 | 266 | const auto initial_width = specs.precision - prefix_width; | 6143 | 266 | auto max_width_view = | 6144 | 266 | take_width(ranges::subrange{it, rng.end()}, initial_width); | 6145 | 266 | SCN_TRY(w_it, rd.read_specs(max_width_view, specs, value, loc)); | 6146 | 0 | it = w_it.base(); | 6147 | 0 | value_width = initial_width - w_it.count(); | 6148 | 0 | } | 6149 | 278 | else { | 6150 | 278 | SCN_TRY_ASSIGN(it, rd.read_specs(ranges::subrange{it, rng.end()}, | 6151 | 0 | specs, value, loc)); | 6152 | |
| 6153 | 0 | if (need_skipped_width) { | 6154 | 0 | value_width = calculate_text_width( | 6155 | 0 | make_contiguous_buffer(ranges::subrange{prefix_end_it, it}) | 6156 | 0 | .view()); | 6157 | 0 | } | 6158 | 0 | } | 6159 | | | 6160 | | // Read postfix | 6161 | 0 | std::ptrdiff_t postfix_width = 0; | 6162 | 0 | if (it != rng.end()) { | 6163 | 0 | SCN_TRY(postfix_result, | 6164 | 0 | impl_postfix(ranges::subrange{it, rng.end()}, | 6165 | 0 | rd.skip_ws_before_read(), prefix_width, | 6166 | 0 | value_width)); | 6167 | 0 | std::tie(it, postfix_width) = postfix_result; | 6168 | 0 | } | 6169 | | | 6170 | 0 | if (auto e = check_widths_for_arg_reader(specs, prefix_width, | 6171 | 0 | value_width, postfix_width); | 6172 | 0 | !e) { | 6173 | 0 | return unexpected(e); | 6174 | 0 | } | 6175 | | | 6176 | 0 | return it; | 6177 | 0 | } |
Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS1_29basic_contiguous_scan_contextIcEEE4implINS1_19reader_impl_for_intIcEENS0_6ranges6detail9subrange_8subrangeIPKcSE_EEmEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS1_29basic_contiguous_scan_contextIcEEE4implINS1_19reader_impl_for_intIcEENS0_6ranges6detail9subrange_8subrangeIPKcSE_EEyEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ _ZN3scn2v34impl10arg_readerINS1_29basic_contiguous_scan_contextIcEEE4implINS1_23reader_impl_for_voidptrIcEENS0_6ranges6detail9subrange_8subrangeIPKcSE_EEPvEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Line | Count | Source | 6112 | 498 | { | 6113 | 498 | const bool need_skipped_width = | 6114 | 498 | specs.width != 0 || specs.precision != 0; | 6115 | | | 6116 | | // Read prefix | 6117 | 498 | auto it = rng.begin(); | 6118 | 498 | std::ptrdiff_t prefix_width = 0; | 6119 | 498 | if (specs.precision != 0) { | 6120 | 254 | auto max_width_view = take_width(rng, specs.precision); | 6121 | 254 | SCN_TRY(prefix_result, | 6122 | 238 | impl_prefix(max_width_view, rd.skip_ws_before_read())); | 6123 | 238 | it = prefix_result.first.base(); | 6124 | 238 | prefix_width = prefix_result.second; | 6125 | 238 | } | 6126 | 244 | else { | 6127 | 244 | SCN_TRY(prefix_result, impl_prefix(rng, rd.skip_ws_before_read())); | 6128 | 244 | std::tie(it, prefix_width) = prefix_result; | 6129 | 244 | } | 6130 | 482 | auto prefix_end_it = it; | 6131 | | | 6132 | | // Read value | 6133 | 482 | std::ptrdiff_t value_width = 0; | 6134 | 482 | if (specs.precision != 0) { | 6135 | 238 | if (specs.precision <= prefix_width) { | 6136 | 4 | return unexpected_scan_error( | 6137 | 4 | scan_error::invalid_scanned_value, | 6138 | 4 | "Too many fill characters before value, " | 6139 | 4 | "precision exceeded before reading value"); | 6140 | 4 | } | 6141 | | | 6142 | 234 | const auto initial_width = specs.precision - prefix_width; | 6143 | 234 | auto max_width_view = | 6144 | 234 | take_width(ranges::subrange{it, rng.end()}, initial_width); | 6145 | 234 | SCN_TRY(w_it, rd.read_specs(max_width_view, specs, value, loc)); | 6146 | 0 | it = w_it.base(); | 6147 | 0 | value_width = initial_width - w_it.count(); | 6148 | 0 | } | 6149 | 244 | else { | 6150 | 244 | SCN_TRY_ASSIGN(it, rd.read_specs(ranges::subrange{it, rng.end()}, | 6151 | 0 | specs, value, loc)); | 6152 | |
| 6153 | 0 | if (need_skipped_width) { | 6154 | 0 | value_width = calculate_text_width( | 6155 | 0 | make_contiguous_buffer(ranges::subrange{prefix_end_it, it}) | 6156 | 0 | .view()); | 6157 | 0 | } | 6158 | 0 | } | 6159 | | | 6160 | | // Read postfix | 6161 | 0 | std::ptrdiff_t postfix_width = 0; | 6162 | 0 | if (it != rng.end()) { | 6163 | 0 | SCN_TRY(postfix_result, | 6164 | 0 | impl_postfix(ranges::subrange{it, rng.end()}, | 6165 | 0 | rd.skip_ws_before_read(), prefix_width, | 6166 | 0 | value_width)); | 6167 | 0 | std::tie(it, postfix_width) = postfix_result; | 6168 | 0 | } | 6169 | | | 6170 | 0 | if (auto e = check_widths_for_arg_reader(specs, prefix_width, | 6171 | 0 | value_width, postfix_width); | 6172 | 0 | !e) { | 6173 | 0 | return unexpected(e); | 6174 | 0 | } | 6175 | | | 6176 | 0 | return it; | 6177 | 0 | } |
_ZN3scn2v34impl10arg_readerINS1_29basic_contiguous_scan_contextIcEEE4implINS1_20reader_impl_for_boolIcEENS0_6ranges6detail9subrange_8subrangeIPKcSE_EEbEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Line | Count | Source | 6112 | 778 | { | 6113 | 778 | const bool need_skipped_width = | 6114 | 778 | specs.width != 0 || specs.precision != 0; | 6115 | | | 6116 | | // Read prefix | 6117 | 778 | auto it = rng.begin(); | 6118 | 778 | std::ptrdiff_t prefix_width = 0; | 6119 | 778 | if (specs.precision != 0) { | 6120 | 368 | auto max_width_view = take_width(rng, specs.precision); | 6121 | 368 | SCN_TRY(prefix_result, | 6122 | 340 | impl_prefix(max_width_view, rd.skip_ws_before_read())); | 6123 | 340 | it = prefix_result.first.base(); | 6124 | 340 | prefix_width = prefix_result.second; | 6125 | 340 | } | 6126 | 410 | else { | 6127 | 410 | SCN_TRY(prefix_result, impl_prefix(rng, rd.skip_ws_before_read())); | 6128 | 410 | std::tie(it, prefix_width) = prefix_result; | 6129 | 410 | } | 6130 | 750 | auto prefix_end_it = it; | 6131 | | | 6132 | | // Read value | 6133 | 750 | std::ptrdiff_t value_width = 0; | 6134 | 750 | if (specs.precision != 0) { | 6135 | 340 | if (specs.precision <= prefix_width) { | 6136 | 6 | return unexpected_scan_error( | 6137 | 6 | scan_error::invalid_scanned_value, | 6138 | 6 | "Too many fill characters before value, " | 6139 | 6 | "precision exceeded before reading value"); | 6140 | 6 | } | 6141 | | | 6142 | 334 | const auto initial_width = specs.precision - prefix_width; | 6143 | 334 | auto max_width_view = | 6144 | 334 | take_width(ranges::subrange{it, rng.end()}, initial_width); | 6145 | 334 | SCN_TRY(w_it, rd.read_specs(max_width_view, specs, value, loc)); | 6146 | 0 | it = w_it.base(); | 6147 | 0 | value_width = initial_width - w_it.count(); | 6148 | 0 | } | 6149 | 410 | else { | 6150 | 410 | SCN_TRY_ASSIGN(it, rd.read_specs(ranges::subrange{it, rng.end()}, | 6151 | 0 | specs, value, loc)); | 6152 | |
| 6153 | 0 | if (need_skipped_width) { | 6154 | 0 | value_width = calculate_text_width( | 6155 | 0 | make_contiguous_buffer(ranges::subrange{prefix_end_it, it}) | 6156 | 0 | .view()); | 6157 | 0 | } | 6158 | 0 | } | 6159 | | | 6160 | | // Read postfix | 6161 | 0 | std::ptrdiff_t postfix_width = 0; | 6162 | 0 | if (it != rng.end()) { | 6163 | 0 | SCN_TRY(postfix_result, | 6164 | 0 | impl_postfix(ranges::subrange{it, rng.end()}, | 6165 | 0 | rd.skip_ws_before_read(), prefix_width, | 6166 | 0 | value_width)); | 6167 | 0 | std::tie(it, postfix_width) = postfix_result; | 6168 | 0 | } | 6169 | | | 6170 | 0 | if (auto e = check_widths_for_arg_reader(specs, prefix_width, | 6171 | 0 | value_width, postfix_width); | 6172 | 0 | !e) { | 6173 | 0 | return unexpected(e); | 6174 | 0 | } | 6175 | | | 6176 | 0 | return it; | 6177 | 0 | } |
_ZN3scn2v34impl10arg_readerINS1_29basic_contiguous_scan_contextIcEEE4implINS1_20reader_impl_for_charIcEENS0_6ranges6detail9subrange_8subrangeIPKcSE_EEcEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Line | Count | Source | 6112 | 548 | { | 6113 | 548 | const bool need_skipped_width = | 6114 | 548 | specs.width != 0 || specs.precision != 0; | 6115 | | | 6116 | | // Read prefix | 6117 | 548 | auto it = rng.begin(); | 6118 | 548 | std::ptrdiff_t prefix_width = 0; | 6119 | 548 | if (specs.precision != 0) { | 6120 | 286 | auto max_width_view = take_width(rng, specs.precision); | 6121 | 286 | SCN_TRY(prefix_result, | 6122 | 286 | impl_prefix(max_width_view, rd.skip_ws_before_read())); | 6123 | 286 | it = prefix_result.first.base(); | 6124 | 286 | prefix_width = prefix_result.second; | 6125 | 286 | } | 6126 | 262 | else { | 6127 | 262 | SCN_TRY(prefix_result, impl_prefix(rng, rd.skip_ws_before_read())); | 6128 | 262 | std::tie(it, prefix_width) = prefix_result; | 6129 | 262 | } | 6130 | 548 | auto prefix_end_it = it; | 6131 | | | 6132 | | // Read value | 6133 | 548 | std::ptrdiff_t value_width = 0; | 6134 | 548 | if (specs.precision != 0) { | 6135 | 286 | if (specs.precision <= prefix_width) { | 6136 | 6 | return unexpected_scan_error( | 6137 | 6 | scan_error::invalid_scanned_value, | 6138 | 6 | "Too many fill characters before value, " | 6139 | 6 | "precision exceeded before reading value"); | 6140 | 6 | } | 6141 | | | 6142 | 280 | const auto initial_width = specs.precision - prefix_width; | 6143 | 280 | auto max_width_view = | 6144 | 280 | take_width(ranges::subrange{it, rng.end()}, initial_width); | 6145 | 280 | SCN_TRY(w_it, rd.read_specs(max_width_view, specs, value, loc)); | 6146 | 248 | it = w_it.base(); | 6147 | 248 | value_width = initial_width - w_it.count(); | 6148 | 248 | } | 6149 | 262 | else { | 6150 | 262 | SCN_TRY_ASSIGN(it, rd.read_specs(ranges::subrange{it, rng.end()}, | 6151 | 240 | specs, value, loc)); | 6152 | | | 6153 | 240 | if (need_skipped_width) { | 6154 | 174 | value_width = calculate_text_width( | 6155 | 174 | make_contiguous_buffer(ranges::subrange{prefix_end_it, it}) | 6156 | 174 | .view()); | 6157 | 174 | } | 6158 | 240 | } | 6159 | | | 6160 | | // Read postfix | 6161 | 488 | std::ptrdiff_t postfix_width = 0; | 6162 | 488 | if (it != rng.end()) { | 6163 | 488 | SCN_TRY(postfix_result, | 6164 | 488 | impl_postfix(ranges::subrange{it, rng.end()}, | 6165 | 488 | rd.skip_ws_before_read(), prefix_width, | 6166 | 488 | value_width)); | 6167 | 488 | std::tie(it, postfix_width) = postfix_result; | 6168 | 488 | } | 6169 | | | 6170 | 488 | if (auto e = check_widths_for_arg_reader(specs, prefix_width, | 6171 | 488 | value_width, postfix_width); | 6172 | 488 | !e) { | 6173 | 154 | return unexpected(e); | 6174 | 154 | } | 6175 | | | 6176 | 334 | return it; | 6177 | 488 | } |
Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS1_29basic_contiguous_scan_contextIcEEE4implINS1_21reader_impl_for_wcharIcEENS0_6ranges6detail9subrange_8subrangeIPKcSE_EEwEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS1_29basic_contiguous_scan_contextIcEEE4implINS1_26reader_impl_for_code_pointIcEENS0_6ranges6detail9subrange_8subrangeIPKcSE_EEDiEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS1_29basic_contiguous_scan_contextIcEEE4implINS1_21reader_impl_for_floatIcEENS0_6ranges6detail9subrange_8subrangeIPKcSE_EEfEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ _ZN3scn2v34impl10arg_readerINS1_29basic_contiguous_scan_contextIcEEE4implINS1_21reader_impl_for_floatIcEENS0_6ranges6detail9subrange_8subrangeIPKcSE_EEdEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Line | Count | Source | 6112 | 568 | { | 6113 | 568 | const bool need_skipped_width = | 6114 | 568 | specs.width != 0 || specs.precision != 0; | 6115 | | | 6116 | | // Read prefix | 6117 | 568 | auto it = rng.begin(); | 6118 | 568 | std::ptrdiff_t prefix_width = 0; | 6119 | 568 | if (specs.precision != 0) { | 6120 | 292 | auto max_width_view = take_width(rng, specs.precision); | 6121 | 292 | SCN_TRY(prefix_result, | 6122 | 270 | impl_prefix(max_width_view, rd.skip_ws_before_read())); | 6123 | 270 | it = prefix_result.first.base(); | 6124 | 270 | prefix_width = prefix_result.second; | 6125 | 270 | } | 6126 | 276 | else { | 6127 | 276 | SCN_TRY(prefix_result, impl_prefix(rng, rd.skip_ws_before_read())); | 6128 | 276 | std::tie(it, prefix_width) = prefix_result; | 6129 | 276 | } | 6130 | 546 | auto prefix_end_it = it; | 6131 | | | 6132 | | // Read value | 6133 | 546 | std::ptrdiff_t value_width = 0; | 6134 | 546 | if (specs.precision != 0) { | 6135 | 270 | if (specs.precision <= prefix_width) { | 6136 | 8 | return unexpected_scan_error( | 6137 | 8 | scan_error::invalid_scanned_value, | 6138 | 8 | "Too many fill characters before value, " | 6139 | 8 | "precision exceeded before reading value"); | 6140 | 8 | } | 6141 | | | 6142 | 262 | const auto initial_width = specs.precision - prefix_width; | 6143 | 262 | auto max_width_view = | 6144 | 262 | take_width(ranges::subrange{it, rng.end()}, initial_width); | 6145 | 262 | SCN_TRY(w_it, rd.read_specs(max_width_view, specs, value, loc)); | 6146 | 0 | it = w_it.base(); | 6147 | 0 | value_width = initial_width - w_it.count(); | 6148 | 0 | } | 6149 | 276 | else { | 6150 | 276 | SCN_TRY_ASSIGN(it, rd.read_specs(ranges::subrange{it, rng.end()}, | 6151 | 0 | specs, value, loc)); | 6152 | |
| 6153 | 0 | if (need_skipped_width) { | 6154 | 0 | value_width = calculate_text_width( | 6155 | 0 | make_contiguous_buffer(ranges::subrange{prefix_end_it, it}) | 6156 | 0 | .view()); | 6157 | 0 | } | 6158 | 0 | } | 6159 | | | 6160 | | // Read postfix | 6161 | 0 | std::ptrdiff_t postfix_width = 0; | 6162 | 0 | if (it != rng.end()) { | 6163 | 0 | SCN_TRY(postfix_result, | 6164 | 0 | impl_postfix(ranges::subrange{it, rng.end()}, | 6165 | 0 | rd.skip_ws_before_read(), prefix_width, | 6166 | 0 | value_width)); | 6167 | 0 | std::tie(it, postfix_width) = postfix_result; | 6168 | 0 | } | 6169 | | | 6170 | 0 | if (auto e = check_widths_for_arg_reader(specs, prefix_width, | 6171 | 0 | value_width, postfix_width); | 6172 | 0 | !e) { | 6173 | 0 | return unexpected(e); | 6174 | 0 | } | 6175 | | | 6176 | 0 | return it; | 6177 | 0 | } |
Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS1_29basic_contiguous_scan_contextIcEEE4implINS1_21reader_impl_for_floatIcEENS0_6ranges6detail9subrange_8subrangeIPKcSE_EEeEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ _ZN3scn2v34impl10arg_readerINS1_29basic_contiguous_scan_contextIcEEE4implINS1_22reader_impl_for_stringIcEENS0_6ranges6detail9subrange_8subrangeIPKcSE_EENSt3__117basic_string_viewIcNSG_11char_traitsIcEEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SM_RT1_ Line | Count | Source | 6112 | 5.03k | { | 6113 | 5.03k | const bool need_skipped_width = | 6114 | 5.03k | specs.width != 0 || specs.precision != 0; | 6115 | | | 6116 | | // Read prefix | 6117 | 5.03k | auto it = rng.begin(); | 6118 | 5.03k | std::ptrdiff_t prefix_width = 0; | 6119 | 5.03k | if (specs.precision != 0) { | 6120 | 632 | auto max_width_view = take_width(rng, specs.precision); | 6121 | 632 | SCN_TRY(prefix_result, | 6122 | 612 | impl_prefix(max_width_view, rd.skip_ws_before_read())); | 6123 | 612 | it = prefix_result.first.base(); | 6124 | 612 | prefix_width = prefix_result.second; | 6125 | 612 | } | 6126 | 4.40k | else { | 6127 | 4.40k | SCN_TRY(prefix_result, impl_prefix(rng, rd.skip_ws_before_read())); | 6128 | 4.40k | std::tie(it, prefix_width) = prefix_result; | 6129 | 4.40k | } | 6130 | 5.01k | auto prefix_end_it = it; | 6131 | | | 6132 | | // Read value | 6133 | 5.01k | std::ptrdiff_t value_width = 0; | 6134 | 5.01k | if (specs.precision != 0) { | 6135 | 612 | if (specs.precision <= prefix_width) { | 6136 | 6 | return unexpected_scan_error( | 6137 | 6 | scan_error::invalid_scanned_value, | 6138 | 6 | "Too many fill characters before value, " | 6139 | 6 | "precision exceeded before reading value"); | 6140 | 6 | } | 6141 | | | 6142 | 606 | const auto initial_width = specs.precision - prefix_width; | 6143 | 606 | auto max_width_view = | 6144 | 606 | take_width(ranges::subrange{it, rng.end()}, initial_width); | 6145 | 606 | SCN_TRY(w_it, rd.read_specs(max_width_view, specs, value, loc)); | 6146 | 360 | it = w_it.base(); | 6147 | 360 | value_width = initial_width - w_it.count(); | 6148 | 360 | } | 6149 | 4.40k | else { | 6150 | 4.40k | SCN_TRY_ASSIGN(it, rd.read_specs(ranges::subrange{it, rng.end()}, | 6151 | 1.26k | specs, value, loc)); | 6152 | | | 6153 | 1.26k | if (need_skipped_width) { | 6154 | 214 | value_width = calculate_text_width( | 6155 | 214 | make_contiguous_buffer(ranges::subrange{prefix_end_it, it}) | 6156 | 214 | .view()); | 6157 | 214 | } | 6158 | 1.26k | } | 6159 | | | 6160 | | // Read postfix | 6161 | 1.62k | std::ptrdiff_t postfix_width = 0; | 6162 | 1.62k | if (it != rng.end()) { | 6163 | 1.24k | SCN_TRY(postfix_result, | 6164 | 1.24k | impl_postfix(ranges::subrange{it, rng.end()}, | 6165 | 1.24k | rd.skip_ws_before_read(), prefix_width, | 6166 | 1.24k | value_width)); | 6167 | 1.24k | std::tie(it, postfix_width) = postfix_result; | 6168 | 1.24k | } | 6169 | | | 6170 | 1.62k | if (auto e = check_widths_for_arg_reader(specs, prefix_width, | 6171 | 1.62k | value_width, postfix_width); | 6172 | 1.62k | !e) { | 6173 | 112 | return unexpected(e); | 6174 | 112 | } | 6175 | | | 6176 | 1.51k | return it; | 6177 | 1.62k | } |
_ZN3scn2v34impl10arg_readerINS1_29basic_contiguous_scan_contextIcEEE4implINS1_22reader_impl_for_stringIcEENS0_6ranges6detail9subrange_8subrangeIPKcSE_EENSt3__112basic_stringIcNSG_11char_traitsIcEENSG_9allocatorIcEEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SO_RT1_ Line | Count | Source | 6112 | 5.03k | { | 6113 | 5.03k | const bool need_skipped_width = | 6114 | 5.03k | specs.width != 0 || specs.precision != 0; | 6115 | | | 6116 | | // Read prefix | 6117 | 5.03k | auto it = rng.begin(); | 6118 | 5.03k | std::ptrdiff_t prefix_width = 0; | 6119 | 5.03k | if (specs.precision != 0) { | 6120 | 632 | auto max_width_view = take_width(rng, specs.precision); | 6121 | 632 | SCN_TRY(prefix_result, | 6122 | 612 | impl_prefix(max_width_view, rd.skip_ws_before_read())); | 6123 | 612 | it = prefix_result.first.base(); | 6124 | 612 | prefix_width = prefix_result.second; | 6125 | 612 | } | 6126 | 4.40k | else { | 6127 | 4.40k | SCN_TRY(prefix_result, impl_prefix(rng, rd.skip_ws_before_read())); | 6128 | 4.40k | std::tie(it, prefix_width) = prefix_result; | 6129 | 4.40k | } | 6130 | 5.01k | auto prefix_end_it = it; | 6131 | | | 6132 | | // Read value | 6133 | 5.01k | std::ptrdiff_t value_width = 0; | 6134 | 5.01k | if (specs.precision != 0) { | 6135 | 612 | if (specs.precision <= prefix_width) { | 6136 | 6 | return unexpected_scan_error( | 6137 | 6 | scan_error::invalid_scanned_value, | 6138 | 6 | "Too many fill characters before value, " | 6139 | 6 | "precision exceeded before reading value"); | 6140 | 6 | } | 6141 | | | 6142 | 606 | const auto initial_width = specs.precision - prefix_width; | 6143 | 606 | auto max_width_view = | 6144 | 606 | take_width(ranges::subrange{it, rng.end()}, initial_width); | 6145 | 606 | SCN_TRY(w_it, rd.read_specs(max_width_view, specs, value, loc)); | 6146 | 360 | it = w_it.base(); | 6147 | 360 | value_width = initial_width - w_it.count(); | 6148 | 360 | } | 6149 | 4.40k | else { | 6150 | 4.40k | SCN_TRY_ASSIGN(it, rd.read_specs(ranges::subrange{it, rng.end()}, | 6151 | 1.26k | specs, value, loc)); | 6152 | | | 6153 | 1.26k | if (need_skipped_width) { | 6154 | 214 | value_width = calculate_text_width( | 6155 | 214 | make_contiguous_buffer(ranges::subrange{prefix_end_it, it}) | 6156 | 214 | .view()); | 6157 | 214 | } | 6158 | 1.26k | } | 6159 | | | 6160 | | // Read postfix | 6161 | 1.62k | std::ptrdiff_t postfix_width = 0; | 6162 | 1.62k | if (it != rng.end()) { | 6163 | 1.24k | SCN_TRY(postfix_result, | 6164 | 1.24k | impl_postfix(ranges::subrange{it, rng.end()}, | 6165 | 1.24k | rd.skip_ws_before_read(), prefix_width, | 6166 | 1.24k | value_width)); | 6167 | 1.24k | std::tie(it, postfix_width) = postfix_result; | 6168 | 1.24k | } | 6169 | | | 6170 | 1.62k | if (auto e = check_widths_for_arg_reader(specs, prefix_width, | 6171 | 1.62k | value_width, postfix_width); | 6172 | 1.62k | !e) { | 6173 | 112 | return unexpected(e); | 6174 | 112 | } | 6175 | | | 6176 | 1.51k | return it; | 6177 | 1.62k | } |
Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS1_29basic_contiguous_scan_contextIcEEE4implINS1_22reader_impl_for_stringIcEENS0_6ranges6detail9subrange_8subrangeIPKcSE_EENSt3__117basic_string_viewIwNSG_11char_traitsIwEEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SM_RT1_ _ZN3scn2v34impl10arg_readerINS1_29basic_contiguous_scan_contextIcEEE4implINS1_22reader_impl_for_stringIcEENS0_6ranges6detail9subrange_8subrangeIPKcSE_EENSt3__112basic_stringIwNSG_11char_traitsIwEENSG_9allocatorIwEEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SO_RT1_ Line | Count | Source | 6112 | 5.03k | { | 6113 | 5.03k | const bool need_skipped_width = | 6114 | 5.03k | specs.width != 0 || specs.precision != 0; | 6115 | | | 6116 | | // Read prefix | 6117 | 5.03k | auto it = rng.begin(); | 6118 | 5.03k | std::ptrdiff_t prefix_width = 0; | 6119 | 5.03k | if (specs.precision != 0) { | 6120 | 632 | auto max_width_view = take_width(rng, specs.precision); | 6121 | 632 | SCN_TRY(prefix_result, | 6122 | 612 | impl_prefix(max_width_view, rd.skip_ws_before_read())); | 6123 | 612 | it = prefix_result.first.base(); | 6124 | 612 | prefix_width = prefix_result.second; | 6125 | 612 | } | 6126 | 4.40k | else { | 6127 | 4.40k | SCN_TRY(prefix_result, impl_prefix(rng, rd.skip_ws_before_read())); | 6128 | 4.40k | std::tie(it, prefix_width) = prefix_result; | 6129 | 4.40k | } | 6130 | 5.01k | auto prefix_end_it = it; | 6131 | | | 6132 | | // Read value | 6133 | 5.01k | std::ptrdiff_t value_width = 0; | 6134 | 5.01k | if (specs.precision != 0) { | 6135 | 612 | if (specs.precision <= prefix_width) { | 6136 | 6 | return unexpected_scan_error( | 6137 | 6 | scan_error::invalid_scanned_value, | 6138 | 6 | "Too many fill characters before value, " | 6139 | 6 | "precision exceeded before reading value"); | 6140 | 6 | } | 6141 | | | 6142 | 606 | const auto initial_width = specs.precision - prefix_width; | 6143 | 606 | auto max_width_view = | 6144 | 606 | take_width(ranges::subrange{it, rng.end()}, initial_width); | 6145 | 606 | SCN_TRY(w_it, rd.read_specs(max_width_view, specs, value, loc)); | 6146 | 360 | it = w_it.base(); | 6147 | 360 | value_width = initial_width - w_it.count(); | 6148 | 360 | } | 6149 | 4.40k | else { | 6150 | 4.40k | SCN_TRY_ASSIGN(it, rd.read_specs(ranges::subrange{it, rng.end()}, | 6151 | 1.26k | specs, value, loc)); | 6152 | | | 6153 | 1.26k | if (need_skipped_width) { | 6154 | 214 | value_width = calculate_text_width( | 6155 | 214 | make_contiguous_buffer(ranges::subrange{prefix_end_it, it}) | 6156 | 214 | .view()); | 6157 | 214 | } | 6158 | 1.26k | } | 6159 | | | 6160 | | // Read postfix | 6161 | 1.62k | std::ptrdiff_t postfix_width = 0; | 6162 | 1.62k | if (it != rng.end()) { | 6163 | 1.24k | SCN_TRY(postfix_result, | 6164 | 1.24k | impl_postfix(ranges::subrange{it, rng.end()}, | 6165 | 1.24k | rd.skip_ws_before_read(), prefix_width, | 6166 | 1.24k | value_width)); | 6167 | 1.24k | std::tie(it, postfix_width) = postfix_result; | 6168 | 1.24k | } | 6169 | | | 6170 | 1.62k | if (auto e = check_widths_for_arg_reader(specs, prefix_width, | 6171 | 1.62k | value_width, postfix_width); | 6172 | 1.62k | !e) { | 6173 | 112 | return unexpected(e); | 6174 | 112 | } | 6175 | | | 6176 | 1.51k | return it; | 6177 | 1.62k | } |
Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS1_29basic_contiguous_scan_contextIcEEE4implINS1_29reader_impl_for_regex_matchesIcEENS0_6ranges6detail9subrange_8subrangeIPKcSE_EENS0_19basic_regex_matchesIcEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SJ_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS1_29basic_contiguous_scan_contextIcEEE4implINS1_29reader_impl_for_regex_matchesIcEENS0_6ranges6detail9subrange_8subrangeIPKcSE_EENS0_19basic_regex_matchesIwEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SJ_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS1_29basic_contiguous_scan_contextIcEEE4implINS1_25reader_impl_for_monostateIcEENS0_6ranges6detail9subrange_8subrangeIPKcSE_EENS0_9monostateEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS0_18basic_scan_contextIcEEE4implINS1_23reader_impl_for_voidptrIcEENS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEPvEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SL_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS0_18basic_scan_contextIcEEE4implINS1_23reader_impl_for_voidptrIcEENSt3__117basic_string_viewIcNS9_11char_traitsIcEEEEPvEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS0_18basic_scan_contextIcEEE4implINS1_20reader_impl_for_boolIcEENS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEbEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SK_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS0_18basic_scan_contextIcEEE4implINS1_20reader_impl_for_boolIcEENSt3__117basic_string_viewIcNS9_11char_traitsIcEEEEbEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SG_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS0_18basic_scan_contextIcEEE4implINS1_21reader_impl_for_wcharIcEENS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEwEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SK_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS0_18basic_scan_contextIcEEE4implINS1_21reader_impl_for_wcharIcEENSt3__117basic_string_viewIcNS9_11char_traitsIcEEEEwEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SG_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS0_18basic_scan_contextIcEEE4implINS1_26reader_impl_for_code_pointIcEENS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEDiEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SK_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS0_18basic_scan_contextIcEEE4implINS1_26reader_impl_for_code_pointIcEENSt3__117basic_string_viewIcNS9_11char_traitsIcEEEEDiEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SG_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS0_18basic_scan_contextIcEEE4implINS1_25reader_impl_for_monostateIcEENS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEENS0_9monostateEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SL_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS0_18basic_scan_contextIcEEE4implINS1_25reader_impl_for_monostateIcEENSt3__117basic_string_viewIcNS9_11char_traitsIcEEEENS0_9monostateEEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS1_29basic_contiguous_scan_contextIwEEE4implINS1_19reader_impl_for_intIwEENS0_6ranges6detail9subrange_8subrangeIPKwSE_EEaEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS1_29basic_contiguous_scan_contextIwEEE4implINS1_19reader_impl_for_intIwEENS0_6ranges6detail9subrange_8subrangeIPKwSE_EEsEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ _ZN3scn2v34impl10arg_readerINS1_29basic_contiguous_scan_contextIwEEE4implINS1_19reader_impl_for_intIwEENS0_6ranges6detail9subrange_8subrangeIPKwSE_EEiEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Line | Count | Source | 6112 | 462 | { | 6113 | 462 | const bool need_skipped_width = | 6114 | 462 | specs.width != 0 || specs.precision != 0; | 6115 | | | 6116 | | // Read prefix | 6117 | 462 | auto it = rng.begin(); | 6118 | 462 | std::ptrdiff_t prefix_width = 0; | 6119 | 462 | if (specs.precision != 0) { | 6120 | 128 | auto max_width_view = take_width(rng, specs.precision); | 6121 | 128 | SCN_TRY(prefix_result, | 6122 | 128 | impl_prefix(max_width_view, rd.skip_ws_before_read())); | 6123 | 128 | it = prefix_result.first.base(); | 6124 | 128 | prefix_width = prefix_result.second; | 6125 | 128 | } | 6126 | 334 | else { | 6127 | 334 | SCN_TRY(prefix_result, impl_prefix(rng, rd.skip_ws_before_read())); | 6128 | 334 | std::tie(it, prefix_width) = prefix_result; | 6129 | 334 | } | 6130 | 462 | auto prefix_end_it = it; | 6131 | | | 6132 | | // Read value | 6133 | 462 | std::ptrdiff_t value_width = 0; | 6134 | 462 | if (specs.precision != 0) { | 6135 | 128 | if (specs.precision <= prefix_width) { | 6136 | 2 | return unexpected_scan_error( | 6137 | 2 | scan_error::invalid_scanned_value, | 6138 | 2 | "Too many fill characters before value, " | 6139 | 2 | "precision exceeded before reading value"); | 6140 | 2 | } | 6141 | | | 6142 | 126 | const auto initial_width = specs.precision - prefix_width; | 6143 | 126 | auto max_width_view = | 6144 | 126 | take_width(ranges::subrange{it, rng.end()}, initial_width); | 6145 | 126 | SCN_TRY(w_it, rd.read_specs(max_width_view, specs, value, loc)); | 6146 | 0 | it = w_it.base(); | 6147 | 0 | value_width = initial_width - w_it.count(); | 6148 | 0 | } | 6149 | 334 | else { | 6150 | 334 | SCN_TRY_ASSIGN(it, rd.read_specs(ranges::subrange{it, rng.end()}, | 6151 | 0 | specs, value, loc)); | 6152 | |
| 6153 | 0 | if (need_skipped_width) { | 6154 | 0 | value_width = calculate_text_width( | 6155 | 0 | make_contiguous_buffer(ranges::subrange{prefix_end_it, it}) | 6156 | 0 | .view()); | 6157 | 0 | } | 6158 | 0 | } | 6159 | | | 6160 | | // Read postfix | 6161 | 0 | std::ptrdiff_t postfix_width = 0; | 6162 | 0 | if (it != rng.end()) { | 6163 | 0 | SCN_TRY(postfix_result, | 6164 | 0 | impl_postfix(ranges::subrange{it, rng.end()}, | 6165 | 0 | rd.skip_ws_before_read(), prefix_width, | 6166 | 0 | value_width)); | 6167 | 0 | std::tie(it, postfix_width) = postfix_result; | 6168 | 0 | } | 6169 | | | 6170 | 0 | if (auto e = check_widths_for_arg_reader(specs, prefix_width, | 6171 | 0 | value_width, postfix_width); | 6172 | 0 | !e) { | 6173 | 0 | return unexpected(e); | 6174 | 0 | } | 6175 | | | 6176 | 0 | return it; | 6177 | 0 | } |
Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS1_29basic_contiguous_scan_contextIwEEE4implINS1_19reader_impl_for_intIwEENS0_6ranges6detail9subrange_8subrangeIPKwSE_EElEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS1_29basic_contiguous_scan_contextIwEEE4implINS1_19reader_impl_for_intIwEENS0_6ranges6detail9subrange_8subrangeIPKwSE_EExEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS1_29basic_contiguous_scan_contextIwEEE4implINS1_19reader_impl_for_intIwEENS0_6ranges6detail9subrange_8subrangeIPKwSE_EEhEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS1_29basic_contiguous_scan_contextIwEEE4implINS1_19reader_impl_for_intIwEENS0_6ranges6detail9subrange_8subrangeIPKwSE_EEtEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ _ZN3scn2v34impl10arg_readerINS1_29basic_contiguous_scan_contextIwEEE4implINS1_19reader_impl_for_intIwEENS0_6ranges6detail9subrange_8subrangeIPKwSE_EEjEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Line | Count | Source | 6112 | 462 | { | 6113 | 462 | const bool need_skipped_width = | 6114 | 462 | specs.width != 0 || specs.precision != 0; | 6115 | | | 6116 | | // Read prefix | 6117 | 462 | auto it = rng.begin(); | 6118 | 462 | std::ptrdiff_t prefix_width = 0; | 6119 | 462 | if (specs.precision != 0) { | 6120 | 128 | auto max_width_view = take_width(rng, specs.precision); | 6121 | 128 | SCN_TRY(prefix_result, | 6122 | 128 | impl_prefix(max_width_view, rd.skip_ws_before_read())); | 6123 | 128 | it = prefix_result.first.base(); | 6124 | 128 | prefix_width = prefix_result.second; | 6125 | 128 | } | 6126 | 334 | else { | 6127 | 334 | SCN_TRY(prefix_result, impl_prefix(rng, rd.skip_ws_before_read())); | 6128 | 334 | std::tie(it, prefix_width) = prefix_result; | 6129 | 334 | } | 6130 | 462 | auto prefix_end_it = it; | 6131 | | | 6132 | | // Read value | 6133 | 462 | std::ptrdiff_t value_width = 0; | 6134 | 462 | if (specs.precision != 0) { | 6135 | 128 | if (specs.precision <= prefix_width) { | 6136 | 2 | return unexpected_scan_error( | 6137 | 2 | scan_error::invalid_scanned_value, | 6138 | 2 | "Too many fill characters before value, " | 6139 | 2 | "precision exceeded before reading value"); | 6140 | 2 | } | 6141 | | | 6142 | 126 | const auto initial_width = specs.precision - prefix_width; | 6143 | 126 | auto max_width_view = | 6144 | 126 | take_width(ranges::subrange{it, rng.end()}, initial_width); | 6145 | 126 | SCN_TRY(w_it, rd.read_specs(max_width_view, specs, value, loc)); | 6146 | 0 | it = w_it.base(); | 6147 | 0 | value_width = initial_width - w_it.count(); | 6148 | 0 | } | 6149 | 334 | else { | 6150 | 334 | SCN_TRY_ASSIGN(it, rd.read_specs(ranges::subrange{it, rng.end()}, | 6151 | 0 | specs, value, loc)); | 6152 | |
| 6153 | 0 | if (need_skipped_width) { | 6154 | 0 | value_width = calculate_text_width( | 6155 | 0 | make_contiguous_buffer(ranges::subrange{prefix_end_it, it}) | 6156 | 0 | .view()); | 6157 | 0 | } | 6158 | 0 | } | 6159 | | | 6160 | | // Read postfix | 6161 | 0 | std::ptrdiff_t postfix_width = 0; | 6162 | 0 | if (it != rng.end()) { | 6163 | 0 | SCN_TRY(postfix_result, | 6164 | 0 | impl_postfix(ranges::subrange{it, rng.end()}, | 6165 | 0 | rd.skip_ws_before_read(), prefix_width, | 6166 | 0 | value_width)); | 6167 | 0 | std::tie(it, postfix_width) = postfix_result; | 6168 | 0 | } | 6169 | | | 6170 | 0 | if (auto e = check_widths_for_arg_reader(specs, prefix_width, | 6171 | 0 | value_width, postfix_width); | 6172 | 0 | !e) { | 6173 | 0 | return unexpected(e); | 6174 | 0 | } | 6175 | | | 6176 | 0 | return it; | 6177 | 0 | } |
Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS1_29basic_contiguous_scan_contextIwEEE4implINS1_19reader_impl_for_intIwEENS0_6ranges6detail9subrange_8subrangeIPKwSE_EEmEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS1_29basic_contiguous_scan_contextIwEEE4implINS1_19reader_impl_for_intIwEENS0_6ranges6detail9subrange_8subrangeIPKwSE_EEyEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ _ZN3scn2v34impl10arg_readerINS1_29basic_contiguous_scan_contextIwEEE4implINS1_23reader_impl_for_voidptrIwEENS0_6ranges6detail9subrange_8subrangeIPKwSE_EEPvEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Line | Count | Source | 6112 | 394 | { | 6113 | 394 | const bool need_skipped_width = | 6114 | 394 | specs.width != 0 || specs.precision != 0; | 6115 | | | 6116 | | // Read prefix | 6117 | 394 | auto it = rng.begin(); | 6118 | 394 | std::ptrdiff_t prefix_width = 0; | 6119 | 394 | if (specs.precision != 0) { | 6120 | 92 | auto max_width_view = take_width(rng, specs.precision); | 6121 | 92 | SCN_TRY(prefix_result, | 6122 | 92 | impl_prefix(max_width_view, rd.skip_ws_before_read())); | 6123 | 92 | it = prefix_result.first.base(); | 6124 | 92 | prefix_width = prefix_result.second; | 6125 | 92 | } | 6126 | 302 | else { | 6127 | 302 | SCN_TRY(prefix_result, impl_prefix(rng, rd.skip_ws_before_read())); | 6128 | 302 | std::tie(it, prefix_width) = prefix_result; | 6129 | 302 | } | 6130 | 394 | auto prefix_end_it = it; | 6131 | | | 6132 | | // Read value | 6133 | 394 | std::ptrdiff_t value_width = 0; | 6134 | 394 | if (specs.precision != 0) { | 6135 | 92 | if (specs.precision <= prefix_width) { | 6136 | 2 | return unexpected_scan_error( | 6137 | 2 | scan_error::invalid_scanned_value, | 6138 | 2 | "Too many fill characters before value, " | 6139 | 2 | "precision exceeded before reading value"); | 6140 | 2 | } | 6141 | | | 6142 | 90 | const auto initial_width = specs.precision - prefix_width; | 6143 | 90 | auto max_width_view = | 6144 | 90 | take_width(ranges::subrange{it, rng.end()}, initial_width); | 6145 | 90 | SCN_TRY(w_it, rd.read_specs(max_width_view, specs, value, loc)); | 6146 | 0 | it = w_it.base(); | 6147 | 0 | value_width = initial_width - w_it.count(); | 6148 | 0 | } | 6149 | 302 | else { | 6150 | 302 | SCN_TRY_ASSIGN(it, rd.read_specs(ranges::subrange{it, rng.end()}, | 6151 | 0 | specs, value, loc)); | 6152 | |
| 6153 | 0 | if (need_skipped_width) { | 6154 | 0 | value_width = calculate_text_width( | 6155 | 0 | make_contiguous_buffer(ranges::subrange{prefix_end_it, it}) | 6156 | 0 | .view()); | 6157 | 0 | } | 6158 | 0 | } | 6159 | | | 6160 | | // Read postfix | 6161 | 0 | std::ptrdiff_t postfix_width = 0; | 6162 | 0 | if (it != rng.end()) { | 6163 | 0 | SCN_TRY(postfix_result, | 6164 | 0 | impl_postfix(ranges::subrange{it, rng.end()}, | 6165 | 0 | rd.skip_ws_before_read(), prefix_width, | 6166 | 0 | value_width)); | 6167 | 0 | std::tie(it, postfix_width) = postfix_result; | 6168 | 0 | } | 6169 | | | 6170 | 0 | if (auto e = check_widths_for_arg_reader(specs, prefix_width, | 6171 | 0 | value_width, postfix_width); | 6172 | 0 | !e) { | 6173 | 0 | return unexpected(e); | 6174 | 0 | } | 6175 | | | 6176 | 0 | return it; | 6177 | 0 | } |
_ZN3scn2v34impl10arg_readerINS1_29basic_contiguous_scan_contextIwEEE4implINS1_20reader_impl_for_boolIwEENS0_6ranges6detail9subrange_8subrangeIPKwSE_EEbEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Line | Count | Source | 6112 | 544 | { | 6113 | 544 | const bool need_skipped_width = | 6114 | 544 | specs.width != 0 || specs.precision != 0; | 6115 | | | 6116 | | // Read prefix | 6117 | 544 | auto it = rng.begin(); | 6118 | 544 | std::ptrdiff_t prefix_width = 0; | 6119 | 544 | if (specs.precision != 0) { | 6120 | 158 | auto max_width_view = take_width(rng, specs.precision); | 6121 | 158 | SCN_TRY(prefix_result, | 6122 | 158 | impl_prefix(max_width_view, rd.skip_ws_before_read())); | 6123 | 158 | it = prefix_result.first.base(); | 6124 | 158 | prefix_width = prefix_result.second; | 6125 | 158 | } | 6126 | 386 | else { | 6127 | 386 | SCN_TRY(prefix_result, impl_prefix(rng, rd.skip_ws_before_read())); | 6128 | 386 | std::tie(it, prefix_width) = prefix_result; | 6129 | 386 | } | 6130 | 544 | auto prefix_end_it = it; | 6131 | | | 6132 | | // Read value | 6133 | 544 | std::ptrdiff_t value_width = 0; | 6134 | 544 | if (specs.precision != 0) { | 6135 | 158 | if (specs.precision <= prefix_width) { | 6136 | 4 | return unexpected_scan_error( | 6137 | 4 | scan_error::invalid_scanned_value, | 6138 | 4 | "Too many fill characters before value, " | 6139 | 4 | "precision exceeded before reading value"); | 6140 | 4 | } | 6141 | | | 6142 | 154 | const auto initial_width = specs.precision - prefix_width; | 6143 | 154 | auto max_width_view = | 6144 | 154 | take_width(ranges::subrange{it, rng.end()}, initial_width); | 6145 | 154 | SCN_TRY(w_it, rd.read_specs(max_width_view, specs, value, loc)); | 6146 | 0 | it = w_it.base(); | 6147 | 0 | value_width = initial_width - w_it.count(); | 6148 | 0 | } | 6149 | 386 | else { | 6150 | 386 | SCN_TRY_ASSIGN(it, rd.read_specs(ranges::subrange{it, rng.end()}, | 6151 | 0 | specs, value, loc)); | 6152 | |
| 6153 | 0 | if (need_skipped_width) { | 6154 | 0 | value_width = calculate_text_width( | 6155 | 0 | make_contiguous_buffer(ranges::subrange{prefix_end_it, it}) | 6156 | 0 | .view()); | 6157 | 0 | } | 6158 | 0 | } | 6159 | | | 6160 | | // Read postfix | 6161 | 0 | std::ptrdiff_t postfix_width = 0; | 6162 | 0 | if (it != rng.end()) { | 6163 | 0 | SCN_TRY(postfix_result, | 6164 | 0 | impl_postfix(ranges::subrange{it, rng.end()}, | 6165 | 0 | rd.skip_ws_before_read(), prefix_width, | 6166 | 0 | value_width)); | 6167 | 0 | std::tie(it, postfix_width) = postfix_result; | 6168 | 0 | } | 6169 | | | 6170 | 0 | if (auto e = check_widths_for_arg_reader(specs, prefix_width, | 6171 | 0 | value_width, postfix_width); | 6172 | 0 | !e) { | 6173 | 0 | return unexpected(e); | 6174 | 0 | } | 6175 | | | 6176 | 0 | return it; | 6177 | 0 | } |
Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS1_29basic_contiguous_scan_contextIwEEE4implINS1_20reader_impl_for_charIwEENS0_6ranges6detail9subrange_8subrangeIPKwSE_EEcEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ _ZN3scn2v34impl10arg_readerINS1_29basic_contiguous_scan_contextIwEEE4implINS1_21reader_impl_for_wcharIwEENS0_6ranges6detail9subrange_8subrangeIPKwSE_EEwEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Line | Count | Source | 6112 | 428 | { | 6113 | 428 | const bool need_skipped_width = | 6114 | 428 | specs.width != 0 || specs.precision != 0; | 6115 | | | 6116 | | // Read prefix | 6117 | 428 | auto it = rng.begin(); | 6118 | 428 | std::ptrdiff_t prefix_width = 0; | 6119 | 428 | if (specs.precision != 0) { | 6120 | 110 | auto max_width_view = take_width(rng, specs.precision); | 6121 | 110 | SCN_TRY(prefix_result, | 6122 | 110 | impl_prefix(max_width_view, rd.skip_ws_before_read())); | 6123 | 110 | it = prefix_result.first.base(); | 6124 | 110 | prefix_width = prefix_result.second; | 6125 | 110 | } | 6126 | 318 | else { | 6127 | 318 | SCN_TRY(prefix_result, impl_prefix(rng, rd.skip_ws_before_read())); | 6128 | 318 | std::tie(it, prefix_width) = prefix_result; | 6129 | 318 | } | 6130 | 428 | auto prefix_end_it = it; | 6131 | | | 6132 | | // Read value | 6133 | 428 | std::ptrdiff_t value_width = 0; | 6134 | 428 | if (specs.precision != 0) { | 6135 | 110 | if (specs.precision <= prefix_width) { | 6136 | 2 | return unexpected_scan_error( | 6137 | 2 | scan_error::invalid_scanned_value, | 6138 | 2 | "Too many fill characters before value, " | 6139 | 2 | "precision exceeded before reading value"); | 6140 | 2 | } | 6141 | | | 6142 | 108 | const auto initial_width = specs.precision - prefix_width; | 6143 | 108 | auto max_width_view = | 6144 | 108 | take_width(ranges::subrange{it, rng.end()}, initial_width); | 6145 | 108 | SCN_TRY(w_it, rd.read_specs(max_width_view, specs, value, loc)); | 6146 | 88 | it = w_it.base(); | 6147 | 88 | value_width = initial_width - w_it.count(); | 6148 | 88 | } | 6149 | 318 | else { | 6150 | 318 | SCN_TRY_ASSIGN(it, rd.read_specs(ranges::subrange{it, rng.end()}, | 6151 | 298 | specs, value, loc)); | 6152 | | | 6153 | 298 | if (need_skipped_width) { | 6154 | 232 | value_width = calculate_text_width( | 6155 | 232 | make_contiguous_buffer(ranges::subrange{prefix_end_it, it}) | 6156 | 232 | .view()); | 6157 | 232 | } | 6158 | 298 | } | 6159 | | | 6160 | | // Read postfix | 6161 | 386 | std::ptrdiff_t postfix_width = 0; | 6162 | 386 | if (it != rng.end()) { | 6163 | 386 | SCN_TRY(postfix_result, | 6164 | 386 | impl_postfix(ranges::subrange{it, rng.end()}, | 6165 | 386 | rd.skip_ws_before_read(), prefix_width, | 6166 | 386 | value_width)); | 6167 | 386 | std::tie(it, postfix_width) = postfix_result; | 6168 | 386 | } | 6169 | | | 6170 | 386 | if (auto e = check_widths_for_arg_reader(specs, prefix_width, | 6171 | 386 | value_width, postfix_width); | 6172 | 386 | !e) { | 6173 | 230 | return unexpected(e); | 6174 | 230 | } | 6175 | | | 6176 | 156 | return it; | 6177 | 386 | } |
Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS1_29basic_contiguous_scan_contextIwEEE4implINS1_26reader_impl_for_code_pointIwEENS0_6ranges6detail9subrange_8subrangeIPKwSE_EEDiEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS1_29basic_contiguous_scan_contextIwEEE4implINS1_21reader_impl_for_floatIwEENS0_6ranges6detail9subrange_8subrangeIPKwSE_EEfEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ _ZN3scn2v34impl10arg_readerINS1_29basic_contiguous_scan_contextIwEEE4implINS1_21reader_impl_for_floatIwEENS0_6ranges6detail9subrange_8subrangeIPKwSE_EEdEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Line | Count | Source | 6112 | 436 | { | 6113 | 436 | const bool need_skipped_width = | 6114 | 436 | specs.width != 0 || specs.precision != 0; | 6115 | | | 6116 | | // Read prefix | 6117 | 436 | auto it = rng.begin(); | 6118 | 436 | std::ptrdiff_t prefix_width = 0; | 6119 | 436 | if (specs.precision != 0) { | 6120 | 114 | auto max_width_view = take_width(rng, specs.precision); | 6121 | 114 | SCN_TRY(prefix_result, | 6122 | 114 | impl_prefix(max_width_view, rd.skip_ws_before_read())); | 6123 | 114 | it = prefix_result.first.base(); | 6124 | 114 | prefix_width = prefix_result.second; | 6125 | 114 | } | 6126 | 322 | else { | 6127 | 322 | SCN_TRY(prefix_result, impl_prefix(rng, rd.skip_ws_before_read())); | 6128 | 322 | std::tie(it, prefix_width) = prefix_result; | 6129 | 322 | } | 6130 | 436 | auto prefix_end_it = it; | 6131 | | | 6132 | | // Read value | 6133 | 436 | std::ptrdiff_t value_width = 0; | 6134 | 436 | if (specs.precision != 0) { | 6135 | 114 | if (specs.precision <= prefix_width) { | 6136 | 4 | return unexpected_scan_error( | 6137 | 4 | scan_error::invalid_scanned_value, | 6138 | 4 | "Too many fill characters before value, " | 6139 | 4 | "precision exceeded before reading value"); | 6140 | 4 | } | 6141 | | | 6142 | 110 | const auto initial_width = specs.precision - prefix_width; | 6143 | 110 | auto max_width_view = | 6144 | 110 | take_width(ranges::subrange{it, rng.end()}, initial_width); | 6145 | 110 | SCN_TRY(w_it, rd.read_specs(max_width_view, specs, value, loc)); | 6146 | 0 | it = w_it.base(); | 6147 | 0 | value_width = initial_width - w_it.count(); | 6148 | 0 | } | 6149 | 322 | else { | 6150 | 322 | SCN_TRY_ASSIGN(it, rd.read_specs(ranges::subrange{it, rng.end()}, | 6151 | 0 | specs, value, loc)); | 6152 | |
| 6153 | 0 | if (need_skipped_width) { | 6154 | 0 | value_width = calculate_text_width( | 6155 | 0 | make_contiguous_buffer(ranges::subrange{prefix_end_it, it}) | 6156 | 0 | .view()); | 6157 | 0 | } | 6158 | 0 | } | 6159 | | | 6160 | | // Read postfix | 6161 | 0 | std::ptrdiff_t postfix_width = 0; | 6162 | 0 | if (it != rng.end()) { | 6163 | 0 | SCN_TRY(postfix_result, | 6164 | 0 | impl_postfix(ranges::subrange{it, rng.end()}, | 6165 | 0 | rd.skip_ws_before_read(), prefix_width, | 6166 | 0 | value_width)); | 6167 | 0 | std::tie(it, postfix_width) = postfix_result; | 6168 | 0 | } | 6169 | | | 6170 | 0 | if (auto e = check_widths_for_arg_reader(specs, prefix_width, | 6171 | 0 | value_width, postfix_width); | 6172 | 0 | !e) { | 6173 | 0 | return unexpected(e); | 6174 | 0 | } | 6175 | | | 6176 | 0 | return it; | 6177 | 0 | } |
Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS1_29basic_contiguous_scan_contextIwEEE4implINS1_21reader_impl_for_floatIwEENS0_6ranges6detail9subrange_8subrangeIPKwSE_EEeEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS1_29basic_contiguous_scan_contextIwEEE4implINS1_22reader_impl_for_stringIwEENS0_6ranges6detail9subrange_8subrangeIPKwSE_EENSt3__117basic_string_viewIcNSG_11char_traitsIcEEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SM_RT1_ _ZN3scn2v34impl10arg_readerINS1_29basic_contiguous_scan_contextIwEEE4implINS1_22reader_impl_for_stringIwEENS0_6ranges6detail9subrange_8subrangeIPKwSE_EENSt3__112basic_stringIcNSG_11char_traitsIcEENSG_9allocatorIcEEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SO_RT1_ Line | Count | Source | 6112 | 2.61k | { | 6113 | 2.61k | const bool need_skipped_width = | 6114 | 2.61k | specs.width != 0 || specs.precision != 0; | 6115 | | | 6116 | | // Read prefix | 6117 | 2.61k | auto it = rng.begin(); | 6118 | 2.61k | std::ptrdiff_t prefix_width = 0; | 6119 | 2.61k | if (specs.precision != 0) { | 6120 | 230 | auto max_width_view = take_width(rng, specs.precision); | 6121 | 230 | SCN_TRY(prefix_result, | 6122 | 230 | impl_prefix(max_width_view, rd.skip_ws_before_read())); | 6123 | 230 | it = prefix_result.first.base(); | 6124 | 230 | prefix_width = prefix_result.second; | 6125 | 230 | } | 6126 | 2.38k | else { | 6127 | 2.38k | SCN_TRY(prefix_result, impl_prefix(rng, rd.skip_ws_before_read())); | 6128 | 2.38k | std::tie(it, prefix_width) = prefix_result; | 6129 | 2.38k | } | 6130 | 2.61k | auto prefix_end_it = it; | 6131 | | | 6132 | | // Read value | 6133 | 2.61k | std::ptrdiff_t value_width = 0; | 6134 | 2.61k | if (specs.precision != 0) { | 6135 | 230 | if (specs.precision <= prefix_width) { | 6136 | 6 | return unexpected_scan_error( | 6137 | 6 | scan_error::invalid_scanned_value, | 6138 | 6 | "Too many fill characters before value, " | 6139 | 6 | "precision exceeded before reading value"); | 6140 | 6 | } | 6141 | | | 6142 | 224 | const auto initial_width = specs.precision - prefix_width; | 6143 | 224 | auto max_width_view = | 6144 | 224 | take_width(ranges::subrange{it, rng.end()}, initial_width); | 6145 | 224 | SCN_TRY(w_it, rd.read_specs(max_width_view, specs, value, loc)); | 6146 | 148 | it = w_it.base(); | 6147 | 148 | value_width = initial_width - w_it.count(); | 6148 | 148 | } | 6149 | 2.38k | else { | 6150 | 2.38k | SCN_TRY_ASSIGN(it, rd.read_specs(ranges::subrange{it, rng.end()}, | 6151 | 678 | specs, value, loc)); | 6152 | | | 6153 | 678 | if (need_skipped_width) { | 6154 | 318 | value_width = calculate_text_width( | 6155 | 318 | make_contiguous_buffer(ranges::subrange{prefix_end_it, it}) | 6156 | 318 | .view()); | 6157 | 318 | } | 6158 | 678 | } | 6159 | | | 6160 | | // Read postfix | 6161 | 826 | std::ptrdiff_t postfix_width = 0; | 6162 | 826 | if (it != rng.end()) { | 6163 | 538 | SCN_TRY(postfix_result, | 6164 | 538 | impl_postfix(ranges::subrange{it, rng.end()}, | 6165 | 538 | rd.skip_ws_before_read(), prefix_width, | 6166 | 538 | value_width)); | 6167 | 538 | std::tie(it, postfix_width) = postfix_result; | 6168 | 538 | } | 6169 | | | 6170 | 826 | if (auto e = check_widths_for_arg_reader(specs, prefix_width, | 6171 | 826 | value_width, postfix_width); | 6172 | 826 | !e) { | 6173 | 116 | return unexpected(e); | 6174 | 116 | } | 6175 | | | 6176 | 710 | return it; | 6177 | 826 | } |
_ZN3scn2v34impl10arg_readerINS1_29basic_contiguous_scan_contextIwEEE4implINS1_22reader_impl_for_stringIwEENS0_6ranges6detail9subrange_8subrangeIPKwSE_EENSt3__117basic_string_viewIwNSG_11char_traitsIwEEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SM_RT1_ Line | Count | Source | 6112 | 2.61k | { | 6113 | 2.61k | const bool need_skipped_width = | 6114 | 2.61k | specs.width != 0 || specs.precision != 0; | 6115 | | | 6116 | | // Read prefix | 6117 | 2.61k | auto it = rng.begin(); | 6118 | 2.61k | std::ptrdiff_t prefix_width = 0; | 6119 | 2.61k | if (specs.precision != 0) { | 6120 | 230 | auto max_width_view = take_width(rng, specs.precision); | 6121 | 230 | SCN_TRY(prefix_result, | 6122 | 230 | impl_prefix(max_width_view, rd.skip_ws_before_read())); | 6123 | 230 | it = prefix_result.first.base(); | 6124 | 230 | prefix_width = prefix_result.second; | 6125 | 230 | } | 6126 | 2.38k | else { | 6127 | 2.38k | SCN_TRY(prefix_result, impl_prefix(rng, rd.skip_ws_before_read())); | 6128 | 2.38k | std::tie(it, prefix_width) = prefix_result; | 6129 | 2.38k | } | 6130 | 2.61k | auto prefix_end_it = it; | 6131 | | | 6132 | | // Read value | 6133 | 2.61k | std::ptrdiff_t value_width = 0; | 6134 | 2.61k | if (specs.precision != 0) { | 6135 | 230 | if (specs.precision <= prefix_width) { | 6136 | 6 | return unexpected_scan_error( | 6137 | 6 | scan_error::invalid_scanned_value, | 6138 | 6 | "Too many fill characters before value, " | 6139 | 6 | "precision exceeded before reading value"); | 6140 | 6 | } | 6141 | | | 6142 | 224 | const auto initial_width = specs.precision - prefix_width; | 6143 | 224 | auto max_width_view = | 6144 | 224 | take_width(ranges::subrange{it, rng.end()}, initial_width); | 6145 | 224 | SCN_TRY(w_it, rd.read_specs(max_width_view, specs, value, loc)); | 6146 | 148 | it = w_it.base(); | 6147 | 148 | value_width = initial_width - w_it.count(); | 6148 | 148 | } | 6149 | 2.38k | else { | 6150 | 2.38k | SCN_TRY_ASSIGN(it, rd.read_specs(ranges::subrange{it, rng.end()}, | 6151 | 678 | specs, value, loc)); | 6152 | | | 6153 | 678 | if (need_skipped_width) { | 6154 | 318 | value_width = calculate_text_width( | 6155 | 318 | make_contiguous_buffer(ranges::subrange{prefix_end_it, it}) | 6156 | 318 | .view()); | 6157 | 318 | } | 6158 | 678 | } | 6159 | | | 6160 | | // Read postfix | 6161 | 826 | std::ptrdiff_t postfix_width = 0; | 6162 | 826 | if (it != rng.end()) { | 6163 | 538 | SCN_TRY(postfix_result, | 6164 | 538 | impl_postfix(ranges::subrange{it, rng.end()}, | 6165 | 538 | rd.skip_ws_before_read(), prefix_width, | 6166 | 538 | value_width)); | 6167 | 538 | std::tie(it, postfix_width) = postfix_result; | 6168 | 538 | } | 6169 | | | 6170 | 826 | if (auto e = check_widths_for_arg_reader(specs, prefix_width, | 6171 | 826 | value_width, postfix_width); | 6172 | 826 | !e) { | 6173 | 116 | return unexpected(e); | 6174 | 116 | } | 6175 | | | 6176 | 710 | return it; | 6177 | 826 | } |
_ZN3scn2v34impl10arg_readerINS1_29basic_contiguous_scan_contextIwEEE4implINS1_22reader_impl_for_stringIwEENS0_6ranges6detail9subrange_8subrangeIPKwSE_EENSt3__112basic_stringIwNSG_11char_traitsIwEENSG_9allocatorIwEEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SO_RT1_ Line | Count | Source | 6112 | 2.61k | { | 6113 | 2.61k | const bool need_skipped_width = | 6114 | 2.61k | specs.width != 0 || specs.precision != 0; | 6115 | | | 6116 | | // Read prefix | 6117 | 2.61k | auto it = rng.begin(); | 6118 | 2.61k | std::ptrdiff_t prefix_width = 0; | 6119 | 2.61k | if (specs.precision != 0) { | 6120 | 230 | auto max_width_view = take_width(rng, specs.precision); | 6121 | 230 | SCN_TRY(prefix_result, | 6122 | 230 | impl_prefix(max_width_view, rd.skip_ws_before_read())); | 6123 | 230 | it = prefix_result.first.base(); | 6124 | 230 | prefix_width = prefix_result.second; | 6125 | 230 | } | 6126 | 2.38k | else { | 6127 | 2.38k | SCN_TRY(prefix_result, impl_prefix(rng, rd.skip_ws_before_read())); | 6128 | 2.38k | std::tie(it, prefix_width) = prefix_result; | 6129 | 2.38k | } | 6130 | 2.61k | auto prefix_end_it = it; | 6131 | | | 6132 | | // Read value | 6133 | 2.61k | std::ptrdiff_t value_width = 0; | 6134 | 2.61k | if (specs.precision != 0) { | 6135 | 230 | if (specs.precision <= prefix_width) { | 6136 | 6 | return unexpected_scan_error( | 6137 | 6 | scan_error::invalid_scanned_value, | 6138 | 6 | "Too many fill characters before value, " | 6139 | 6 | "precision exceeded before reading value"); | 6140 | 6 | } | 6141 | | | 6142 | 224 | const auto initial_width = specs.precision - prefix_width; | 6143 | 224 | auto max_width_view = | 6144 | 224 | take_width(ranges::subrange{it, rng.end()}, initial_width); | 6145 | 224 | SCN_TRY(w_it, rd.read_specs(max_width_view, specs, value, loc)); | 6146 | 148 | it = w_it.base(); | 6147 | 148 | value_width = initial_width - w_it.count(); | 6148 | 148 | } | 6149 | 2.38k | else { | 6150 | 2.38k | SCN_TRY_ASSIGN(it, rd.read_specs(ranges::subrange{it, rng.end()}, | 6151 | 678 | specs, value, loc)); | 6152 | | | 6153 | 678 | if (need_skipped_width) { | 6154 | 318 | value_width = calculate_text_width( | 6155 | 318 | make_contiguous_buffer(ranges::subrange{prefix_end_it, it}) | 6156 | 318 | .view()); | 6157 | 318 | } | 6158 | 678 | } | 6159 | | | 6160 | | // Read postfix | 6161 | 826 | std::ptrdiff_t postfix_width = 0; | 6162 | 826 | if (it != rng.end()) { | 6163 | 538 | SCN_TRY(postfix_result, | 6164 | 538 | impl_postfix(ranges::subrange{it, rng.end()}, | 6165 | 538 | rd.skip_ws_before_read(), prefix_width, | 6166 | 538 | value_width)); | 6167 | 538 | std::tie(it, postfix_width) = postfix_result; | 6168 | 538 | } | 6169 | | | 6170 | 826 | if (auto e = check_widths_for_arg_reader(specs, prefix_width, | 6171 | 826 | value_width, postfix_width); | 6172 | 826 | !e) { | 6173 | 116 | return unexpected(e); | 6174 | 116 | } | 6175 | | | 6176 | 710 | return it; | 6177 | 826 | } |
Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS1_29basic_contiguous_scan_contextIwEEE4implINS1_29reader_impl_for_regex_matchesIwEENS0_6ranges6detail9subrange_8subrangeIPKwSE_EENS0_19basic_regex_matchesIcEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SJ_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS1_29basic_contiguous_scan_contextIwEEE4implINS1_29reader_impl_for_regex_matchesIwEENS0_6ranges6detail9subrange_8subrangeIPKwSE_EENS0_19basic_regex_matchesIwEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SJ_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS1_29basic_contiguous_scan_contextIwEEE4implINS1_25reader_impl_for_monostateIwEENS0_6ranges6detail9subrange_8subrangeIPKwSE_EENS0_9monostateEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS0_18basic_scan_contextIwEEE4implINS1_23reader_impl_for_voidptrIwEENS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEPvEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SL_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS0_18basic_scan_contextIwEEE4implINS1_23reader_impl_for_voidptrIwEENSt3__117basic_string_viewIwNS9_11char_traitsIwEEEEPvEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS0_18basic_scan_contextIwEEE4implINS1_20reader_impl_for_boolIwEENS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEbEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SK_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS0_18basic_scan_contextIwEEE4implINS1_20reader_impl_for_boolIwEENSt3__117basic_string_viewIwNS9_11char_traitsIwEEEEbEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SG_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS0_18basic_scan_contextIwEEE4implINS1_20reader_impl_for_charIwEENS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEcEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SK_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS0_18basic_scan_contextIwEEE4implINS1_20reader_impl_for_charIwEENSt3__117basic_string_viewIwNS9_11char_traitsIwEEEEcEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SG_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS0_18basic_scan_contextIwEEE4implINS1_26reader_impl_for_code_pointIwEENS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEDiEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SK_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS0_18basic_scan_contextIwEEE4implINS1_26reader_impl_for_code_pointIwEENSt3__117basic_string_viewIwNS9_11char_traitsIwEEEEDiEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SG_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS0_18basic_scan_contextIwEEE4implINS1_25reader_impl_for_monostateIwEENS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEENS0_9monostateEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SL_RT1_ Unexecuted instantiation: _ZN3scn2v34impl10arg_readerINS0_18basic_scan_contextIwEEE4implINS1_25reader_impl_for_monostateIwEENSt3__117basic_string_viewIwNS9_11char_traitsIwEEEENS0_9monostateEEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ |
6178 | | |
6179 | | template <typename T> |
6180 | | scan_expected<iterator> operator()(T& value) |
6181 | 70.9k | { |
6182 | | if constexpr (!detail::is_type_disabled<T> && |
6183 | | std::is_same_v< |
6184 | | context_type, |
6185 | 70.9k | basic_contiguous_scan_context<char_type>>) { |
6186 | 70.9k | auto rd = make_reader<T, char_type>(); |
6187 | 70.9k | if (auto e = rd.check_specs(specs); SCN_UNLIKELY(!e)) { |
6188 | 41.7k | return unexpected(e); |
6189 | 41.7k | } |
6190 | | |
6191 | 29.2k | return impl(rd, range, value); |
6192 | | } |
6193 | 0 | else if constexpr (!detail::is_type_disabled<T>) { |
6194 | 0 | auto rd = make_reader<T, char_type>(); |
6195 | 0 | if (auto e = rd.check_specs(specs); SCN_UNLIKELY(!e)) { |
6196 | 0 | return unexpected(e); |
6197 | 0 | } |
6198 | | |
6199 | 0 | if (!is_segment_contiguous(range) || specs.precision != 0 || |
6200 | 0 | specs.width != 0) { |
6201 | 0 | return impl(rd, range, value); |
6202 | 0 | } |
6203 | | |
6204 | 0 | auto crange = get_as_contiguous(range); |
6205 | 0 | SCN_TRY(it, impl(rd, crange, value)); |
6206 | 0 | return ranges::next(range.begin(), |
6207 | 0 | ranges::distance(crange.begin(), it)); |
6208 | | } |
6209 | | else { |
6210 | | SCN_EXPECT(false); |
6211 | | SCN_UNREACHABLE; |
6212 | | } |
6213 | 70.9k | } Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<char>::forward_iterator> scn::v3::impl::arg_reader<scn::v3::basic_scan_context<char> >::operator()<char>(char&) Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<char>::forward_iterator> scn::v3::impl::arg_reader<scn::v3::basic_scan_context<char> >::operator()<signed char>(signed char&) Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<char>::forward_iterator> scn::v3::impl::arg_reader<scn::v3::basic_scan_context<char> >::operator()<short>(short&) Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<char>::forward_iterator> scn::v3::impl::arg_reader<scn::v3::basic_scan_context<char> >::operator()<int>(int&) Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<char>::forward_iterator> scn::v3::impl::arg_reader<scn::v3::basic_scan_context<char> >::operator()<long>(long&) Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<char>::forward_iterator> scn::v3::impl::arg_reader<scn::v3::basic_scan_context<char> >::operator()<long long>(long long&) Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<char>::forward_iterator> scn::v3::impl::arg_reader<scn::v3::basic_scan_context<char> >::operator()<unsigned char>(unsigned char&) Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<char>::forward_iterator> scn::v3::impl::arg_reader<scn::v3::basic_scan_context<char> >::operator()<unsigned short>(unsigned short&) Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<char>::forward_iterator> scn::v3::impl::arg_reader<scn::v3::basic_scan_context<char> >::operator()<unsigned int>(unsigned int&) Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<char>::forward_iterator> scn::v3::impl::arg_reader<scn::v3::basic_scan_context<char> >::operator()<unsigned long>(unsigned long&) Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<char>::forward_iterator> scn::v3::impl::arg_reader<scn::v3::basic_scan_context<char> >::operator()<unsigned long long>(unsigned long long&) Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<char>::forward_iterator> scn::v3::impl::arg_reader<scn::v3::basic_scan_context<char> >::operator()<float>(float&) Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<char>::forward_iterator> scn::v3::impl::arg_reader<scn::v3::basic_scan_context<char> >::operator()<double>(double&) Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<char>::forward_iterator> scn::v3::impl::arg_reader<scn::v3::basic_scan_context<char> >::operator()<long double>(long double&) Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<char>::forward_iterator> scn::v3::impl::arg_reader<scn::v3::basic_scan_context<char> >::operator()<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&) Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<char>::forward_iterator> scn::v3::impl::arg_reader<scn::v3::basic_scan_context<char> >::operator()<std::__1::basic_string<wchar_t, std::__1::char_traits<wchar_t>, std::__1::allocator<wchar_t> > >(std::__1::basic_string<wchar_t, std::__1::char_traits<wchar_t>, std::__1::allocator<wchar_t> >&) Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<char>::forward_iterator> scn::v3::impl::arg_reader<scn::v3::basic_scan_context<char> >::operator()<std::__1::basic_string_view<char, std::__1::char_traits<char> > >(std::__1::basic_string_view<char, std::__1::char_traits<char> >&) Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<char>::forward_iterator> scn::v3::impl::arg_reader<scn::v3::basic_scan_context<char> >::operator()<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >(std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> >&) Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<char>::forward_iterator> scn::v3::impl::arg_reader<scn::v3::basic_scan_context<char> >::operator()<scn::v3::basic_regex_matches<char> >(scn::v3::basic_regex_matches<char>&) Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<char>::forward_iterator> scn::v3::impl::arg_reader<scn::v3::basic_scan_context<char> >::operator()<scn::v3::basic_regex_matches<wchar_t> >(scn::v3::basic_regex_matches<wchar_t>&) Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v3::impl::arg_reader<scn::v3::basic_scan_context<wchar_t> >::operator()<wchar_t>(wchar_t&) Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v3::impl::arg_reader<scn::v3::basic_scan_context<wchar_t> >::operator()<signed char>(signed char&) Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v3::impl::arg_reader<scn::v3::basic_scan_context<wchar_t> >::operator()<short>(short&) Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v3::impl::arg_reader<scn::v3::basic_scan_context<wchar_t> >::operator()<int>(int&) Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v3::impl::arg_reader<scn::v3::basic_scan_context<wchar_t> >::operator()<long>(long&) Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v3::impl::arg_reader<scn::v3::basic_scan_context<wchar_t> >::operator()<long long>(long long&) Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v3::impl::arg_reader<scn::v3::basic_scan_context<wchar_t> >::operator()<unsigned char>(unsigned char&) Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v3::impl::arg_reader<scn::v3::basic_scan_context<wchar_t> >::operator()<unsigned short>(unsigned short&) Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v3::impl::arg_reader<scn::v3::basic_scan_context<wchar_t> >::operator()<unsigned int>(unsigned int&) Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v3::impl::arg_reader<scn::v3::basic_scan_context<wchar_t> >::operator()<unsigned long>(unsigned long&) Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v3::impl::arg_reader<scn::v3::basic_scan_context<wchar_t> >::operator()<unsigned long long>(unsigned long long&) Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v3::impl::arg_reader<scn::v3::basic_scan_context<wchar_t> >::operator()<float>(float&) Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v3::impl::arg_reader<scn::v3::basic_scan_context<wchar_t> >::operator()<double>(double&) Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v3::impl::arg_reader<scn::v3::basic_scan_context<wchar_t> >::operator()<long double>(long double&) Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v3::impl::arg_reader<scn::v3::basic_scan_context<wchar_t> >::operator()<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&) Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v3::impl::arg_reader<scn::v3::basic_scan_context<wchar_t> >::operator()<std::__1::basic_string<wchar_t, std::__1::char_traits<wchar_t>, std::__1::allocator<wchar_t> > >(std::__1::basic_string<wchar_t, std::__1::char_traits<wchar_t>, std::__1::allocator<wchar_t> >&) Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v3::impl::arg_reader<scn::v3::basic_scan_context<wchar_t> >::operator()<std::__1::basic_string_view<char, std::__1::char_traits<char> > >(std::__1::basic_string_view<char, std::__1::char_traits<char> >&) Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v3::impl::arg_reader<scn::v3::basic_scan_context<wchar_t> >::operator()<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >(std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> >&) Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v3::impl::arg_reader<scn::v3::basic_scan_context<wchar_t> >::operator()<scn::v3::basic_regex_matches<char> >(scn::v3::basic_regex_matches<char>&) Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v3::impl::arg_reader<scn::v3::basic_scan_context<wchar_t> >::operator()<scn::v3::basic_regex_matches<wchar_t> >(scn::v3::basic_regex_matches<wchar_t>&) Unexecuted instantiation: scn::v3::scan_expected<char const*> scn::v3::impl::arg_reader<scn::v3::impl::basic_contiguous_scan_context<char> >::operator()<signed char>(signed char&) Unexecuted instantiation: scn::v3::scan_expected<char const*> scn::v3::impl::arg_reader<scn::v3::impl::basic_contiguous_scan_context<char> >::operator()<short>(short&) scn::v3::scan_expected<char const*> scn::v3::impl::arg_reader<scn::v3::impl::basic_contiguous_scan_context<char> >::operator()<int>(int&) Line | Count | Source | 6181 | 5.20k | { | 6182 | | if constexpr (!detail::is_type_disabled<T> && | 6183 | | std::is_same_v< | 6184 | | context_type, | 6185 | 5.20k | basic_contiguous_scan_context<char_type>>) { | 6186 | 5.20k | auto rd = make_reader<T, char_type>(); | 6187 | 5.20k | if (auto e = rd.check_specs(specs); SCN_UNLIKELY(!e)) { | 6188 | 4.62k | return unexpected(e); | 6189 | 4.62k | } | 6190 | | | 6191 | 574 | return impl(rd, range, value); | 6192 | | } | 6193 | | else if constexpr (!detail::is_type_disabled<T>) { | 6194 | | auto rd = make_reader<T, char_type>(); | 6195 | | if (auto e = rd.check_specs(specs); SCN_UNLIKELY(!e)) { | 6196 | | return unexpected(e); | 6197 | | } | 6198 | | | 6199 | | if (!is_segment_contiguous(range) || specs.precision != 0 || | 6200 | | specs.width != 0) { | 6201 | | return impl(rd, range, value); | 6202 | | } | 6203 | | | 6204 | | auto crange = get_as_contiguous(range); | 6205 | | SCN_TRY(it, impl(rd, crange, value)); | 6206 | | return ranges::next(range.begin(), | 6207 | | ranges::distance(crange.begin(), it)); | 6208 | | } | 6209 | | else { | 6210 | | SCN_EXPECT(false); | 6211 | | SCN_UNREACHABLE; | 6212 | | } | 6213 | 5.20k | } |
Unexecuted instantiation: scn::v3::scan_expected<char const*> scn::v3::impl::arg_reader<scn::v3::impl::basic_contiguous_scan_context<char> >::operator()<long>(long&) Unexecuted instantiation: scn::v3::scan_expected<char const*> scn::v3::impl::arg_reader<scn::v3::impl::basic_contiguous_scan_context<char> >::operator()<long long>(long long&) Unexecuted instantiation: scn::v3::scan_expected<char const*> scn::v3::impl::arg_reader<scn::v3::impl::basic_contiguous_scan_context<char> >::operator()<unsigned char>(unsigned char&) Unexecuted instantiation: scn::v3::scan_expected<char const*> scn::v3::impl::arg_reader<scn::v3::impl::basic_contiguous_scan_context<char> >::operator()<unsigned short>(unsigned short&) scn::v3::scan_expected<char const*> scn::v3::impl::arg_reader<scn::v3::impl::basic_contiguous_scan_context<char> >::operator()<unsigned int>(unsigned int&) Line | Count | Source | 6181 | 5.20k | { | 6182 | | if constexpr (!detail::is_type_disabled<T> && | 6183 | | std::is_same_v< | 6184 | | context_type, | 6185 | 5.20k | basic_contiguous_scan_context<char_type>>) { | 6186 | 5.20k | auto rd = make_reader<T, char_type>(); | 6187 | 5.20k | if (auto e = rd.check_specs(specs); SCN_UNLIKELY(!e)) { | 6188 | 4.62k | return unexpected(e); | 6189 | 4.62k | } | 6190 | | | 6191 | 574 | return impl(rd, range, value); | 6192 | | } | 6193 | | else if constexpr (!detail::is_type_disabled<T>) { | 6194 | | auto rd = make_reader<T, char_type>(); | 6195 | | if (auto e = rd.check_specs(specs); SCN_UNLIKELY(!e)) { | 6196 | | return unexpected(e); | 6197 | | } | 6198 | | | 6199 | | if (!is_segment_contiguous(range) || specs.precision != 0 || | 6200 | | specs.width != 0) { | 6201 | | return impl(rd, range, value); | 6202 | | } | 6203 | | | 6204 | | auto crange = get_as_contiguous(range); | 6205 | | SCN_TRY(it, impl(rd, crange, value)); | 6206 | | return ranges::next(range.begin(), | 6207 | | ranges::distance(crange.begin(), it)); | 6208 | | } | 6209 | | else { | 6210 | | SCN_EXPECT(false); | 6211 | | SCN_UNREACHABLE; | 6212 | | } | 6213 | 5.20k | } |
Unexecuted instantiation: scn::v3::scan_expected<char const*> scn::v3::impl::arg_reader<scn::v3::impl::basic_contiguous_scan_context<char> >::operator()<unsigned long>(unsigned long&) Unexecuted instantiation: scn::v3::scan_expected<char const*> scn::v3::impl::arg_reader<scn::v3::impl::basic_contiguous_scan_context<char> >::operator()<unsigned long long>(unsigned long long&) scn::v3::scan_expected<char const*> scn::v3::impl::arg_reader<scn::v3::impl::basic_contiguous_scan_context<char> >::operator()<void*>(void*&) Line | Count | Source | 6181 | 5.16k | { | 6182 | | if constexpr (!detail::is_type_disabled<T> && | 6183 | | std::is_same_v< | 6184 | | context_type, | 6185 | 5.16k | basic_contiguous_scan_context<char_type>>) { | 6186 | 5.16k | auto rd = make_reader<T, char_type>(); | 6187 | 5.16k | if (auto e = rd.check_specs(specs); SCN_UNLIKELY(!e)) { | 6188 | 4.66k | return unexpected(e); | 6189 | 4.66k | } | 6190 | | | 6191 | 498 | return impl(rd, range, value); | 6192 | | } | 6193 | | else if constexpr (!detail::is_type_disabled<T>) { | 6194 | | auto rd = make_reader<T, char_type>(); | 6195 | | if (auto e = rd.check_specs(specs); SCN_UNLIKELY(!e)) { | 6196 | | return unexpected(e); | 6197 | | } | 6198 | | | 6199 | | if (!is_segment_contiguous(range) || specs.precision != 0 || | 6200 | | specs.width != 0) { | 6201 | | return impl(rd, range, value); | 6202 | | } | 6203 | | | 6204 | | auto crange = get_as_contiguous(range); | 6205 | | SCN_TRY(it, impl(rd, crange, value)); | 6206 | | return ranges::next(range.begin(), | 6207 | | ranges::distance(crange.begin(), it)); | 6208 | | } | 6209 | | else { | 6210 | | SCN_EXPECT(false); | 6211 | | SCN_UNREACHABLE; | 6212 | | } | 6213 | 5.16k | } |
scn::v3::scan_expected<char const*> scn::v3::impl::arg_reader<scn::v3::impl::basic_contiguous_scan_context<char> >::operator()<bool>(bool&) Line | Count | Source | 6181 | 5.20k | { | 6182 | | if constexpr (!detail::is_type_disabled<T> && | 6183 | | std::is_same_v< | 6184 | | context_type, | 6185 | 5.20k | basic_contiguous_scan_context<char_type>>) { | 6186 | 5.20k | auto rd = make_reader<T, char_type>(); | 6187 | 5.20k | if (auto e = rd.check_specs(specs); SCN_UNLIKELY(!e)) { | 6188 | 4.42k | return unexpected(e); | 6189 | 4.42k | } | 6190 | | | 6191 | 778 | return impl(rd, range, value); | 6192 | | } | 6193 | | else if constexpr (!detail::is_type_disabled<T>) { | 6194 | | auto rd = make_reader<T, char_type>(); | 6195 | | if (auto e = rd.check_specs(specs); SCN_UNLIKELY(!e)) { | 6196 | | return unexpected(e); | 6197 | | } | 6198 | | | 6199 | | if (!is_segment_contiguous(range) || specs.precision != 0 || | 6200 | | specs.width != 0) { | 6201 | | return impl(rd, range, value); | 6202 | | } | 6203 | | | 6204 | | auto crange = get_as_contiguous(range); | 6205 | | SCN_TRY(it, impl(rd, crange, value)); | 6206 | | return ranges::next(range.begin(), | 6207 | | ranges::distance(crange.begin(), it)); | 6208 | | } | 6209 | | else { | 6210 | | SCN_EXPECT(false); | 6211 | | SCN_UNREACHABLE; | 6212 | | } | 6213 | 5.20k | } |
scn::v3::scan_expected<char const*> scn::v3::impl::arg_reader<scn::v3::impl::basic_contiguous_scan_context<char> >::operator()<char>(char&) Line | Count | Source | 6181 | 5.16k | { | 6182 | | if constexpr (!detail::is_type_disabled<T> && | 6183 | | std::is_same_v< | 6184 | | context_type, | 6185 | 5.16k | basic_contiguous_scan_context<char_type>>) { | 6186 | 5.16k | auto rd = make_reader<T, char_type>(); | 6187 | 5.16k | if (auto e = rd.check_specs(specs); SCN_UNLIKELY(!e)) { | 6188 | 4.61k | return unexpected(e); | 6189 | 4.61k | } | 6190 | | | 6191 | 548 | return impl(rd, range, value); | 6192 | | } | 6193 | | else if constexpr (!detail::is_type_disabled<T>) { | 6194 | | auto rd = make_reader<T, char_type>(); | 6195 | | if (auto e = rd.check_specs(specs); SCN_UNLIKELY(!e)) { | 6196 | | return unexpected(e); | 6197 | | } | 6198 | | | 6199 | | if (!is_segment_contiguous(range) || specs.precision != 0 || | 6200 | | specs.width != 0) { | 6201 | | return impl(rd, range, value); | 6202 | | } | 6203 | | | 6204 | | auto crange = get_as_contiguous(range); | 6205 | | SCN_TRY(it, impl(rd, crange, value)); | 6206 | | return ranges::next(range.begin(), | 6207 | | ranges::distance(crange.begin(), it)); | 6208 | | } | 6209 | | else { | 6210 | | SCN_EXPECT(false); | 6211 | | SCN_UNREACHABLE; | 6212 | | } | 6213 | 5.16k | } |
Unexecuted instantiation: scn::v3::scan_expected<char const*> scn::v3::impl::arg_reader<scn::v3::impl::basic_contiguous_scan_context<char> >::operator()<wchar_t>(wchar_t&) Unexecuted instantiation: scn::v3::scan_expected<char const*> scn::v3::impl::arg_reader<scn::v3::impl::basic_contiguous_scan_context<char> >::operator()<char32_t>(char32_t&) Unexecuted instantiation: scn::v3::scan_expected<char const*> scn::v3::impl::arg_reader<scn::v3::impl::basic_contiguous_scan_context<char> >::operator()<float>(float&) scn::v3::scan_expected<char const*> scn::v3::impl::arg_reader<scn::v3::impl::basic_contiguous_scan_context<char> >::operator()<double>(double&) Line | Count | Source | 6181 | 5.20k | { | 6182 | | if constexpr (!detail::is_type_disabled<T> && | 6183 | | std::is_same_v< | 6184 | | context_type, | 6185 | 5.20k | basic_contiguous_scan_context<char_type>>) { | 6186 | 5.20k | auto rd = make_reader<T, char_type>(); | 6187 | 5.20k | if (auto e = rd.check_specs(specs); SCN_UNLIKELY(!e)) { | 6188 | 4.63k | return unexpected(e); | 6189 | 4.63k | } | 6190 | | | 6191 | 568 | return impl(rd, range, value); | 6192 | | } | 6193 | | else if constexpr (!detail::is_type_disabled<T>) { | 6194 | | auto rd = make_reader<T, char_type>(); | 6195 | | if (auto e = rd.check_specs(specs); SCN_UNLIKELY(!e)) { | 6196 | | return unexpected(e); | 6197 | | } | 6198 | | | 6199 | | if (!is_segment_contiguous(range) || specs.precision != 0 || | 6200 | | specs.width != 0) { | 6201 | | return impl(rd, range, value); | 6202 | | } | 6203 | | | 6204 | | auto crange = get_as_contiguous(range); | 6205 | | SCN_TRY(it, impl(rd, crange, value)); | 6206 | | return ranges::next(range.begin(), | 6207 | | ranges::distance(crange.begin(), it)); | 6208 | | } | 6209 | | else { | 6210 | | SCN_EXPECT(false); | 6211 | | SCN_UNREACHABLE; | 6212 | | } | 6213 | 5.20k | } |
Unexecuted instantiation: scn::v3::scan_expected<char const*> scn::v3::impl::arg_reader<scn::v3::impl::basic_contiguous_scan_context<char> >::operator()<long double>(long double&) scn::v3::scan_expected<char const*> scn::v3::impl::arg_reader<scn::v3::impl::basic_contiguous_scan_context<char> >::operator()<std::__1::basic_string_view<char, std::__1::char_traits<char> > >(std::__1::basic_string_view<char, std::__1::char_traits<char> >&) Line | Count | Source | 6181 | 5.16k | { | 6182 | | if constexpr (!detail::is_type_disabled<T> && | 6183 | | std::is_same_v< | 6184 | | context_type, | 6185 | 5.16k | basic_contiguous_scan_context<char_type>>) { | 6186 | 5.16k | auto rd = make_reader<T, char_type>(); | 6187 | 5.16k | if (auto e = rd.check_specs(specs); SCN_UNLIKELY(!e)) { | 6188 | 124 | return unexpected(e); | 6189 | 124 | } | 6190 | | | 6191 | 5.03k | return impl(rd, range, value); | 6192 | | } | 6193 | | else if constexpr (!detail::is_type_disabled<T>) { | 6194 | | auto rd = make_reader<T, char_type>(); | 6195 | | if (auto e = rd.check_specs(specs); SCN_UNLIKELY(!e)) { | 6196 | | return unexpected(e); | 6197 | | } | 6198 | | | 6199 | | if (!is_segment_contiguous(range) || specs.precision != 0 || | 6200 | | specs.width != 0) { | 6201 | | return impl(rd, range, value); | 6202 | | } | 6203 | | | 6204 | | auto crange = get_as_contiguous(range); | 6205 | | SCN_TRY(it, impl(rd, crange, value)); | 6206 | | return ranges::next(range.begin(), | 6207 | | ranges::distance(crange.begin(), it)); | 6208 | | } | 6209 | | else { | 6210 | | SCN_EXPECT(false); | 6211 | | SCN_UNREACHABLE; | 6212 | | } | 6213 | 5.16k | } |
scn::v3::scan_expected<char const*> scn::v3::impl::arg_reader<scn::v3::impl::basic_contiguous_scan_context<char> >::operator()<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&) Line | Count | Source | 6181 | 5.16k | { | 6182 | | if constexpr (!detail::is_type_disabled<T> && | 6183 | | std::is_same_v< | 6184 | | context_type, | 6185 | 5.16k | basic_contiguous_scan_context<char_type>>) { | 6186 | 5.16k | auto rd = make_reader<T, char_type>(); | 6187 | 5.16k | if (auto e = rd.check_specs(specs); SCN_UNLIKELY(!e)) { | 6188 | 124 | return unexpected(e); | 6189 | 124 | } | 6190 | | | 6191 | 5.03k | return impl(rd, range, value); | 6192 | | } | 6193 | | else if constexpr (!detail::is_type_disabled<T>) { | 6194 | | auto rd = make_reader<T, char_type>(); | 6195 | | if (auto e = rd.check_specs(specs); SCN_UNLIKELY(!e)) { | 6196 | | return unexpected(e); | 6197 | | } | 6198 | | | 6199 | | if (!is_segment_contiguous(range) || specs.precision != 0 || | 6200 | | specs.width != 0) { | 6201 | | return impl(rd, range, value); | 6202 | | } | 6203 | | | 6204 | | auto crange = get_as_contiguous(range); | 6205 | | SCN_TRY(it, impl(rd, crange, value)); | 6206 | | return ranges::next(range.begin(), | 6207 | | ranges::distance(crange.begin(), it)); | 6208 | | } | 6209 | | else { | 6210 | | SCN_EXPECT(false); | 6211 | | SCN_UNREACHABLE; | 6212 | | } | 6213 | 5.16k | } |
Unexecuted instantiation: scn::v3::scan_expected<char const*> scn::v3::impl::arg_reader<scn::v3::impl::basic_contiguous_scan_context<char> >::operator()<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >(std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> >&) scn::v3::scan_expected<char const*> scn::v3::impl::arg_reader<scn::v3::impl::basic_contiguous_scan_context<char> >::operator()<std::__1::basic_string<wchar_t, std::__1::char_traits<wchar_t>, std::__1::allocator<wchar_t> > >(std::__1::basic_string<wchar_t, std::__1::char_traits<wchar_t>, std::__1::allocator<wchar_t> >&) Line | Count | Source | 6181 | 5.16k | { | 6182 | | if constexpr (!detail::is_type_disabled<T> && | 6183 | | std::is_same_v< | 6184 | | context_type, | 6185 | 5.16k | basic_contiguous_scan_context<char_type>>) { | 6186 | 5.16k | auto rd = make_reader<T, char_type>(); | 6187 | 5.16k | if (auto e = rd.check_specs(specs); SCN_UNLIKELY(!e)) { | 6188 | 124 | return unexpected(e); | 6189 | 124 | } | 6190 | | | 6191 | 5.03k | return impl(rd, range, value); | 6192 | | } | 6193 | | else if constexpr (!detail::is_type_disabled<T>) { | 6194 | | auto rd = make_reader<T, char_type>(); | 6195 | | if (auto e = rd.check_specs(specs); SCN_UNLIKELY(!e)) { | 6196 | | return unexpected(e); | 6197 | | } | 6198 | | | 6199 | | if (!is_segment_contiguous(range) || specs.precision != 0 || | 6200 | | specs.width != 0) { | 6201 | | return impl(rd, range, value); | 6202 | | } | 6203 | | | 6204 | | auto crange = get_as_contiguous(range); | 6205 | | SCN_TRY(it, impl(rd, crange, value)); | 6206 | | return ranges::next(range.begin(), | 6207 | | ranges::distance(crange.begin(), it)); | 6208 | | } | 6209 | | else { | 6210 | | SCN_EXPECT(false); | 6211 | | SCN_UNREACHABLE; | 6212 | | } | 6213 | 5.16k | } |
Unexecuted instantiation: scn::v3::scan_expected<char const*> scn::v3::impl::arg_reader<scn::v3::impl::basic_contiguous_scan_context<char> >::operator()<scn::v3::basic_regex_matches<char> >(scn::v3::basic_regex_matches<char>&) Unexecuted instantiation: scn::v3::scan_expected<char const*> scn::v3::impl::arg_reader<scn::v3::impl::basic_contiguous_scan_context<char> >::operator()<scn::v3::basic_regex_matches<wchar_t> >(scn::v3::basic_regex_matches<wchar_t>&) Unexecuted instantiation: scn::v3::scan_expected<char const*> scn::v3::impl::arg_reader<scn::v3::impl::basic_contiguous_scan_context<char> >::operator()<scn::v3::monostate>(scn::v3::monostate&) Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<char>::forward_iterator> scn::v3::impl::arg_reader<scn::v3::basic_scan_context<char> >::operator()<void*>(void*&) Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<char>::forward_iterator> scn::v3::impl::arg_reader<scn::v3::basic_scan_context<char> >::operator()<bool>(bool&) Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<char>::forward_iterator> scn::v3::impl::arg_reader<scn::v3::basic_scan_context<char> >::operator()<wchar_t>(wchar_t&) Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<char>::forward_iterator> scn::v3::impl::arg_reader<scn::v3::basic_scan_context<char> >::operator()<char32_t>(char32_t&) Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<char>::forward_iterator> scn::v3::impl::arg_reader<scn::v3::basic_scan_context<char> >::operator()<scn::v3::monostate>(scn::v3::monostate&) Unexecuted instantiation: scn::v3::scan_expected<wchar_t const*> scn::v3::impl::arg_reader<scn::v3::impl::basic_contiguous_scan_context<wchar_t> >::operator()<signed char>(signed char&) Unexecuted instantiation: scn::v3::scan_expected<wchar_t const*> scn::v3::impl::arg_reader<scn::v3::impl::basic_contiguous_scan_context<wchar_t> >::operator()<short>(short&) scn::v3::scan_expected<wchar_t const*> scn::v3::impl::arg_reader<scn::v3::impl::basic_contiguous_scan_context<wchar_t> >::operator()<int>(int&) Line | Count | Source | 6181 | 2.73k | { | 6182 | | if constexpr (!detail::is_type_disabled<T> && | 6183 | | std::is_same_v< | 6184 | | context_type, | 6185 | 2.73k | basic_contiguous_scan_context<char_type>>) { | 6186 | 2.73k | auto rd = make_reader<T, char_type>(); | 6187 | 2.73k | if (auto e = rd.check_specs(specs); SCN_UNLIKELY(!e)) { | 6188 | 2.27k | return unexpected(e); | 6189 | 2.27k | } | 6190 | | | 6191 | 462 | return impl(rd, range, value); | 6192 | | } | 6193 | | else if constexpr (!detail::is_type_disabled<T>) { | 6194 | | auto rd = make_reader<T, char_type>(); | 6195 | | if (auto e = rd.check_specs(specs); SCN_UNLIKELY(!e)) { | 6196 | | return unexpected(e); | 6197 | | } | 6198 | | | 6199 | | if (!is_segment_contiguous(range) || specs.precision != 0 || | 6200 | | specs.width != 0) { | 6201 | | return impl(rd, range, value); | 6202 | | } | 6203 | | | 6204 | | auto crange = get_as_contiguous(range); | 6205 | | SCN_TRY(it, impl(rd, crange, value)); | 6206 | | return ranges::next(range.begin(), | 6207 | | ranges::distance(crange.begin(), it)); | 6208 | | } | 6209 | | else { | 6210 | | SCN_EXPECT(false); | 6211 | | SCN_UNREACHABLE; | 6212 | | } | 6213 | 2.73k | } |
Unexecuted instantiation: scn::v3::scan_expected<wchar_t const*> scn::v3::impl::arg_reader<scn::v3::impl::basic_contiguous_scan_context<wchar_t> >::operator()<long>(long&) Unexecuted instantiation: scn::v3::scan_expected<wchar_t const*> scn::v3::impl::arg_reader<scn::v3::impl::basic_contiguous_scan_context<wchar_t> >::operator()<long long>(long long&) Unexecuted instantiation: scn::v3::scan_expected<wchar_t const*> scn::v3::impl::arg_reader<scn::v3::impl::basic_contiguous_scan_context<wchar_t> >::operator()<unsigned char>(unsigned char&) Unexecuted instantiation: scn::v3::scan_expected<wchar_t const*> scn::v3::impl::arg_reader<scn::v3::impl::basic_contiguous_scan_context<wchar_t> >::operator()<unsigned short>(unsigned short&) scn::v3::scan_expected<wchar_t const*> scn::v3::impl::arg_reader<scn::v3::impl::basic_contiguous_scan_context<wchar_t> >::operator()<unsigned int>(unsigned int&) Line | Count | Source | 6181 | 2.73k | { | 6182 | | if constexpr (!detail::is_type_disabled<T> && | 6183 | | std::is_same_v< | 6184 | | context_type, | 6185 | 2.73k | basic_contiguous_scan_context<char_type>>) { | 6186 | 2.73k | auto rd = make_reader<T, char_type>(); | 6187 | 2.73k | if (auto e = rd.check_specs(specs); SCN_UNLIKELY(!e)) { | 6188 | 2.27k | return unexpected(e); | 6189 | 2.27k | } | 6190 | | | 6191 | 462 | return impl(rd, range, value); | 6192 | | } | 6193 | | else if constexpr (!detail::is_type_disabled<T>) { | 6194 | | auto rd = make_reader<T, char_type>(); | 6195 | | if (auto e = rd.check_specs(specs); SCN_UNLIKELY(!e)) { | 6196 | | return unexpected(e); | 6197 | | } | 6198 | | | 6199 | | if (!is_segment_contiguous(range) || specs.precision != 0 || | 6200 | | specs.width != 0) { | 6201 | | return impl(rd, range, value); | 6202 | | } | 6203 | | | 6204 | | auto crange = get_as_contiguous(range); | 6205 | | SCN_TRY(it, impl(rd, crange, value)); | 6206 | | return ranges::next(range.begin(), | 6207 | | ranges::distance(crange.begin(), it)); | 6208 | | } | 6209 | | else { | 6210 | | SCN_EXPECT(false); | 6211 | | SCN_UNREACHABLE; | 6212 | | } | 6213 | 2.73k | } |
Unexecuted instantiation: scn::v3::scan_expected<wchar_t const*> scn::v3::impl::arg_reader<scn::v3::impl::basic_contiguous_scan_context<wchar_t> >::operator()<unsigned long>(unsigned long&) Unexecuted instantiation: scn::v3::scan_expected<wchar_t const*> scn::v3::impl::arg_reader<scn::v3::impl::basic_contiguous_scan_context<wchar_t> >::operator()<unsigned long long>(unsigned long long&) scn::v3::scan_expected<wchar_t const*> scn::v3::impl::arg_reader<scn::v3::impl::basic_contiguous_scan_context<wchar_t> >::operator()<void*>(void*&) Line | Count | Source | 6181 | 2.69k | { | 6182 | | if constexpr (!detail::is_type_disabled<T> && | 6183 | | std::is_same_v< | 6184 | | context_type, | 6185 | 2.69k | basic_contiguous_scan_context<char_type>>) { | 6186 | 2.69k | auto rd = make_reader<T, char_type>(); | 6187 | 2.69k | if (auto e = rd.check_specs(specs); SCN_UNLIKELY(!e)) { | 6188 | 2.29k | return unexpected(e); | 6189 | 2.29k | } | 6190 | | | 6191 | 394 | return impl(rd, range, value); | 6192 | | } | 6193 | | else if constexpr (!detail::is_type_disabled<T>) { | 6194 | | auto rd = make_reader<T, char_type>(); | 6195 | | if (auto e = rd.check_specs(specs); SCN_UNLIKELY(!e)) { | 6196 | | return unexpected(e); | 6197 | | } | 6198 | | | 6199 | | if (!is_segment_contiguous(range) || specs.precision != 0 || | 6200 | | specs.width != 0) { | 6201 | | return impl(rd, range, value); | 6202 | | } | 6203 | | | 6204 | | auto crange = get_as_contiguous(range); | 6205 | | SCN_TRY(it, impl(rd, crange, value)); | 6206 | | return ranges::next(range.begin(), | 6207 | | ranges::distance(crange.begin(), it)); | 6208 | | } | 6209 | | else { | 6210 | | SCN_EXPECT(false); | 6211 | | SCN_UNREACHABLE; | 6212 | | } | 6213 | 2.69k | } |
scn::v3::scan_expected<wchar_t const*> scn::v3::impl::arg_reader<scn::v3::impl::basic_contiguous_scan_context<wchar_t> >::operator()<bool>(bool&) Line | Count | Source | 6181 | 2.73k | { | 6182 | | if constexpr (!detail::is_type_disabled<T> && | 6183 | | std::is_same_v< | 6184 | | context_type, | 6185 | 2.73k | basic_contiguous_scan_context<char_type>>) { | 6186 | 2.73k | auto rd = make_reader<T, char_type>(); | 6187 | 2.73k | if (auto e = rd.check_specs(specs); SCN_UNLIKELY(!e)) { | 6188 | 2.19k | return unexpected(e); | 6189 | 2.19k | } | 6190 | | | 6191 | 544 | return impl(rd, range, value); | 6192 | | } | 6193 | | else if constexpr (!detail::is_type_disabled<T>) { | 6194 | | auto rd = make_reader<T, char_type>(); | 6195 | | if (auto e = rd.check_specs(specs); SCN_UNLIKELY(!e)) { | 6196 | | return unexpected(e); | 6197 | | } | 6198 | | | 6199 | | if (!is_segment_contiguous(range) || specs.precision != 0 || | 6200 | | specs.width != 0) { | 6201 | | return impl(rd, range, value); | 6202 | | } | 6203 | | | 6204 | | auto crange = get_as_contiguous(range); | 6205 | | SCN_TRY(it, impl(rd, crange, value)); | 6206 | | return ranges::next(range.begin(), | 6207 | | ranges::distance(crange.begin(), it)); | 6208 | | } | 6209 | | else { | 6210 | | SCN_EXPECT(false); | 6211 | | SCN_UNREACHABLE; | 6212 | | } | 6213 | 2.73k | } |
Unexecuted instantiation: scn::v3::scan_expected<wchar_t const*> scn::v3::impl::arg_reader<scn::v3::impl::basic_contiguous_scan_context<wchar_t> >::operator()<char>(char&) scn::v3::scan_expected<wchar_t const*> scn::v3::impl::arg_reader<scn::v3::impl::basic_contiguous_scan_context<wchar_t> >::operator()<wchar_t>(wchar_t&) Line | Count | Source | 6181 | 2.69k | { | 6182 | | if constexpr (!detail::is_type_disabled<T> && | 6183 | | std::is_same_v< | 6184 | | context_type, | 6185 | 2.69k | basic_contiguous_scan_context<char_type>>) { | 6186 | 2.69k | auto rd = make_reader<T, char_type>(); | 6187 | 2.69k | if (auto e = rd.check_specs(specs); SCN_UNLIKELY(!e)) { | 6188 | 2.26k | return unexpected(e); | 6189 | 2.26k | } | 6190 | | | 6191 | 428 | return impl(rd, range, value); | 6192 | | } | 6193 | | else if constexpr (!detail::is_type_disabled<T>) { | 6194 | | auto rd = make_reader<T, char_type>(); | 6195 | | if (auto e = rd.check_specs(specs); SCN_UNLIKELY(!e)) { | 6196 | | return unexpected(e); | 6197 | | } | 6198 | | | 6199 | | if (!is_segment_contiguous(range) || specs.precision != 0 || | 6200 | | specs.width != 0) { | 6201 | | return impl(rd, range, value); | 6202 | | } | 6203 | | | 6204 | | auto crange = get_as_contiguous(range); | 6205 | | SCN_TRY(it, impl(rd, crange, value)); | 6206 | | return ranges::next(range.begin(), | 6207 | | ranges::distance(crange.begin(), it)); | 6208 | | } | 6209 | | else { | 6210 | | SCN_EXPECT(false); | 6211 | | SCN_UNREACHABLE; | 6212 | | } | 6213 | 2.69k | } |
Unexecuted instantiation: scn::v3::scan_expected<wchar_t const*> scn::v3::impl::arg_reader<scn::v3::impl::basic_contiguous_scan_context<wchar_t> >::operator()<char32_t>(char32_t&) Unexecuted instantiation: scn::v3::scan_expected<wchar_t const*> scn::v3::impl::arg_reader<scn::v3::impl::basic_contiguous_scan_context<wchar_t> >::operator()<float>(float&) scn::v3::scan_expected<wchar_t const*> scn::v3::impl::arg_reader<scn::v3::impl::basic_contiguous_scan_context<wchar_t> >::operator()<double>(double&) Line | Count | Source | 6181 | 2.73k | { | 6182 | | if constexpr (!detail::is_type_disabled<T> && | 6183 | | std::is_same_v< | 6184 | | context_type, | 6185 | 2.73k | basic_contiguous_scan_context<char_type>>) { | 6186 | 2.73k | auto rd = make_reader<T, char_type>(); | 6187 | 2.73k | if (auto e = rd.check_specs(specs); SCN_UNLIKELY(!e)) { | 6188 | 2.29k | return unexpected(e); | 6189 | 2.29k | } | 6190 | | | 6191 | 436 | return impl(rd, range, value); | 6192 | | } | 6193 | | else if constexpr (!detail::is_type_disabled<T>) { | 6194 | | auto rd = make_reader<T, char_type>(); | 6195 | | if (auto e = rd.check_specs(specs); SCN_UNLIKELY(!e)) { | 6196 | | return unexpected(e); | 6197 | | } | 6198 | | | 6199 | | if (!is_segment_contiguous(range) || specs.precision != 0 || | 6200 | | specs.width != 0) { | 6201 | | return impl(rd, range, value); | 6202 | | } | 6203 | | | 6204 | | auto crange = get_as_contiguous(range); | 6205 | | SCN_TRY(it, impl(rd, crange, value)); | 6206 | | return ranges::next(range.begin(), | 6207 | | ranges::distance(crange.begin(), it)); | 6208 | | } | 6209 | | else { | 6210 | | SCN_EXPECT(false); | 6211 | | SCN_UNREACHABLE; | 6212 | | } | 6213 | 2.73k | } |
Unexecuted instantiation: scn::v3::scan_expected<wchar_t const*> scn::v3::impl::arg_reader<scn::v3::impl::basic_contiguous_scan_context<wchar_t> >::operator()<long double>(long double&) Unexecuted instantiation: scn::v3::scan_expected<wchar_t const*> scn::v3::impl::arg_reader<scn::v3::impl::basic_contiguous_scan_context<wchar_t> >::operator()<std::__1::basic_string_view<char, std::__1::char_traits<char> > >(std::__1::basic_string_view<char, std::__1::char_traits<char> >&) scn::v3::scan_expected<wchar_t const*> scn::v3::impl::arg_reader<scn::v3::impl::basic_contiguous_scan_context<wchar_t> >::operator()<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&) Line | Count | Source | 6181 | 2.69k | { | 6182 | | if constexpr (!detail::is_type_disabled<T> && | 6183 | | std::is_same_v< | 6184 | | context_type, | 6185 | 2.69k | basic_contiguous_scan_context<char_type>>) { | 6186 | 2.69k | auto rd = make_reader<T, char_type>(); | 6187 | 2.69k | if (auto e = rd.check_specs(specs); SCN_UNLIKELY(!e)) { | 6188 | 80 | return unexpected(e); | 6189 | 80 | } | 6190 | | | 6191 | 2.61k | return impl(rd, range, value); | 6192 | | } | 6193 | | else if constexpr (!detail::is_type_disabled<T>) { | 6194 | | auto rd = make_reader<T, char_type>(); | 6195 | | if (auto e = rd.check_specs(specs); SCN_UNLIKELY(!e)) { | 6196 | | return unexpected(e); | 6197 | | } | 6198 | | | 6199 | | if (!is_segment_contiguous(range) || specs.precision != 0 || | 6200 | | specs.width != 0) { | 6201 | | return impl(rd, range, value); | 6202 | | } | 6203 | | | 6204 | | auto crange = get_as_contiguous(range); | 6205 | | SCN_TRY(it, impl(rd, crange, value)); | 6206 | | return ranges::next(range.begin(), | 6207 | | ranges::distance(crange.begin(), it)); | 6208 | | } | 6209 | | else { | 6210 | | SCN_EXPECT(false); | 6211 | | SCN_UNREACHABLE; | 6212 | | } | 6213 | 2.69k | } |
scn::v3::scan_expected<wchar_t const*> scn::v3::impl::arg_reader<scn::v3::impl::basic_contiguous_scan_context<wchar_t> >::operator()<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >(std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> >&) Line | Count | Source | 6181 | 2.69k | { | 6182 | | if constexpr (!detail::is_type_disabled<T> && | 6183 | | std::is_same_v< | 6184 | | context_type, | 6185 | 2.69k | basic_contiguous_scan_context<char_type>>) { | 6186 | 2.69k | auto rd = make_reader<T, char_type>(); | 6187 | 2.69k | if (auto e = rd.check_specs(specs); SCN_UNLIKELY(!e)) { | 6188 | 80 | return unexpected(e); | 6189 | 80 | } | 6190 | | | 6191 | 2.61k | return impl(rd, range, value); | 6192 | | } | 6193 | | else if constexpr (!detail::is_type_disabled<T>) { | 6194 | | auto rd = make_reader<T, char_type>(); | 6195 | | if (auto e = rd.check_specs(specs); SCN_UNLIKELY(!e)) { | 6196 | | return unexpected(e); | 6197 | | } | 6198 | | | 6199 | | if (!is_segment_contiguous(range) || specs.precision != 0 || | 6200 | | specs.width != 0) { | 6201 | | return impl(rd, range, value); | 6202 | | } | 6203 | | | 6204 | | auto crange = get_as_contiguous(range); | 6205 | | SCN_TRY(it, impl(rd, crange, value)); | 6206 | | return ranges::next(range.begin(), | 6207 | | ranges::distance(crange.begin(), it)); | 6208 | | } | 6209 | | else { | 6210 | | SCN_EXPECT(false); | 6211 | | SCN_UNREACHABLE; | 6212 | | } | 6213 | 2.69k | } |
scn::v3::scan_expected<wchar_t const*> scn::v3::impl::arg_reader<scn::v3::impl::basic_contiguous_scan_context<wchar_t> >::operator()<std::__1::basic_string<wchar_t, std::__1::char_traits<wchar_t>, std::__1::allocator<wchar_t> > >(std::__1::basic_string<wchar_t, std::__1::char_traits<wchar_t>, std::__1::allocator<wchar_t> >&) Line | Count | Source | 6181 | 2.69k | { | 6182 | | if constexpr (!detail::is_type_disabled<T> && | 6183 | | std::is_same_v< | 6184 | | context_type, | 6185 | 2.69k | basic_contiguous_scan_context<char_type>>) { | 6186 | 2.69k | auto rd = make_reader<T, char_type>(); | 6187 | 2.69k | if (auto e = rd.check_specs(specs); SCN_UNLIKELY(!e)) { | 6188 | 80 | return unexpected(e); | 6189 | 80 | } | 6190 | | | 6191 | 2.61k | return impl(rd, range, value); | 6192 | | } | 6193 | | else if constexpr (!detail::is_type_disabled<T>) { | 6194 | | auto rd = make_reader<T, char_type>(); | 6195 | | if (auto e = rd.check_specs(specs); SCN_UNLIKELY(!e)) { | 6196 | | return unexpected(e); | 6197 | | } | 6198 | | | 6199 | | if (!is_segment_contiguous(range) || specs.precision != 0 || | 6200 | | specs.width != 0) { | 6201 | | return impl(rd, range, value); | 6202 | | } | 6203 | | | 6204 | | auto crange = get_as_contiguous(range); | 6205 | | SCN_TRY(it, impl(rd, crange, value)); | 6206 | | return ranges::next(range.begin(), | 6207 | | ranges::distance(crange.begin(), it)); | 6208 | | } | 6209 | | else { | 6210 | | SCN_EXPECT(false); | 6211 | | SCN_UNREACHABLE; | 6212 | | } | 6213 | 2.69k | } |
Unexecuted instantiation: scn::v3::scan_expected<wchar_t const*> scn::v3::impl::arg_reader<scn::v3::impl::basic_contiguous_scan_context<wchar_t> >::operator()<scn::v3::basic_regex_matches<char> >(scn::v3::basic_regex_matches<char>&) Unexecuted instantiation: scn::v3::scan_expected<wchar_t const*> scn::v3::impl::arg_reader<scn::v3::impl::basic_contiguous_scan_context<wchar_t> >::operator()<scn::v3::basic_regex_matches<wchar_t> >(scn::v3::basic_regex_matches<wchar_t>&) Unexecuted instantiation: scn::v3::scan_expected<wchar_t const*> scn::v3::impl::arg_reader<scn::v3::impl::basic_contiguous_scan_context<wchar_t> >::operator()<scn::v3::monostate>(scn::v3::monostate&) Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v3::impl::arg_reader<scn::v3::basic_scan_context<wchar_t> >::operator()<void*>(void*&) Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v3::impl::arg_reader<scn::v3::basic_scan_context<wchar_t> >::operator()<bool>(bool&) Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v3::impl::arg_reader<scn::v3::basic_scan_context<wchar_t> >::operator()<char>(char&) Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v3::impl::arg_reader<scn::v3::basic_scan_context<wchar_t> >::operator()<char32_t>(char32_t&) Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v3::impl::arg_reader<scn::v3::basic_scan_context<wchar_t> >::operator()<scn::v3::monostate>(scn::v3::monostate&) |
6214 | | |
6215 | | scan_expected<iterator> operator()(typename context_type::arg_type::handle) |
6216 | 0 | { |
6217 | 0 | SCN_EXPECT(false); |
6218 | 0 | SCN_UNREACHABLE; |
6219 | 0 | } Unexecuted instantiation: scn::v3::impl::arg_reader<scn::v3::impl::basic_contiguous_scan_context<char> >::operator()(scn::v3::basic_scan_arg<scn::v3::basic_scan_context<char> >::handle) Unexecuted instantiation: scn::v3::impl::arg_reader<scn::v3::basic_scan_context<char> >::operator()(scn::v3::basic_scan_arg<scn::v3::basic_scan_context<char> >::handle) Unexecuted instantiation: scn::v3::impl::arg_reader<scn::v3::impl::basic_contiguous_scan_context<wchar_t> >::operator()(scn::v3::basic_scan_arg<scn::v3::basic_scan_context<wchar_t> >::handle) Unexecuted instantiation: scn::v3::impl::arg_reader<scn::v3::basic_scan_context<wchar_t> >::operator()(scn::v3::basic_scan_arg<scn::v3::basic_scan_context<wchar_t> >::handle) |
6220 | | |
6221 | | range_type range; |
6222 | | const detail::format_specs& specs; |
6223 | | detail::locale_ref loc; |
6224 | | }; |
6225 | | |
6226 | | template <typename Context> |
6227 | | struct custom_reader { |
6228 | | using context_type = Context; |
6229 | | using char_type = typename context_type::char_type; |
6230 | | using parse_context_type = typename context_type::parse_context_type; |
6231 | | using iterator = typename context_type::iterator; |
6232 | | |
6233 | | template <typename T> |
6234 | | scan_expected<iterator> operator()(T&) const |
6235 | 0 | { |
6236 | 0 | SCN_EXPECT(false); |
6237 | 0 | SCN_UNREACHABLE; |
6238 | 0 | } Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<char>::forward_iterator> scn::v3::impl::custom_reader<scn::v3::basic_scan_context<char> >::operator()<signed char>(signed char&) const Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<char>::forward_iterator> scn::v3::impl::custom_reader<scn::v3::basic_scan_context<char> >::operator()<short>(short&) const Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<char>::forward_iterator> scn::v3::impl::custom_reader<scn::v3::basic_scan_context<char> >::operator()<int>(int&) const Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<char>::forward_iterator> scn::v3::impl::custom_reader<scn::v3::basic_scan_context<char> >::operator()<long>(long&) const Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<char>::forward_iterator> scn::v3::impl::custom_reader<scn::v3::basic_scan_context<char> >::operator()<long long>(long long&) const Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<char>::forward_iterator> scn::v3::impl::custom_reader<scn::v3::basic_scan_context<char> >::operator()<unsigned char>(unsigned char&) const Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<char>::forward_iterator> scn::v3::impl::custom_reader<scn::v3::basic_scan_context<char> >::operator()<unsigned short>(unsigned short&) const Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<char>::forward_iterator> scn::v3::impl::custom_reader<scn::v3::basic_scan_context<char> >::operator()<unsigned int>(unsigned int&) const Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<char>::forward_iterator> scn::v3::impl::custom_reader<scn::v3::basic_scan_context<char> >::operator()<unsigned long>(unsigned long&) const Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<char>::forward_iterator> scn::v3::impl::custom_reader<scn::v3::basic_scan_context<char> >::operator()<unsigned long long>(unsigned long long&) const Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<char>::forward_iterator> scn::v3::impl::custom_reader<scn::v3::basic_scan_context<char> >::operator()<void*>(void*&) const Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<char>::forward_iterator> scn::v3::impl::custom_reader<scn::v3::basic_scan_context<char> >::operator()<bool>(bool&) const Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<char>::forward_iterator> scn::v3::impl::custom_reader<scn::v3::basic_scan_context<char> >::operator()<char>(char&) const Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<char>::forward_iterator> scn::v3::impl::custom_reader<scn::v3::basic_scan_context<char> >::operator()<wchar_t>(wchar_t&) const Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<char>::forward_iterator> scn::v3::impl::custom_reader<scn::v3::basic_scan_context<char> >::operator()<char32_t>(char32_t&) const Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<char>::forward_iterator> scn::v3::impl::custom_reader<scn::v3::basic_scan_context<char> >::operator()<float>(float&) const Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<char>::forward_iterator> scn::v3::impl::custom_reader<scn::v3::basic_scan_context<char> >::operator()<double>(double&) const Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<char>::forward_iterator> scn::v3::impl::custom_reader<scn::v3::basic_scan_context<char> >::operator()<long double>(long double&) const Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<char>::forward_iterator> scn::v3::impl::custom_reader<scn::v3::basic_scan_context<char> >::operator()<std::__1::basic_string_view<char, std::__1::char_traits<char> > >(std::__1::basic_string_view<char, std::__1::char_traits<char> >&) const Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<char>::forward_iterator> scn::v3::impl::custom_reader<scn::v3::basic_scan_context<char> >::operator()<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&) const Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<char>::forward_iterator> scn::v3::impl::custom_reader<scn::v3::basic_scan_context<char> >::operator()<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >(std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> >&) const Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<char>::forward_iterator> scn::v3::impl::custom_reader<scn::v3::basic_scan_context<char> >::operator()<std::__1::basic_string<wchar_t, std::__1::char_traits<wchar_t>, std::__1::allocator<wchar_t> > >(std::__1::basic_string<wchar_t, std::__1::char_traits<wchar_t>, std::__1::allocator<wchar_t> >&) const Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<char>::forward_iterator> scn::v3::impl::custom_reader<scn::v3::basic_scan_context<char> >::operator()<scn::v3::basic_regex_matches<char> >(scn::v3::basic_regex_matches<char>&) const Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<char>::forward_iterator> scn::v3::impl::custom_reader<scn::v3::basic_scan_context<char> >::operator()<scn::v3::basic_regex_matches<wchar_t> >(scn::v3::basic_regex_matches<wchar_t>&) const Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<char>::forward_iterator> scn::v3::impl::custom_reader<scn::v3::basic_scan_context<char> >::operator()<scn::v3::monostate>(scn::v3::monostate&) const Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v3::impl::custom_reader<scn::v3::basic_scan_context<wchar_t> >::operator()<signed char>(signed char&) const Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v3::impl::custom_reader<scn::v3::basic_scan_context<wchar_t> >::operator()<short>(short&) const Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v3::impl::custom_reader<scn::v3::basic_scan_context<wchar_t> >::operator()<int>(int&) const Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v3::impl::custom_reader<scn::v3::basic_scan_context<wchar_t> >::operator()<long>(long&) const Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v3::impl::custom_reader<scn::v3::basic_scan_context<wchar_t> >::operator()<long long>(long long&) const Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v3::impl::custom_reader<scn::v3::basic_scan_context<wchar_t> >::operator()<unsigned char>(unsigned char&) const Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v3::impl::custom_reader<scn::v3::basic_scan_context<wchar_t> >::operator()<unsigned short>(unsigned short&) const Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v3::impl::custom_reader<scn::v3::basic_scan_context<wchar_t> >::operator()<unsigned int>(unsigned int&) const Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v3::impl::custom_reader<scn::v3::basic_scan_context<wchar_t> >::operator()<unsigned long>(unsigned long&) const Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v3::impl::custom_reader<scn::v3::basic_scan_context<wchar_t> >::operator()<unsigned long long>(unsigned long long&) const Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v3::impl::custom_reader<scn::v3::basic_scan_context<wchar_t> >::operator()<void*>(void*&) const Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v3::impl::custom_reader<scn::v3::basic_scan_context<wchar_t> >::operator()<bool>(bool&) const Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v3::impl::custom_reader<scn::v3::basic_scan_context<wchar_t> >::operator()<char>(char&) const Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v3::impl::custom_reader<scn::v3::basic_scan_context<wchar_t> >::operator()<wchar_t>(wchar_t&) const Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v3::impl::custom_reader<scn::v3::basic_scan_context<wchar_t> >::operator()<char32_t>(char32_t&) const Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v3::impl::custom_reader<scn::v3::basic_scan_context<wchar_t> >::operator()<float>(float&) const Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v3::impl::custom_reader<scn::v3::basic_scan_context<wchar_t> >::operator()<double>(double&) const Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v3::impl::custom_reader<scn::v3::basic_scan_context<wchar_t> >::operator()<long double>(long double&) const Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v3::impl::custom_reader<scn::v3::basic_scan_context<wchar_t> >::operator()<std::__1::basic_string_view<char, std::__1::char_traits<char> > >(std::__1::basic_string_view<char, std::__1::char_traits<char> >&) const Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v3::impl::custom_reader<scn::v3::basic_scan_context<wchar_t> >::operator()<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&) const Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v3::impl::custom_reader<scn::v3::basic_scan_context<wchar_t> >::operator()<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >(std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> >&) const Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v3::impl::custom_reader<scn::v3::basic_scan_context<wchar_t> >::operator()<std::__1::basic_string<wchar_t, std::__1::char_traits<wchar_t>, std::__1::allocator<wchar_t> > >(std::__1::basic_string<wchar_t, std::__1::char_traits<wchar_t>, std::__1::allocator<wchar_t> >&) const Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v3::impl::custom_reader<scn::v3::basic_scan_context<wchar_t> >::operator()<scn::v3::basic_regex_matches<char> >(scn::v3::basic_regex_matches<char>&) const Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v3::impl::custom_reader<scn::v3::basic_scan_context<wchar_t> >::operator()<scn::v3::basic_regex_matches<wchar_t> >(scn::v3::basic_regex_matches<wchar_t>&) const Unexecuted instantiation: scn::v3::scan_expected<scn::v3::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v3::impl::custom_reader<scn::v3::basic_scan_context<wchar_t> >::operator()<scn::v3::monostate>(scn::v3::monostate&) const |
6239 | | |
6240 | | scan_expected<iterator> operator()( |
6241 | | typename context_type::arg_type::handle h) const |
6242 | 0 | { |
6243 | 0 | if (auto e = h.scan(parse_ctx, ctx); !e) { |
6244 | 0 | return unexpected(e); |
6245 | 0 | } |
6246 | 0 | return {ctx.begin()}; |
6247 | 0 | } Unexecuted instantiation: scn::v3::impl::custom_reader<scn::v3::basic_scan_context<char> >::operator()(scn::v3::basic_scan_arg<scn::v3::basic_scan_context<char> >::handle) const Unexecuted instantiation: scn::v3::impl::custom_reader<scn::v3::basic_scan_context<wchar_t> >::operator()(scn::v3::basic_scan_arg<scn::v3::basic_scan_context<wchar_t> >::handle) const |
6248 | | |
6249 | | parse_context_type& parse_ctx; |
6250 | | context_type& ctx; |
6251 | | }; |
6252 | | } // namespace impl |
6253 | | |
6254 | | SCN_END_NAMESPACE |
6255 | | } // namespace scn |